Land #2546, minor OS X persistence fixes

bug/bundler_fix
William Vu 2013-10-18 17:07:53 -05:00
commit b44f0f7e18
No known key found for this signature in database
GPG Key ID: E761DCB4C1629024
1 changed files with 4 additions and 5 deletions

View File

@ -7,8 +7,6 @@
require 'msf/core'
require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/exploit/exe'
require 'shellwords'
@ -32,12 +30,13 @@ class Metasploit3 < Msf::Exploit::Local
'Platform' => [ 'osx' ],
'Targets' => [ [ 'Mac OS X', {} ] ],
'DefaultTarget' => 0,
'SessionTypes' => [ 'shell', 'meterpreter' ]
'SessionTypes' => [ 'shell', 'meterpreter' ],
'DisclosureDate' => 'Apr 01 2012'
))
register_options([
OptString.new('BACKDOOR_PATH',
[true, 'Path to hide the backdoor on the target.',
OptString.new('BACKDOOR_PATH',
[true, 'Path to hide the backdoor on the target.',
'~/Library/.<random>/com.system.update']
),
OptBool.new('KEEPALIVE',