Skip to content

Commit

Permalink
Land #19491, Fix a crash in lib/msf/core/payload/php.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
cgranleese-r7 authored Sep 23, 2024
2 parents 73a6f09 + 1647d3a commit a27d491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/msf/core/payload/php.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def php_system_block(options = {})
"

exec_methods = [passthru, shell_exec, system, exec, proc_open, popen];
shuffle(exec_methods);
exec_methods = exec_methods.shuffle
buf = setup + exec_methods.join("") + fail_block

return buf
Expand Down

0 comments on commit a27d491

Please sign in to comment.