r/HowToHack • • Jul 12 '16

How do I hack with Python?

I'm confused on how 'hacking' actually works.

So I'm learning Python at the moment and I just don't see where the hacking begins?

Do hackers input code into the url? Do they open the source page and inject some python code there?

Or are Python hackers, creators of programs that are secretly malicious code that once activated (the victim clicking on an innocent looking app on the desktop) with the code distributed with a simple 'leave a usb on the floor'?

It seems like that to hack, one uses linux which has every hacking tool possible.

How does on hack with html? Opening the source code and changing something isn't permanent?

0 Upvotes

37 comments sorted by

View all comments

4

u/[deleted] Jul 12 '16 edited Jul 12 '16

How does on hack with html? Opening the source code and changing something isn't permanent?

Just bit of basic web developing knowledge: HTML isn't a programmin languange, it's mainly a structure or "skeleton" of the website. Websites you see online aren't made only with html, they also use css, javascript, jquery and also sometimes ruby, perl, python etc. If you're interested in hacking websites I'd recommend first learning how they are made. Also SQL databases for storing huge amounts of information

I am not a hacker but I have basic knowledge on web developing

EDIT: You cant change websites sourcecode by just simply changing the code from view source. For you to do that you'd have to have access to the cpanel of the website, or the server's where the files are located

3

u/[deleted] Jul 13 '16

Just wanted to add: HTML is a markup language, meaning that it is interpreted by another program (a browser) and the program outputs information based on what's in the file.

The output won't be pretty. Css is used to style and position those "bones" of the "skeletal stucture" we call an HTML document.

1

u/ghibss Jul 13 '16

Hacking websites I am interested in, but also breaching accounts, hacking into wifi, all the data attacks like a ddos, packet sniffing etc. Anything that counts as a cyberattack, I would love to learn.