Skip to content

Commit 8eb9266

Browse files
committed
Use the correct var
1 parent 58d5cf6 commit 8eb9266

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/http/scraper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def run_host(target_host)
5757
return
5858
end
5959

60-
result = res.body.scan(aregex).flatten.map{ |s| s.strip }.uniq
60+
result = res.body.scan(datastore['REGEX']).flatten.map{ |s| s.strip }.uniq
6161

6262
result.each do |u|
6363
print_status("[#{target_host}] #{tpath} [#{u}]")

0 commit comments

Comments
 (0)