What's this break stuff?

"break" should be "return"
unstable
sinn3r 2012-06-06 11:15:07 -05:00
parent a54b14b192
commit 28fe4c0be5
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ class Metasploit3 < Msf::Exploit::Remote
return true, sql, d
elsif (response =~ /RDS Server Error: The server has denied access to the default RDS Handler used to access this page. See the Server Administrator for more information about server security settings./)
print_error("Exploit failed: the server is patched")
break # we cannot continue - server refuses to accept RDS traffic from remote IPs. bail.
return # we cannot continue - server refuses to accept RDS traffic from remote IPs. bail.
elsif (response =~ /The Microsoft Jet database engine cannot find the input table or query \'(\w+)\'/)
vprint_error("Server is vulnerable but Microsoft Jet database cannot find table: #{$1}")
elsif (response =~ /isn't a valid path/ || response =~ /is not a valid path/ || response =~ /Could not find file/)