![]() |
|
[Python] Denial of Service with python - Networking & Socks proxy - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Python] Denial of Service with python - Networking & Socks proxy (/showthread.php?tid=5279947) |
Denial of Service with python - Networking & Socks proxy - Demure - May 23, 2016 I have found a memory leak in a C# emulator for a particular game and I've been able to crash small servers (4 / 8 GB total server memory). Basically how it works is;
I want to rewrite my small C# program in python to get better speeds and add socks proxy support. If possible, could someone give me some tips so I know what to look out for? Also please recommend libraries. I was looking at this library https://github.com/Anorov/PySocks but I don't know if there are any better libs available. Edit: I currently have this: http://pastebin.com/Rw6Nmxh9 It's not optimal yet but it works okay (useless running variable etc..) and add proxy support. Am I doing this right so far? * - SIM-1866423 - May 24, 2016 Also im not sure python bytearray equals right byte sizes. https://docs.python.org/2/library/ctypes.html <-- for C variables https://pypi.python.org/pypi/PySocks/1.5.7 <-- to set up proxy Also try something primitive, maybe like this(I did not test it) PHP Code |