Landing #7516, X11 print fixes

bug/bundler_fix
h00die 2016-11-01 19:50:05 -04:00
commit a924981369
No known key found for this signature in database
GPG Key ID: C5A9D25D1457C971
1 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ class MetasploitModule < Msf::Auxiliary
if(success == 1)
vendor_len = response[24,2].unpack('v')[0]
vendor = response[40,vendor_len].unpack('A*')[0]
print_status("#{ip} Open X Server (#{vendor})")
print_good("#{ip} Open X Server (#{vendor})")
# Add Report
report_note(
:host => ip,
@ -67,7 +67,7 @@ class MetasploitModule < Msf::Auxiliary
:data => "Open X Server (#{vendor})"
)
elsif (success == 0)
print_status("#{ip} Access Denied")
print_error("#{ip} Access Denied")
else
# X can return a reason for auth failure but we don't really care for this
end