Landing #7516, X11 print fixes
commit
a924981369
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue