Land #10925, smb_login error/status message

GSoC/Meterpreter_Web_Console
Chris Higgins 2018-11-14 13:19:04 -06:00
commit 4987f67b9b
No known key found for this signature in database
GPG Key ID: 2AFD4E81553BF115
1 changed files with 3 additions and 3 deletions

View File

@ -85,13 +85,13 @@ class MetasploitModule < Msf::Auxiliary
bogus_result = @scanner.attempt_bogus_login(domain)
if bogus_result.success?
if bogus_result.access_level == Metasploit::Framework::LoginScanner::SMB::AccessLevels::GUEST
print_status("This system allows guest sessions with any credentials")
print_status("This system allows guest sessions with random credentials")
else
print_error("This system accepts authentication with any credentials, brute force is ineffective.")
print_error("This system accepts authentication with random credentials, brute force is ineffective.")
return
end
else
vprint_status('This system does not accept authentication with any credentials, proceeding with brute force')
vprint_status('This system does not accept authentication with random credentials, proceeding with brute force')
end
end