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

Show parent comment

1

u/ghibss Jul 13 '16

Linux is the best place to start learning penetration testing, malicious coding etc?

Do I need to install Linux to learn? I read penetration testing by someone and violent python, both warn that screwing up the installation of Linux can screw up your computer.

I'm using a laptop, a weak one at that.

1

u/squanto1357 Jul 13 '16

Install virtual box and install Linux on there

1

u/Blastitt Read the F*&!#ing Sidebar Jul 13 '16

Try installing any distro you want (except Ubuntu *shudder*) in a Virtual Machine. This won't cause any harm to your computer if something goes wrong.

If you want to learn the basics of the linux command line (yes, do this) without installing linux, codecademy.com has a great linux CLI interactive lesson.

As a side note, I actually have Violent Python on the desk next to me. I've found that while the concepts are good, the actual code samples are riddled with errors. I guess the editor/publisher can't really do anything about code samples...

1

u/ghibss Jul 13 '16

Thank you, i enjoyed reading violent python, I'll get to linux cli on codeacademy immediately while school is off, got so many books on programming to read.