Change Post Mixin for Linux platform in its own separate class
git-svn-id: file:///home/svn/framework3/trunk@12985 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
346018c321
commit
5d3bb04ac0
|
@ -2,7 +2,7 @@ require 'msf/core/post/common'
|
|||
|
||||
module Msf
|
||||
class Post
|
||||
|
||||
module Linux
|
||||
module Priv
|
||||
include ::Msf::Post::Common
|
||||
|
||||
|
@ -21,5 +21,6 @@ module Priv
|
|||
end
|
||||
|
||||
end # Priv
|
||||
end # Linux
|
||||
end # Post
|
||||
end # Msf
|
||||
|
|
|
@ -3,7 +3,7 @@ require 'msf/core/post/file'
|
|||
|
||||
module Msf
|
||||
class Post
|
||||
|
||||
module Linux
|
||||
module System
|
||||
include ::Msf::Post::Common
|
||||
include ::Msf::Post::File
|
||||
|
@ -148,5 +148,6 @@ module System
|
|||
|
||||
|
||||
end # System
|
||||
end #Linux
|
||||
end # Post
|
||||
end # Msf
|
||||
|
|
|
@ -19,8 +19,8 @@ class Metasploit3 < Msf::Post
|
|||
|
||||
include Msf::Post::Common
|
||||
include Msf::Post::File
|
||||
include Msf::Post::Priv
|
||||
include Msf::Post::System
|
||||
include Msf::Post::Linux::Priv
|
||||
include Msf::Post::Linux::System
|
||||
|
||||
|
||||
def initialize(info={})
|
||||
|
|
|
@ -19,7 +19,7 @@ class Metasploit3 < Msf::Post
|
|||
|
||||
include Msf::Post::Common
|
||||
include Msf::Post::File
|
||||
include Msf::Post::Priv
|
||||
include Msf::Post::Linux::Priv
|
||||
include Msf::Auxiliary::Report
|
||||
|
||||
def initialize(info={})
|
||||
|
|
|
@ -19,7 +19,7 @@ class Metasploit3 < Msf::Post
|
|||
|
||||
include Msf::Post::Common
|
||||
include Msf::Post::File
|
||||
include Msf::Post::System
|
||||
include Msf::Post::Linux::System
|
||||
include Msf::Auxiliary::Report
|
||||
|
||||
def initialize(info={})
|
||||
|
|
|
@ -18,7 +18,7 @@ class Metasploit3 < Msf::Post
|
|||
|
||||
include Msf::Post::Common
|
||||
include Msf::Post::File
|
||||
include Msf::Post::System
|
||||
include Msf::Post::Linux::System
|
||||
|
||||
|
||||
def initialize(info={})
|
||||
|
|
|
@ -19,7 +19,7 @@ class Metasploit3 < Msf::Post
|
|||
|
||||
include Msf::Post::Common
|
||||
include Msf::Post::File
|
||||
include Msf::Post::System
|
||||
include Msf::Post::Linux::System
|
||||
|
||||
def initialize(info={})
|
||||
super( update_info( info,
|
||||
|
|
|
@ -19,7 +19,7 @@ class Metasploit3 < Msf::Post
|
|||
|
||||
include Msf::Post::Common
|
||||
include Msf::Post::File
|
||||
include Msf::Post::Priv
|
||||
include Msf::Post::Linux::Priv
|
||||
|
||||
def initialize(info={})
|
||||
super( update_info( info,
|
||||
|
|
Loading…
Reference in New Issue