We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d96f54 commit 848227eCopy full SHA for 848227e
modules/auxiliary/scanner/sap/sap_icm_urlscan.rb
@@ -109,6 +109,7 @@ def check_url(url)
109
print_status("#{full_url} - restricted (#{res.code})")
110
when 401
111
print_status("#{full_url} - requires authentication (#{res.code}): #{res.headers['WWW-Authenticate']}")
112
+ @valid_urls << full_url << "\n"
113
# Attempt verb tampering bypass
114
bypass_auth(url)
115
when 404
@@ -153,7 +154,6 @@ def bypass_auth(url)
153
154
155
if (res && res.code == 200)
156
print_good("#{full_url} Got authentication bypass via HTTP verb tampering")
- @valid_urls << full_url << "\n"
157
else
158
vprint_status("#{rhost}:#{rport} Could not get authentication bypass via HTTP verb tampering")
159
end
0 commit comments