AutoDetection should work

bug/bundler_fix
jvazquez-r7 2014-02-07 20:47:16 -06:00 committed by Spencer McIntyre
parent 778f34bab6
commit 8bf36e5915
1 changed files with 1 additions and 5 deletions

View File

@ -121,11 +121,7 @@ class Metasploit3 < Msf::Exploit::Remote
def setup_stager
case target.opts['Platform']
when "linux" then opts = { :flavor => :bourne, :temp => './', :linemax => 2800 }
when "win" then opts = { :flavor => :vbs, :temp => '.', :linemax => 2800 }
end
execute_cmdstager(opts)
execute_cmdstager(:temp => './', :linemax => 2800)
end