Browse Source

Extract Msf::Platform

MSP-11126
Luke Imhoff 5 years ago
parent
commit
e5cc456be7
No account linked to committer's email address
3 changed files with 2 additions and 1 deletions
  1. 1
    0
      lib/msf/core.rb
  2. 0
    1
      lib/msf/core/module.rb
  3. 1
    0
      lib/msf/core/platform.rb

+ 1
- 0
lib/msf/core.rb View File

@@ -19,6 +19,7 @@ require 'rex/ui'
19 19
 
20 20
 module Msf
21 21
   autoload :Author, 'msf/core/author'
22
+  autoload :Platform, 'msf/core/platform'
22 23
   autoload :Reference, 'msf/core/reference'
23 24
   autoload :SiteReference, 'msf/core/site_reference'
24 25
 

+ 0
- 1
lib/msf/core/module.rb View File

@@ -538,7 +538,6 @@ end
538 538
 # Alias the data types so people can reference them just by Msf:: and not
539 539
 # Msf::Module::
540 540
 #
541
-Platform = Msf::Module::Platform
542 541
 Target = Msf::Module::Target
543 542
 
544 543
 end

+ 1
- 0
lib/msf/core/platform.rb View File

@@ -0,0 +1 @@
1
+Msf::Platform = Msf::Module::Platform

Loading…
Cancel
Save