@@ -80,7 +80,7 @@ def run_host(ip)
80
80
81
81
unless datastore [ 'RECORD_GUEST' ]
82
82
if accepts_guest_logins? ( domain )
83
- print_status ( "#{ ip } - This system allows guest sessions with any credentials, these instances will not be reported ." )
83
+ print_status ( "#{ ip } - This system allows guest sessions with any credentials, these instances will not be recorded ." )
84
84
end
85
85
end
86
86
@@ -197,15 +197,15 @@ def try_user_pass(domain, user, pass)
197
197
# Auth user indicates if the login was as a guest or not
198
198
if ( simple . client . auth_user )
199
199
print_good ( output_message % "SUCCESSFUL LOGIN" )
200
- vprint_status ( "Auth-User: #{ simple . client . auth_user } " )
201
200
validuser_case_sensitive? ( domain , user , pass )
202
201
report_creds ( domain , user , pass , true )
203
202
else
204
203
if datastore [ 'RECORD_GUEST' ]
205
204
print_status ( output_message % "GUEST LOGIN" )
206
- @accepts_guest_logins [ rhost ] = [ user , pass ]
207
205
report_creds ( domain , user , pass , true )
208
- end
206
+ elsif datastore [ 'VERBOSE' ]
207
+ print_status ( output_message % "GUEST LOGIN" )
208
+ end
209
209
end
210
210
when *@correct_credentials_status_codes
211
211
print_status ( output_message % "FAILED LOGIN, VALID CREDENTIALS" )
0 commit comments