When 'credentials' is empty, it is empty.......

unstable
sinn3r 2012-11-29 10:22:20 -06:00
parent b3a473aec0
commit b0e4931de8
1 changed files with 0 additions and 1 deletions

View File

@ -91,7 +91,6 @@ class Metasploit3 < Msf::Auxiliary
end
credentials = response.body.to_s.scan(/\d{10}(.*)\d{10}(.*)\d{10}/)
return [] if credentials.length == 0
return credentials
end