Skip to content

Commit e398025

Browse files
committed
I don't think what fails really matters.
1 parent 0720356 commit e398025

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

modules/auxiliary/scanner/couchdb/couchdb_login.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ def run_host(ip)
6262

6363
if [200, 301, 302].include?(res.code)
6464
vprint_good("#{rhost}:#{rport} - Successful login with '#{user}' : '#{pass}'")
65-
else
66-
vprint_error("#{rhost}:#{rport} - Failed login with '#{user}' : '#{pass}'")
6765
end
6866

6967
rescue ::Rex::ConnectionError
@@ -84,7 +82,6 @@ def do_login(user, pass)
8482
})
8583

8684
if res and res.code != 200
87-
vprint_error("#{rhost}:#{rport} - Failed login with. '#{user}' : '#{pass}' with code #{res.code}")
8885
return :skip_pass
8986
else
9087
vprint_good("#{rhost}:#{rport} - Successful login with. '#{user}' : '#{pass}'")

0 commit comments

Comments
 (0)