Skip to content

Commit d449052

Browse files
committed
Make <br /> tag optional
1 parent 45dce9f commit d449052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/http/bitweaver_overlay_type_traversal.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def run_host(ip)
7878

7979
elsif res and res.code == 200
8080
data = res.body
81-
data = data.scan(/(.+)\n.+Notice.+/m).flatten[0] || ''
81+
data = data.scan(/(.+)\n(<br \/>\n)*.+Notice/m).flatten[0] || ''
8282

8383
p = store_loot(
8484
'bitweaver.overlay_type',

0 commit comments

Comments
 (0)