Change Post Mixin for Linux platform in its own separate class

git-svn-id: file:///home/svn/framework3/trunk@12985 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Carlos Perez 2011-06-20 23:27:57 +00:00
parent 346018c321
commit 5d3bb04ac0
8 changed files with 11 additions and 9 deletions

View File

@ -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

View File

@ -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

View File

@ -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={})

View File

@ -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={})

View File

@ -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={})

View File

@ -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={})

View File

@ -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,

View File

@ -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,