Skip to content

Commit 1f5fbd4

Browse files
committed
Put remaining consts in exploit mixin...
1 parent 05afaa1 commit 1f5fbd4

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

lib/msf/core/exploit/mixins.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,6 @@
120120

121121
# Fortinet
122122
require 'msf/core/exploit/fortinet'
123+
124+
# Other
125+
require 'msf/core/exploit/windows_constants'

lib/msf/core/exploit/smb/client/psexec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module Msf
1717

1818
module Exploit::Remote::SMB::Client::Psexec
1919

20-
include Rex::Constants::Windows
20+
include Msf::Exploit::Windows_Constants
2121
include Msf::Exploit::Remote::DCERPC
2222
include Msf::Exploit::Remote::SMB::Client::Authenticated
2323

lib/rex/constants/windows.rb renamed to lib/msf/core/exploit/windows_constants.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
module Rex::Constants
2-
module Windows
1+
module Msf
2+
module Exploit::Windows_Constants
33

44
##
55
#

lib/rex/proto/dcerpc/svcctl/packet.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ module Proto::DCERPC::SVCCTL
99

1010
require 'windows_error'
1111
require 'windows_error/win32'
12-
require 'rex/constants/windows'
12+
require 'msf/core/exploit/windows_constants'
1313
NDR = Rex::Encoder::NDR
1414

1515

1616
class Client
1717

1818
include WindowsError::Win32
19-
include Rex::Constants::Windows
19+
include Msf::Exploit::Windows_Constants
2020

2121
attr_accessor :dcerpc_client
2222

0 commit comments

Comments
 (0)