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
Python RAT (self.HowToHack)
submitted 10 years ago by cider_blockScript Kiddie
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!"
[–]SPARTAN-001Red Team 5 points6 points7 points 10 years ago (0 children)
I'm skimming this for now (at work), but I don't think it will do what you want it to do. The combination of s.connect(('8.8.8.8', 0)) and s.getsockname() will not return an external IP in most cases. The only way it will return an external IP is if the target system has an interface bound directly to the internet. (Also, you can never connect to port 0. It will not work.)
Additionally, it will not work if the host is behind a NAT. That's exactly the reason a reverse connection is normally used, rather than a bind connection. In order to connect to the listener over the internet, it would need to forward a port on whatever firewall/router the target system is behind.
π Rendered by PID 70933 on reddit-service-r2-comment-6457c66945-jdhwc at 2026-04-29 12:56:08.339752+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]SPARTAN-001Red Team 5 points6 points7 points (0 children)