Permalink
Browse files

removed to_s which was for testing

  • Loading branch information...
1 parent 4b4c190 commit 445015a62cd9576c64de9d161714f767df76123b willis committed Jun 25, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 modules/auxiliary/scanner/http/interface_fingerprinter.rb
View
4 modules/auxiliary/scanner/http/interface_fingerprinter.rb
@@ -182,7 +182,7 @@ def acquire_response(login,fingerprint_page)
vprint_status("#{target_url}#{login} - Storing response")
# This is updates the login with the response. It's kind of ugly but
- # had to do it for ruby1.9.2 support
+ # had to do it for ruby1.9.3 support
@responses = @responses.merge({ login => res})
else
vprint_status("#{target_url}#{login} - Duplicate response, not storing.")
@@ -297,7 +297,7 @@ def login_response_actions(fp)
if @interface['creds'] and not datastore['NoDefault']
# First try the default credentials in the config file
@interface['creds'].each do |cred|
- do_login_basic(cred.to_s.split(":")[0],cred.split(":")[1])
+ do_login_basic(cred.split(":")[0],cred.split(":")[1])
end
end

0 comments on commit 445015a

Please sign in to comment.