Fix load order in posts, hopefully forever

bug/bundler_fix
James Lee 2013-08-29 13:37:50 -05:00
parent eba6762977
commit 63adde2429
116 changed files with 67 additions and 453 deletions

View File

@ -1,9 +1,5 @@
# -*- coding: binary -*- # -*- coding: binary -*-
require 'msf/core/post_mixin'
module Msf
class Exploit
### ###
# #
@ -13,8 +9,9 @@ class Exploit
# network communication. # network communication.
# #
### ###
class Local < Exploit class Msf::Exploit::Local < Msf::Exploit
include PostMixin require 'msf/core/post_mixin'
include Msf::PostMixin
# #
# Returns the fact that this exploit is a local exploit. # Returns the fact that this exploit is a local exploit.
@ -23,6 +20,3 @@ class Local < Exploit
Exploit::Type::Local Exploit::Type::Local
end end
end end
end
end

View File

@ -1,15 +1,22 @@
# -*- coding: binary -*- # -*- coding: binary -*-
require 'msf/core/post_mixin'
module Msf
# #
# A Post-exploitation module # A Post-exploitation module
# #
# class Msf::Post < Msf::Module
class Post < Msf::Module
include PostMixin require 'msf/core/post/common'
require 'msf/core/post_mixin'
require 'msf/core/post/file'
require 'msf/core/post/linux'
require 'msf/core/post/osx'
require 'msf/core/post/solaris'
require 'msf/core/post/unix'
require 'msf/core/post/windows'
include Msf::PostMixin
def setup; end def setup; end
@ -39,6 +46,3 @@ class Post < Msf::Module
mod mod
end end
end end
end

View File

@ -1,12 +1,6 @@
# -*- coding: binary -*- # -*- coding: binary -*-
require 'msf/core/post/file' module Msf::Post::Common
module Msf
class Post
module Common
# #
# Checks if the remote system has a process with ID +pid+ # Checks if the remote system has a process with ID +pid+
@ -121,5 +115,3 @@ module Common
end end
end end
end
end

View File

@ -0,0 +1,4 @@
module Msf::Post::Linux
require 'msf/core/post/linux/priv'
require 'msf/core/post/linux/system'
end

5
lib/msf/core/post/osx.rb Normal file
View File

@ -0,0 +1,5 @@
module Msf::Post::OSX
require 'msf/core/post/osx/system'
require 'msf/core/post/osx/ruby_dl'
end

View File

@ -1,11 +1,6 @@
# -*- coding: binary -*- # -*- coding: binary -*-
require 'msf/core/post/common'
require 'msf/core/post/file'
module Msf module Msf::Post::OSX::System
class Post
module OSX
module System
include ::Msf::Post::Common include ::Msf::Post::Common
include ::Msf::Post::File include ::Msf::Post::File
@ -108,7 +103,4 @@ module System
end end
return groups return groups
end end
end # System end
end # OSX
end # Post
end # Msf

View File

@ -0,0 +1,4 @@
module Msf::Post::Solaris
require 'msf/core/post/solaris/priv'
require 'msf/core/post/solaris/system'
end

View File

@ -1,8 +1,6 @@
# -*- coding: binary -*- # -*- coding: binary -*-
module Msf module Msf::Post::Unix
class Post
module Unix
# #
# Returns an array of hashes each representing a user # Returns an array of hashes each representing a user
@ -83,6 +81,3 @@ module Unix
end end
end end
end
end

View File

@ -0,0 +1,14 @@
module Msf::Post::Windows
require 'msf/core/post/windows/accounts'
require 'msf/core/post/windows/cli_parse'
require 'msf/core/post/windows/file_info'
require 'msf/core/post/windows/powershell'
require 'msf/core/post/windows/priv'
require 'msf/core/post/windows/process'
require 'msf/core/post/windows/railgun'
require 'msf/core/post/windows/registry'
require 'msf/core/post/windows/services'
require 'msf/core/post/windows/shadowcopy'
require 'msf/core/post/windows/user_profiles'
end

View File

@ -2,12 +2,7 @@
require 'msf/core/post/windows/accounts' require 'msf/core/post/windows/accounts'
module Msf module Msf::Post::Windows::Priv
class Post
module Windows
module Priv
include ::Msf::Post::Windows::Accounts include ::Msf::Post::Windows::Accounts
# #
@ -90,7 +85,3 @@ module Priv
end end
end end
end
end
end

View File

@ -2,16 +2,15 @@
require 'msf/core' require 'msf/core'
require 'msf/core/module' require 'msf/core/module'
module Msf
# #
# A mixin used for providing Modules with post-exploitation options and helper methods # A mixin used for providing Modules with post-exploitation options and helper methods
# #
module PostMixin module Msf::PostMixin
include Msf::Auxiliary::Report include Msf::Auxiliary::Report
include Msf::Module::HasActions include Msf::Module::HasActions
include Msf::Post::Common
def initialize(info={}) def initialize(info={})
super super
@ -217,5 +216,3 @@ protected
end end
end end
end end
end

View File

@ -6,13 +6,11 @@
## ##
require 'msf/core' require 'msf/core'
require 'msf/core/post/common'
class Metasploit4 < Msf::Exploit::Local class Metasploit4 < Msf::Exploit::Local
Rank = GreatRanking Rank = GreatRanking
include Msf::Exploit::EXE include Msf::Exploit::EXE
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Exploit::FileDropper include Msf::Exploit::FileDropper

View File

@ -7,7 +7,6 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/exploit/local/linux' require 'msf/core/exploit/local/linux'
require 'msf/core/exploit/exe' require 'msf/core/exploit/exe'
@ -15,7 +14,6 @@ class Metasploit4 < Msf::Exploit::Local
include Msf::Exploit::EXE include Msf::Exploit::EXE
include Msf::Post::File include Msf::Post::File
include Msf::Post::Common
include Msf::Exploit::Local::Linux include Msf::Exploit::Local::Linux

View File

@ -7,7 +7,6 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/exploit/local/linux' require 'msf/core/exploit/local/linux'
require 'msf/core/exploit/exe' require 'msf/core/exploit/exe'
@ -15,7 +14,6 @@ class Metasploit4 < Msf::Exploit::Local
include Msf::Exploit::EXE include Msf::Exploit::EXE
include Msf::Post::File include Msf::Post::File
include Msf::Post::Common
include Msf::Exploit::FileDropper include Msf::Exploit::FileDropper
include Msf::Exploit::Local::Linux include Msf::Exploit::Local::Linux

View File

@ -7,9 +7,6 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/post/linux/priv'
require 'msf/core/exploit/local/linux_kernel' require 'msf/core/exploit/local/linux_kernel'
require 'msf/core/exploit/local/linux' require 'msf/core/exploit/local/linux'
require 'msf/core/exploit/local/unix' require 'msf/core/exploit/local/unix'
@ -25,7 +22,6 @@ class Metasploit4 < Msf::Exploit::Local
include Msf::Exploit::EXE include Msf::Exploit::EXE
include Msf::Post::File include Msf::Post::File
include Msf::Post::Common
include Msf::Exploit::Local::LinuxKernel include Msf::Exploit::Local::LinuxKernel
include Msf::Exploit::Local::Linux include Msf::Exploit::Local::Linux

View File

@ -7,9 +7,6 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/post/linux/priv'
require 'msf/core/exploit/local/linux_kernel' require 'msf/core/exploit/local/linux_kernel'
require 'msf/core/exploit/local/linux' require 'msf/core/exploit/local/linux'
require 'msf/core/exploit/local/unix' require 'msf/core/exploit/local/unix'
@ -25,7 +22,6 @@ class Metasploit4 < Msf::Exploit::Local
include Msf::Exploit::EXE include Msf::Exploit::EXE
include Msf::Post::File include Msf::Post::File
include Msf::Post::Common
include Msf::Exploit::Local::Linux include Msf::Exploit::Local::Linux
include Msf::Exploit::Local::Unix include Msf::Exploit::Local::Unix

View File

@ -7,13 +7,10 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
class Metasploit4 < Msf::Exploit::Local class Metasploit4 < Msf::Exploit::Local
include Msf::Exploit::EXE include Msf::Exploit::EXE
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
def initialize(info={}) def initialize(info={})

View File

@ -7,9 +7,6 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/post/linux/priv'
require 'msf/core/exploit/exe' require 'msf/core/exploit/exe'
@ -18,7 +15,6 @@ class Metasploit4 < Msf::Exploit::Local
include Msf::Exploit::EXE include Msf::Exploit::EXE
include Msf::Post::File include Msf::Post::File
include Msf::Post::Common
def initialize(info={}) def initialize(info={})
super( update_info( info, { super( update_info( info, {

View File

@ -7,8 +7,6 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/exploit/exe' require 'msf/core/exploit/exe'
class Metasploit4 < Msf::Exploit::Local class Metasploit4 < Msf::Exploit::Local
@ -16,7 +14,6 @@ class Metasploit4 < Msf::Exploit::Local
include Msf::Exploit::EXE include Msf::Exploit::EXE
include Msf::Post::File include Msf::Post::File
include Msf::Post::Common
def initialize(info={}) def initialize(info={})
super( update_info( info, { super( update_info( info, {

View File

@ -7,8 +7,6 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/exploit/exe' require 'msf/core/exploit/exe'
class Metasploit4 < Msf::Exploit::Local class Metasploit4 < Msf::Exploit::Local
@ -16,7 +14,6 @@ class Metasploit4 < Msf::Exploit::Local
include Msf::Exploit::EXE include Msf::Exploit::EXE
include Msf::Post::File include Msf::Post::File
include Msf::Post::Common
def initialize(info={}) def initialize(info={})
super( update_info( info, { super( update_info( info, {

View File

@ -14,7 +14,6 @@ class Metasploit3 < Msf::Exploit::Local
# it at his own risk # it at his own risk
Rank = NormalRanking Rank = NormalRanking
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Exploit::EXE include Msf::Exploit::EXE
include Msf::Exploit::FileDropper include Msf::Exploit::FileDropper

View File

@ -7,9 +7,6 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/post/linux/priv'
require 'msf/core/exploit/exe' require 'msf/core/exploit/exe'
@ -18,7 +15,6 @@ class Metasploit4 < Msf::Exploit::Local
include Msf::Exploit::EXE include Msf::Exploit::EXE
include Msf::Post::File include Msf::Post::File
include Msf::Post::Common
def initialize(info={}) def initialize(info={})
super( update_info( info, { super( update_info( info, {

View File

@ -7,15 +7,11 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/windows/registry'
require 'msf/core/post/common'
require 'msf/core/post/file'
class Metasploit3 < Msf::Exploit::Local class Metasploit3 < Msf::Exploit::Local
Rank = GreatRanking Rank = GreatRanking
include Msf::Exploit::EXE include Msf::Exploit::EXE
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Post::Windows::Registry include Msf::Post::Windows::Registry

View File

@ -7,15 +7,11 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/windows/registry'
require 'msf/core/post/common'
require 'msf/core/post/file'
class Metasploit3 < Msf::Exploit::Local class Metasploit3 < Msf::Exploit::Local
Rank = AverageRanking Rank = AverageRanking
include Msf::Exploit::EXE include Msf::Exploit::EXE
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Post::Windows::Registry include Msf::Post::Windows::Registry
include Msf::Exploit::FileDropper include Msf::Exploit::FileDropper

View File

@ -6,14 +6,11 @@
## ##
require 'msf/core' require 'msf/core'
require 'msf/core/post/common'
require 'msf/core/exploit/exe' require 'msf/core/exploit/exe'
require 'msf/core/post/file'
class Metasploit3 < Msf::Exploit::Local class Metasploit3 < Msf::Exploit::Local
Rank = ExcellentRanking Rank = ExcellentRanking
include Post::Common
include Exploit::EXE include Exploit::EXE
include Post::File include Post::File

View File

@ -6,16 +6,13 @@
## ##
require 'msf/core' require 'msf/core'
require 'msf/core/post/common'
require 'msf/core/exploit/exe' require 'msf/core/exploit/exe'
require 'msf/core/post/file'
class Metasploit3 < Msf::Exploit::Local class Metasploit3 < Msf::Exploit::Local
Rank = ExcellentRanking Rank = ExcellentRanking
include Post::Common
include Exploit::EXE include Exploit::EXE
include Post::File include Msf::Post::File
def initialize(info={}) def initialize(info={})
super( update_info( info, super( update_info( info,

View File

@ -7,15 +7,11 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/windows/services'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/exploit/exe' require 'msf/core/exploit/exe'
class Metasploit3 < Msf::Exploit::Local class Metasploit3 < Msf::Exploit::Local
Rank = ExcellentRanking Rank = ExcellentRanking
include Post::Common
include Post::Windows::Services include Post::Windows::Services
include Exploit::EXE include Exploit::EXE
include Post::File include Post::File

View File

@ -6,18 +6,14 @@
## ##
require 'msf/core' require 'msf/core'
require 'msf/core/post/common'
require 'rex' require 'rex'
require 'zlib' require 'zlib'
require 'msf/core/exploit/exe' require 'msf/core/exploit/exe'
require 'msf/core/post/file'
class Metasploit3 < Msf::Exploit::Local class Metasploit3 < Msf::Exploit::Local
Rank = ExcellentRanking Rank = ExcellentRanking
include Msf::Exploit::EXE include Msf::Exploit::EXE
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
def initialize(info={}) def initialize(info={})

View File

@ -7,8 +7,6 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/windows/priv'
class Metasploit3 < Msf::Exploit::Local class Metasploit3 < Msf::Exploit::Local
Rank = AverageRanking Rank = AverageRanking
@ -17,7 +15,6 @@ class Metasploit3 < Msf::Exploit::Local
# the system process that it was injected into to die then it's also # the system process that it was injected into to die then it's also
# possible that the system may become unstable. # possible that the system may become unstable.
include Msf::Post::Common
include Msf::Post::Windows::Priv include Msf::Post::Windows::Priv
def initialize(info={}) def initialize(info={})

View File

@ -7,14 +7,12 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/windows/priv' require 'msf/core/post/windows/priv'
require 'msf/core/post/windows/process' require 'msf/core/post/windows/process'
class Metasploit3 < Msf::Exploit::Local class Metasploit3 < Msf::Exploit::Local
Rank = AverageRanking Rank = AverageRanking
include Msf::Post::Common
include Msf::Post::Windows::Priv include Msf::Post::Windows::Priv
include Msf::Post::Windows::Process include Msf::Post::Windows::Process

View File

@ -7,14 +7,10 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/windows/priv'
require 'msf/core/post/windows/process'
class Metasploit3 < Msf::Exploit::Local class Metasploit3 < Msf::Exploit::Local
Rank = AverageRanking Rank = AverageRanking
include Msf::Post::Common
include Msf::Post::Windows::Priv include Msf::Post::Windows::Priv
include Msf::Post::Windows::Process include Msf::Post::Windows::Process
@ -383,4 +379,4 @@ end
.text:00055148 mov [ebp+ms_exc.registration.TryLevel], eax .text:00055148 mov [ebp+ms_exc.registration.TryLevel], eax
.text:0005514B mov dword ptr [ecx], 9 // Corruption .text:0005514B mov dword ptr [ecx], 9 // Corruption
=end =end

View File

@ -7,16 +7,11 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/post/windows/priv'
require 'msf/core/post/windows/registry'
require 'msf/core/exploit/exe' require 'msf/core/exploit/exe'
class Metasploit3 < Msf::Exploit::Local class Metasploit3 < Msf::Exploit::Local
Rank = ExcellentRanking Rank = ExcellentRanking
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Post::Windows::Priv include Msf::Post::Windows::Priv
include Msf::Post::Windows::Registry include Msf::Post::Windows::Registry

View File

@ -7,15 +7,11 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/post/windows/priv'
require 'msf/core/exploit/exe' require 'msf/core/exploit/exe'
class Metasploit3 < Msf::Exploit::Local class Metasploit3 < Msf::Exploit::Local
Rank = ExcellentRanking Rank = ExcellentRanking
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Post::Windows::Priv include Msf::Post::Windows::Priv
include Exploit::EXE include Exploit::EXE

View File

@ -6,18 +6,14 @@
## ##
require 'msf/core' require 'msf/core'
require 'msf/core/post/common'
require 'msf/core/post/windows/services'
require 'msf/core/exploit/exe' require 'msf/core/exploit/exe'
require 'msf/core/post/file'
class Metasploit3 < Msf::Exploit::Local class Metasploit3 < Msf::Exploit::Local
Rank = ExcellentRanking Rank = ExcellentRanking
include Msf::Exploit::EXE include Msf::Exploit::EXE
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Post::Windows::Services include Msf::Post::Windows::Services
def initialize(info={}) def initialize(info={})
super( update_info( info, super( update_info( info,

View File

@ -7,14 +7,9 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/post/linux/priv'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Post::Linux::Priv include Msf::Post::Linux::Priv

View File

@ -7,14 +7,9 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/post/linux/priv'
require 'msf/core/post/linux/system'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Post::Linux::Priv include Msf::Post::Linux::Priv
include Msf::Post::Linux::System include Msf::Post::Linux::System

View File

@ -7,14 +7,10 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/post/unix'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::File include Msf::Post::File
include Msf::Post::Common
include Msf::Post::Unix include Msf::Post::Unix
def initialize(info={}) def initialize(info={})

View File

@ -6,16 +6,9 @@
## ##
require 'msf/core' require 'msf/core'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/post/linux/system'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File
include Msf::Post::Linux::System
def initialize(info={}) def initialize(info={})
super( update_info( info, super( update_info( info,
'Name' => 'Linux Gather Configurations', 'Name' => 'Linux Gather Configurations',

View File

@ -7,14 +7,9 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/post/linux/priv'
require 'msf/core/post/linux/system'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Post::Linux::Priv include Msf::Post::Linux::Priv
include Msf::Post::Linux::System include Msf::Post::Linux::System

View File

@ -6,13 +6,9 @@
## ##
require 'msf/core' require 'msf/core'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/post/linux/system'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Post::Linux::System include Msf::Post::Linux::System

View File

@ -7,14 +7,11 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/post/linux/system' require 'msf/core/post/linux/system'
require 'msf/core/post/linux/priv' require 'msf/core/post/linux/priv'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Post::Linux::System include Msf::Post::Linux::System

View File

@ -7,14 +7,9 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/post/linux/system'
require 'msf/core/post/linux/priv'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Post::Linux::System include Msf::Post::Linux::System

View File

@ -6,12 +6,9 @@
## ##
require 'msf/core' require 'msf/core'
require 'msf/core/post/common'
require 'msf/core/post/file'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
def initialize(info={}) def initialize(info={})

View File

@ -7,14 +7,9 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/post/linux/priv'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Post::Linux::Priv include Msf::Post::Linux::Priv

View File

@ -6,12 +6,9 @@
## ##
require 'msf/core' require 'msf/core'
require 'msf/core/post/common'
require 'msf/core/post/file'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
def initialize(info={}) def initialize(info={})

View File

@ -6,11 +6,9 @@
## ##
require 'msf/core' require 'msf/core'
require 'msf/core/post/common'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Auxiliary::Report include Msf::Auxiliary::Report
@ -127,4 +125,4 @@ class Metasploit3 < Msf::Post
end end
end end
end end

View File

@ -7,14 +7,9 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/post/linux/system'
require 'msf/core/post/linux/priv'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Post::Linux::System include Msf::Post::Linux::System

View File

@ -7,9 +7,6 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/post/linux/priv'
require 'msf/core/exploit/local/linux' require 'msf/core/exploit/local/linux'
require 'msf/core/exploit/local/unix' require 'msf/core/exploit/local/unix'
@ -17,7 +14,6 @@ class Metasploit3 < Msf::Post
Rank = ManualRanking Rank = ManualRanking
include Msf::Post::File include Msf::Post::File
include Msf::Post::Common
include Msf::Exploit::Local::Linux include Msf::Exploit::Local::Linux
include Msf::Exploit::Local::Unix include Msf::Exploit::Local::Unix

View File

@ -7,14 +7,10 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
def initialize(info={}) def initialize(info={})
super( update_info( info, super( update_info( info,
'Name' => 'Multi Gather DNS Forward Lookup Bruteforce', 'Name' => 'Multi Gather DNS Forward Lookup Bruteforce',

View File

@ -7,14 +7,9 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
def initialize(info={}) def initialize(info={})
super( update_info( info, super( update_info( info,
'Name' => 'Multi Gather DNS Reverse Lookup Scan', 'Name' => 'Multi Gather DNS Reverse Lookup Scan',

View File

@ -7,13 +7,8 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/auxiliary/report'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Auxiliary::Report include Msf::Auxiliary::Report
def initialize(info={}) def initialize(info={})

View File

@ -12,7 +12,6 @@ require 'msf/core/post/unix'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Post::Unix include Msf::Post::Unix

View File

@ -17,7 +17,6 @@ require 'msf/core/post/windows/user_profiles'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::File include Msf::Post::File
include Msf::Post::Common
include Msf::Auxiliary::Report include Msf::Auxiliary::Report
include Msf::Post::Windows::UserProfiles include Msf::Post::Windows::UserProfiles

View File

@ -14,7 +14,6 @@ require 'msf/core/post/unix'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::File include Msf::Post::File
include Msf::Post::Common
include Msf::Post::Unix include Msf::Post::Unix
def initialize(info={}) def initialize(info={})

View File

@ -11,8 +11,6 @@ require 'msf/core/post/common'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
def initialize(info={}) def initialize(info={})
super( update_info( info, super( update_info( info,
'Name' => 'Multi Gather Run Shell Command Resource File', 'Name' => 'Multi Gather Run Shell Command Resource File',

View File

@ -6,13 +6,9 @@
## ##
require 'msf/core' require 'msf/core'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/post/unix'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Post::Unix include Msf::Post::Unix

View File

@ -14,7 +14,6 @@ require 'msf/core/post/windows/user_profiles'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::File include Msf::Post::File
include Msf::Post::Common
include Msf::Post::Unix include Msf::Post::Unix
include Msf::Post::Windows::UserProfiles include Msf::Post::Windows::UserProfiles

View File

@ -7,14 +7,9 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
def initialize(info={}) def initialize(info={})
super( update_info( info, super( update_info( info,
'Name' => 'Multi Gather Ping Sweep', 'Name' => 'Multi Gather Ping Sweep',

View File

@ -19,7 +19,6 @@ require 'msf/core/post/osx/system'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Post::Windows::UserProfiles include Msf::Post::Windows::UserProfiles

View File

@ -7,15 +7,11 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/file'
require 'msf/core/post/common'
require 'msf/core/post/unix'
require 'sshkey' require 'sshkey'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::File include Msf::Post::File
include Msf::Post::Common
include Msf::Post::Unix include Msf::Post::Unix
def initialize(info={}) def initialize(info={})

View File

@ -6,14 +6,10 @@
## ##
require 'msf/core' require 'msf/core'
require 'msf/core/post/file'
require 'msf/core/post/common'
require 'msf/core/post/windows/user_profiles'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::File include Msf::Post::File
include Msf::Post::Common
include Msf::Post::Windows::UserProfiles include Msf::Post::Windows::UserProfiles
def initialize(info={}) def initialize(info={})

View File

@ -7,12 +7,9 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
def initialize(info={}) def initialize(info={})
super( update_info( info, super( update_info( info,
'Name' => 'Multi Generic Operating System Session Command Execution', 'Name' => 'Multi Generic Operating System Session Command Execution',

View File

@ -8,12 +8,8 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
def initialize(info={}) def initialize(info={})

View File

@ -7,15 +7,9 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/post/unix'
require 'msf/core/post/linux/priv'
require 'msf/core/post/linux/system'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Post::Linux::Priv include Msf::Post::Linux::Priv
include Msf::Post::Linux::System include Msf::Post::Linux::System

View File

@ -7,12 +7,9 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
def initialize(info={}) def initialize(info={})
super( update_info( info, super( update_info( info,
'Name' => 'Multi Manage System Remote TCP Shell Session', 'Name' => 'Multi Manage System Remote TCP Shell Session',

View File

@ -6,12 +6,9 @@
## ##
require 'msf/core' require 'msf/core'
require 'msf/core/post/common'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
def initialize(info={}) def initialize(info={})
super( update_info( info, super( update_info( info,
'Name' => "OS X Text to Speech Utility", 'Name' => "OS X Text to Speech Utility",
@ -69,4 +66,4 @@ class Metasploit3 < Msf::Post
end end
end end
end end

View File

@ -8,7 +8,6 @@
require 'shellwords' require 'shellwords'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Auxiliary::Report include Msf::Auxiliary::Report
@ -46,13 +45,13 @@ class Metasploit3 < Msf::Post
register_options( register_options(
[ [
OptInt.new('DURATION', OptInt.new('DURATION',
[ true, 'The duration in seconds.', 600 ] [ true, 'The duration in seconds.', 600 ]
), ),
OptInt.new('SYNCWAIT', OptInt.new('SYNCWAIT',
[ true, 'The time between transferring log chunks.', 10 ] [ true, 'The time between transferring log chunks.', 10 ]
), ),
OptPort.new('LOGPORT', OptPort.new('LOGPORT',
[ false, 'Local port opened for momentarily for log transfer', 22899 ] [ false, 'Local port opened for momentarily for log transfer', 22899 ]
) )
] ]

View File

@ -7,13 +7,10 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/auxiliary/report' require 'msf/core/auxiliary/report'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Auxiliary::Report include Msf::Auxiliary::Report

View File

@ -6,12 +6,9 @@
## ##
require 'msf/core' require 'msf/core'
require 'msf/core/post/common'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
def initialize(info={}) def initialize(info={})
super(update_info(info, super(update_info(info,
'Name' => 'OS X Gather Airport Wireless Preferences', 'Name' => 'OS X Gather Airport Wireless Preferences',

View File

@ -7,12 +7,9 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
def initialize(info={}) def initialize(info={})

View File

@ -7,12 +7,9 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
def initialize(info={}) def initialize(info={})

View File

@ -6,12 +6,9 @@
## ##
require 'msf/core' require 'msf/core'
require 'msf/core/post/common'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
def initialize(info={}) def initialize(info={})
super(update_info(info, super(update_info(info,
'Name' => 'OS X Gather Keychain Enumeration', 'Name' => 'OS X Gather Keychain Enumeration',

View File

@ -7,14 +7,10 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/auxiliary/report' require 'msf/core/auxiliary/report'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Auxiliary::Report include Msf::Auxiliary::Report

View File

@ -7,14 +7,11 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/auxiliary/report' require 'msf/core/auxiliary/report'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Auxiliary::Report include Msf::Auxiliary::Report

View File

@ -7,11 +7,8 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Auxiliary::Report include Msf::Auxiliary::Report

View File

@ -7,10 +7,8 @@
require 'msf/core' require 'msf/core'
require 'shellwords' require 'shellwords'
require 'msf/core/post/osx/ruby_dl'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Auxiliary::Report include Msf::Auxiliary::Report
include Msf::Post::OSX::RubyDL include Msf::Post::OSX::RubyDL
@ -38,7 +36,7 @@ class Metasploit3 < Msf::Post
register_options( register_options(
[ [
OptInt.new('MIC_INDEX', [true, 'The index of the mic to use. `set ACTION LIST` to get a list.', 0]), OptInt.new('MIC_INDEX', [true, 'The index of the mic to use. `set ACTION LIST` to get a list.', 0]),
OptString.new('TMP_FILE', OptString.new('TMP_FILE',
[true, 'The tmp file to use on the remote machine', '/tmp/.<random>/<random>'] [true, 'The tmp file to use on the remote machine', '/tmp/.<random>/<random>']
), ),
OptString.new('AUDIO_COMPRESSION', OptString.new('AUDIO_COMPRESSION',
@ -98,7 +96,7 @@ class Metasploit3 < Msf::Post
tmp_file = File.join(File.dirname(tmp_file), base+num+'.'+ext) tmp_file = File.join(File.dirname(tmp_file), base+num+'.'+ext)
# store contents in file # store contents in file
title = "OSX Mic Recording "+i.to_s title = "OSX Mic Recording "+i.to_s
f = store_loot(title, "audio/quicktime", session, contents, f = store_loot(title, "audio/quicktime", session, contents,
"osx_mic_rec#{i}.qt", title) "osx_mic_rec#{i}.qt", title)
print_good "Record file captured and saved to #{f}" print_good "Record file captured and saved to #{f}"
print_status "Rolling record file. " print_status "Rolling record file. "

View File

@ -7,10 +7,8 @@
require 'msf/core' require 'msf/core'
require 'shellwords' require 'shellwords'
require 'msf/core/post/osx/ruby_dl'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Auxiliary::Report include Msf::Auxiliary::Report
include Msf::Post::OSX::RubyDL include Msf::Post::OSX::RubyDL
@ -42,7 +40,7 @@ class Metasploit3 < Msf::Post
OptInt.new('CAMERA_INDEX', [true, 'The index of the webcam to use. `set ACTION LIST` to get a list.', 0]), OptInt.new('CAMERA_INDEX', [true, 'The index of the webcam to use. `set ACTION LIST` to get a list.', 0]),
OptInt.new('MIC_INDEX', [true, 'The index of the mic to use. `set ACTION LIST` to get a list.', 0]), OptInt.new('MIC_INDEX', [true, 'The index of the mic to use. `set ACTION LIST` to get a list.', 0]),
OptString.new('JPG_QUALITY', [false, 'The compression factor for snapshotting a jpg (from 0 to 1)', "0.8"]), OptString.new('JPG_QUALITY', [false, 'The compression factor for snapshotting a jpg (from 0 to 1)', "0.8"]),
OptString.new('TMP_FILE', OptString.new('TMP_FILE',
[true, 'The tmp file to use on the remote machine', '/tmp/.<random>/<random>'] [true, 'The tmp file to use on the remote machine', '/tmp/.<random>/<random>']
), ),
OptBool.new('AUDIO_ENABLED', [false, 'Enable audio when recording', true]), OptBool.new('AUDIO_ENABLED', [false, 'Enable audio when recording', true]),
@ -108,7 +106,7 @@ class Metasploit3 < Msf::Post
tmp_file = File.join(File.dirname(tmp_file), base+num+'.'+ext) tmp_file = File.join(File.dirname(tmp_file), base+num+'.'+ext)
# store contents in file # store contents in file
title = "OSX Webcam Recording "+i.to_s title = "OSX Webcam Recording "+i.to_s
f = store_loot(title, "video/mov", session, contents, f = store_loot(title, "video/mov", session, contents,
"osx_webcam_rec#{i}.mov", title) "osx_webcam_rec#{i}.mov", title)
print_good "Record file captured and saved to #{f}" print_good "Record file captured and saved to #{f}"
print_status "Rolling movie file. " print_status "Rolling movie file. "

View File

@ -7,13 +7,9 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/post/solaris/priv'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Post::Solaris::Priv include Msf::Post::Solaris::Priv

View File

@ -7,13 +7,9 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/post/solaris/system'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Post::Solaris::System include Msf::Post::Solaris::System

View File

@ -7,14 +7,9 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/post/solaris/system'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Post::Solaris::System include Msf::Post::Solaris::System

View File

@ -7,14 +7,9 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/post/solaris/priv'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Post::Solaris::Priv include Msf::Post::Solaris::Priv

View File

@ -7,15 +7,11 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/file'
require 'msf/core/post/windows/priv'
require 'msf/core/post/common'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Windows::Priv include Msf::Post::Windows::Priv
include Msf::Post::File include Msf::Post::File
include Msf::Post::Common
def initialize(info={}) def initialize(info={})
super( update_info( info, super( update_info( info,

View File

@ -7,13 +7,10 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/auxiliary/report' require 'msf/core/auxiliary/report'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Auxiliary::Report include Msf::Auxiliary::Report
OUI_LIST = Rex::Oui OUI_LIST = Rex::Oui

View File

@ -7,14 +7,11 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/windows/registry'
require 'msf/core/post/common'
require 'msf/core/auxiliary/report' require 'msf/core/auxiliary/report'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Windows::Registry include Msf::Post::Windows::Registry
include Msf::Post::Common
include Msf::Auxiliary::Report include Msf::Auxiliary::Report
def initialize(info={}) def initialize(info={})

View File

@ -7,13 +7,10 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/auxiliary/report' require 'msf/core/auxiliary/report'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Auxiliary::Report include Msf::Auxiliary::Report
def initialize(info={}) def initialize(info={})

View File

@ -7,13 +7,10 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/windows/user_profiles'
require 'openssl' require 'openssl'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::Windows::UserProfiles include Msf::Post::Windows::UserProfiles
include Msf::Post::File include Msf::Post::File
@ -118,4 +115,4 @@ class Metasploit3 < Msf::Post
end end
end end
end end
end end

View File

@ -7,13 +7,10 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/windows/user_profiles'
require 'openssl' require 'openssl'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::Windows::UserProfiles include Msf::Post::Windows::UserProfiles
def initialize(info={}) def initialize(info={})

View File

@ -7,14 +7,10 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/windows/priv'
require 'msf/core/post/windows/accounts'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Windows::Priv include Msf::Post::Windows::Priv
include Msf::Post::Common
include Msf::Post::Windows::Accounts include Msf::Post::Windows::Accounts
def initialize(info={}) def initialize(info={})

View File

@ -8,15 +8,8 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
# Multi platform requiere
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/post/windows/registry'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Post::Windows::Registry include Msf::Post::Windows::Registry

View File

@ -7,15 +7,11 @@
require 'rex' require 'rex'
require 'msf/core' require 'msf/core'
require 'msf/core/post/file'
require 'msf/core/post/common'
require 'msf/core/post/windows/registry'
require 'msf/core/auxiliary/report' require 'msf/core/auxiliary/report'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::File include Msf::Post::File
include Msf::Post::Common
include Msf::Post::Windows::Registry include Msf::Post::Windows::Registry
include Msf::Auxiliary::Report include Msf::Auxiliary::Report

View File

@ -6,12 +6,9 @@
## ##
require 'msf/core' require 'msf/core'
require 'msf/core/post/common'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
def initialize(info={}) def initialize(info={})
super(update_info(info, super(update_info(info,
'Name' => "Windows Gather Directory Permissions Enumeration", 'Name' => "Windows Gather Directory Permissions Enumeration",

View File

@ -6,12 +6,9 @@
## ##
require 'msf/core' require 'msf/core'
require 'msf/core/post/windows/priv'
require 'msf/core/post/common'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Windows::Priv include Msf::Post::Windows::Priv
include Msf::Post::Common
def initialize(info={}) def initialize(info={})
super(update_info(info, super(update_info(info,

View File

@ -7,12 +7,9 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
def initialize(info={}) def initialize(info={})
super( update_info( info, super( update_info( info,
'Name' => 'Windows Gather Enumerate Domain Group', 'Name' => 'Windows Gather Enumerate Domain Group',

View File

@ -8,15 +8,8 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
# Multi platform requiere
require 'msf/core/post/common'
require 'msf/core/post/file'
require 'msf/core/post/windows/registry'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::File include Msf::Post::File
include Msf::Post::Windows::Registry include Msf::Post::Windows::Registry

View File

@ -6,12 +6,9 @@
## ##
require 'msf/core' require 'msf/core'
require 'msf/core/post/windows/priv'
require 'msf/core/post/common'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Windows::Priv include Msf::Post::Windows::Priv
include Msf::Post::Common
def initialize(info={}) def initialize(info={})
super(update_info(info, super(update_info(info,

View File

@ -8,15 +8,11 @@
require 'rex' require 'rex'
require 'rexml/document' require 'rexml/document'
require 'msf/core' require 'msf/core'
require 'msf/core/post/file'
require 'msf/core/post/common'
require 'msf/core/post/windows/registry'
require 'msf/core/auxiliary/report' require 'msf/core/auxiliary/report'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::File include Msf::Post::File
include Msf::Post::Common
include Msf::Post::Windows::Registry include Msf::Post::Windows::Registry
include Msf::Auxiliary::Report include Msf::Auxiliary::Report

View File

@ -6,14 +6,10 @@
## ##
require 'msf/core' require 'msf/core'
require 'msf/core/post/common'
require 'msf/core/post/windows/registry'
require 'msf/core/post/windows/priv'
require 'msf/core/auxiliary/report' require 'msf/core/auxiliary/report'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common
include Msf::Post::Windows::Registry include Msf::Post::Windows::Registry
include Msf::Auxiliary::Report include Msf::Auxiliary::Report

View File

@ -8,14 +8,12 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Windows::Priv include Msf::Post::Windows::Priv
include Msf::Auxiliary::Report include Msf::Auxiliary::Report
include Msf::Auxiliary::Scanner include Msf::Auxiliary::Scanner
include Msf::Post::Common
def initialize(info={}) def initialize(info={})
super(update_info(info, super(update_info(info,

View File

@ -7,15 +7,11 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/windows/registry'
require 'msf/core/post/windows/services'
require 'msf/core/post/common'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Windows::Registry include Msf::Post::Windows::Registry
include Msf::Post::Windows::WindowsServices include Msf::Post::Windows::WindowsServices
include Msf::Post::Common
include Msf::Post::Windows::Priv include Msf::Post::Windows::Priv
def initialize(info={}) def initialize(info={})

View File

@ -7,21 +7,15 @@
require 'msf/core' require 'msf/core'
require 'rex' require 'rex'
require 'msf/core/post/common'
require 'msf/core/post/windows/priv'
require 'msf/core/post/windows/registry'
require 'msf/core/post/windows/accounts'
require 'msf/core/post/file'
require 'msf/core/auxiliary/report' require 'msf/core/auxiliary/report'
class Metasploit3 < Msf::Post class Metasploit3 < Msf::Post
include Msf::Post::Common include Msf::Post::File
include Msf::Post::Windows::Priv include Msf::Post::Windows::Priv
include Msf::Post::Windows::Registry include Msf::Post::Windows::Registry
include Msf::Post::Windows::Accounts include Msf::Post::Windows::Accounts
include Msf::Auxiliary::Report include Msf::Auxiliary::Report
include Msf::Post::File
def initialize(info={}) def initialize(info={})
super( update_info( info, super( update_info( info,

Some files were not shown because too many files have changed in this diff Show More