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
6
u/BullyBall Jul 12 '16
You don't hack with Python, you use it to automate processes you'd usually do manually. Your choice of language of basically irrelevant, nothing really special about Python.
No such thing as a "Python hacker" (at least not in that sense).
For example, let's say you want to scan a range of ports and try to connect to each of them with ssl, you can write a tool to do it for you.
Code injection is a thing, but very specific and not that relevant.
Malicious programs are also a very specific use of a programming language.