Quick cleanup for sap_icm_urlscan
commit
a30d6b1f2d
|
@ -115,9 +115,9 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
when 404
|
when 404
|
||||||
# Do not return by default, only display in verbose mode
|
# Do not return by default, only display in verbose mode
|
||||||
vprint_status("#{full_url} - not found (#{res.code})")
|
vprint_status("#{full_url} - not found (#{res.code})")
|
||||||
when 400,500
|
when 400, 500
|
||||||
print_status("#{full_url} - produced a server error (#{res.code})")
|
print_status("#{full_url} - produced a server error (#{res.code})")
|
||||||
when 301, 302,
|
when 301, 302
|
||||||
print_good("#{full_url} - redirected (#{res.code}) to #{res.redirection} (not following)")
|
print_good("#{full_url} - redirected (#{res.code}) to #{res.redirection} (not following)")
|
||||||
@valid_urls << full_url << "\n"
|
@valid_urls << full_url << "\n"
|
||||||
when 307
|
when 307
|
||||||
|
|
Loading…
Reference in New Issue