Hack Forums
Need some help with a buffer overflow exploit - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Whitehat • Blue Team • Defensive Security (https://hackforums.net/forumdisplay.php?fid=448)
+---- Forum: Pentesting and Forensics (https://hackforums.net/forumdisplay.php?fid=231)
+---- Thread: Need some help with a buffer overflow exploit (/showthread.php?tid=6012205)



Need some help with a buffer overflow exploit - ernestmiller - Sep 29, 2019

I need some help creating an exploit for a buffer overflow.

Message me for the application or scripts source code.

The code is very simple its nothing complex at all im just a complete beginner in this aspect of pen testing


RE: Need some help with a buffer overflow exploit - Abducted - Sep 30, 2019

I guess I could help you with that.


RE: Need some help with a buffer overflow exploit - ernestmiller - Sep 30, 2019

Cool thanks bud mind if i send you the C code as well as the exploit im working on as well


RE: Need some help with a buffer overflow exploit - Abducted - Sep 30, 2019

(Sep 30, 2019 06:45 AM)ernestmiller Wrote:  Cool thanks bud mind if i send you the C code as well as the exploit im working on as well

Sure, go ahead.


RE: Need some help with a buffer overflow exploit - ernestmiller - Sep 30, 2019

im pretty sure i messaged you already with it, although its not in my sent messages have a check of your inbox

Dont worry I have now managed to compile the source code however if you would like to help me write a exploit for it id be grateful :)


RE: Need some help with a buffer overflow exploit - Abducted - Sep 30, 2019

(Sep 30, 2019 07:27 AM)ernestmiller Wrote:  im pretty sure i messaged you already with it, although its not in my sent messages have a check of your inbox

Dont worry I have now managed to compile the source code however if you would like to help me write a exploit for it id be grateful :)

Yeah sure go ahead.


RE: Need some help with a buffer overflow exploit - ernestmiller - Oct 1, 2019

I have managed to pop a calculator but cant seem to get my reverse shell to work from my kali vm

Done it everyone!!! First buffer overflow exploited with a reverse meterpreter payload!!! wooo hoo

Got damn it the exploit worked fine in Windows but on the Linux machine I get

root@kali:~/Desktop# proxychains python exploit.py
ProxyChains-3.1 (http://proxychains.sf.net)
|S-chain|-<>-127.0.0.1:1080-<><>-10.185.10.55:42424-<--denied
Traceback (most recent call last):
File "exploit.py", line 8, in <module>
s.connect((ServiceManagerIP, ServiceManagerPort))
File "/usr/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 111] Connection refused