Skip to content

Commit 790df96

Browse files
committed
Fix missed var
1 parent e051cf0 commit 790df96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/http/apache_mod_cgi_bash_env.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def run_host(ip)
5454
'agent' => user_agent
5555
)
5656

57-
return if (res && res.body.include?(agent))
57+
return if (res && res.body.include?(user_agent))
5858

5959
if res && res.body =~ /#{marker}(.+)#{marker}/m
6060
print_good("#{peer} - #{$1}")

0 commit comments

Comments
 (0)