diff --git a/modules/auxiliary/gather/eaton_nsm_creds.rb b/modules/auxiliary/gather/eaton_nsm_creds.rb index be63efde51..c5b0aea2ef 100644 --- a/modules/auxiliary/gather/eaton_nsm_creds.rb +++ b/modules/auxiliary/gather/eaton_nsm_creds.rb @@ -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