From e324819feb405502a0982af5b8d520321ac46ad5 Mon Sep 17 00:00:00 2001 From: William Vu Date: Mon, 13 Apr 2015 15:22:49 -0500 Subject: [PATCH] Add Privileged to info hash Also remove default payload. Was set for CMD. --- modules/exploits/osx/local/rootpipe.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/exploits/osx/local/rootpipe.rb b/modules/exploits/osx/local/rootpipe.rb index 63b6aa3d91..87fb83b903 100644 --- a/modules/exploits/osx/local/rootpipe.rb +++ b/modules/exploits/osx/local/rootpipe.rb @@ -42,12 +42,12 @@ class Metasploit4 < Msf::Exploit::Local 'Platform' => 'osx', 'Arch' => ARCH_X86_64, 'SessionTypes' => ['shell'], + 'Privileged' => true, 'Targets' => [ ['Mac OS X 10.9-10.10.2', {}] ], 'DefaultTarget' => 0, 'DefaultOptions' => { - 'PAYLOAD' => 'osx/x64/shell_reverse_tcp', 'PrependSetreuid' => true } ))