AutoDetection should work
parent
778f34bab6
commit
8bf36e5915
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue