Browse Source

Put remaining consts in exploit mixin...

Pearce Barry 3 years ago
parent
commit
1f5fbd4a67
No account linked to committer's email address

+ 3
- 0
lib/msf/core/exploit/mixins.rb View File

@@ -120,3 +120,6 @@ require 'msf/core/exploit/kerberos/client'
120 120
 
121 121
 # Fortinet
122 122
 require 'msf/core/exploit/fortinet'
123
+
124
+# Other
125
+require 'msf/core/exploit/windows_constants'

+ 1
- 1
lib/msf/core/exploit/smb/client/psexec.rb View File

@@ -17,7 +17,7 @@ module Msf
17 17
 
18 18
 module Exploit::Remote::SMB::Client::Psexec
19 19
 
20
-  include Rex::Constants::Windows
20
+  include Msf::Exploit::Windows_Constants
21 21
   include Msf::Exploit::Remote::DCERPC
22 22
   include Msf::Exploit::Remote::SMB::Client::Authenticated
23 23
 

lib/rex/constants/windows.rb → lib/msf/core/exploit/windows_constants.rb View File

@@ -1,5 +1,5 @@
1
-module Rex::Constants
2
-module Windows
1
+module Msf
2
+module Exploit::Windows_Constants
3 3
 
4 4
   ##
5 5
   #

+ 2
- 2
lib/rex/proto/dcerpc/svcctl/packet.rb View File

@@ -9,14 +9,14 @@ module Proto::DCERPC::SVCCTL
9 9
 
10 10
   require 'windows_error'
11 11
   require 'windows_error/win32'
12
-  require 'rex/constants/windows'
12
+  require 'msf/core/exploit/windows_constants'
13 13
   NDR = Rex::Encoder::NDR
14 14
 
15 15
 
16 16
 class Client
17 17
 
18 18
   include WindowsError::Win32
19
-  include Rex::Constants::Windows
19
+  include Msf::Exploit::Windows_Constants
20 20
 
21 21
   attr_accessor :dcerpc_client
22 22
 

Loading…
Cancel
Save