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 3a271e7 commit 217d89fCopy full SHA for 217d89f
modules/auxiliary/scanner/http/barracuda_directory_traversal.rb
@@ -63,7 +63,12 @@ def run_host(ip)
63
'uri' => uri + payload,
64
}, 25)
65
66
- if (res and res.code == 200 and res.body)
+ if res.nil?
67
+ print_error("Connection timed out")
68
+ return
69
+ end
70
+
71
+ if (res.code == 200 and res.body)
72
if res.body.match(/\<html\>(.*)\<\/html\>/im)
73
html = $1
74
0 commit comments