Skip to content

Commit 2176f0b

Browse files
author
jvazquez-r7
committed
Land rapid7#2303, @todb-r7's patch to avoid loading order issues on sudo_password_bypass
2 parents eba6762 + 7b93147 commit 2176f0b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/exploits/osx/local/sudo_password_bypass.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
#
66
# http://metasploit.com/
77
##
8+
require 'msf/core'
9+
require 'rex'
10+
require 'msf/core/post/common'
11+
require 'msf/core/post/file'
12+
require 'msf/core/exploit/exe'
813
require 'shellwords'
914

1015
class Metasploit3 < Msf::Exploit::Local

0 commit comments

Comments
 (0)