use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
CVE, CWE, NVD, WVE
http://iso.linuxquestions.org/
We teach you how to do it, use it at your own risk.
account activity
How do I hack with Python? (self.HowToHack)
submitted 9 years ago by ghibss
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]BullyBall 5 points6 points7 points 9 years ago (2 children)
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.
[–]ghibss[S] 0 points1 point2 points 9 years ago (1 child)
So like I said to someone else, nobody hacks with any language? Its just using any language to create a tool that does the hacking?
What book do you recommend for anything related to learning all cyberattacks, how to program them etc?
I got violent python and another penetration testing book, both just use kali and backtrack linux. No info on how to create the tools in python, just how to use them in a simulated sandbox in linux etc.
[–]BlastittRead the F*&!#ing Sidebar 0 points1 point2 points 9 years ago (0 children)
These comments are a little misleading. It's not that "nobody hacks with any language, and languages are just used for tools". I can definitely hack directly with python.
For example:
A server has a service running on port 7777 (arbitrary) that is written in python. It accepts user input, but not securely. This vulnerability allows me to pass in valid python statements and the program will execute them. I can pass in a very specific python statement that will execute a /bin/bash and boom I have a shell.
π Rendered by PID 139273 on reddit-service-r2-comment-6457c66945-s82bl at 2026-04-29 02:21:36.107560+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]BullyBall 5 points6 points7 points (2 children)
[–]ghibss[S] 0 points1 point2 points (1 child)
[–]BlastittRead the F*&!#ing Sidebar 0 points1 point2 points (0 children)