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 217d89f commit 32a190fCopy full SHA for 32a190f
modules/auxiliary/scanner/http/dir_webdav_unicode_bypass.rb
@@ -164,7 +164,7 @@ def run_host(ip)
164
'data' => webdav_req + "\r\n\r\n",
165
}, 20)
166
167
- if (res.code.to_i == 207)
+ if (res and res.code.to_i == 207)
168
print_status("\tFound vulnerable WebDAV Unicode bypass target #{wmap_base_url}#{tpath}%c0%af#{testfdir} #{res.code} (#{wmap_target_host})")
169
170
# Unable to use report_web_vuln as method is PROPFIND and is not part of allowed
0 commit comments