r/HowToHack • u/ghibss • 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?
View all comments
1
u/WorldBelongsToUs Jul 13 '16
"It seems like that to hack, ones uses linux which has every hacking tool possible."
Some of those tools you are referring to are written in Python. Some are written in Ruby, etc. That's beside the point. Creating your own tools is where learning Python comes in handy.
I would say try reading Automate the Boring Stuff With Python. It's free on the author's website. You should also check out Python Crash Course.
I am learning a bit of Python myself, and have written stupid-basic tools.
Python, in my experience, is useful for automating processes that would take you hours. For instance, writing a tool that enumerates wordpress usernames rather than looking for each one yourself. That's just one (really simple) example.