re-enable randomization of basic blocks in php shells

git-svn-id: file:///home/svn/framework3/trunk@5647 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2008-09-01 04:43:07 +00:00
parent 98632ac069
commit 0c2f8537a1
1 changed files with 4 additions and 5 deletions

View File

@ -100,8 +100,7 @@ module Msf::Payload::Php
}
"
#exec_methods = [shell_exec, passthru, system, exec, proc_open, popen].sort_by { rand }
exec_methods = [passthru, shell_exec, system, exec, proc_open, popen]#.sort_by { rand }
exec_methods = [passthru, shell_exec, system, exec, proc_open, popen].sort_by { rand }
buf = setup + exec_methods.join("") + fail_block
#buf = Rex::Text.compress(buf)