Skip to content

Commit

Permalink
When 'credentials' is empty, it is empty.......
Browse files Browse the repository at this point in the history
  • Loading branch information
sinn3r committed Nov 29, 2012
1 parent b3a473a commit b0e4931
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/auxiliary/gather/eaton_nsm_creds.rb
Expand Up @@ -91,7 +91,6 @@ def read_credentials
end

credentials = response.body.to_s.scan(/\d{10}(.*)\d{10}(.*)\d{10}/)
return [] if credentials.length == 0
return credentials
end

Expand Down

0 comments on commit b0e4931

Please sign in to comment.