Skip to content

Commit

Permalink
Use individual session mixins
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelch-r7 committed Feb 12, 2024
1 parent 448313e commit 051d165
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion modules/auxiliary/admin/mysql/mysql_enum.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class MetasploitModule < Msf::Auxiliary
include Msf::Auxiliary::Report
include Msf::Exploit::Remote::MYSQL
include Msf::OptionalSession
include Msf::OptionalSession::MySQL

def initialize(info = {})
super(update_info(info,
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/admin/mysql/mysql_sql.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class MetasploitModule < Msf::Auxiliary
include Msf::Exploit::Remote::MYSQL
include Msf::OptionalSession
include Msf::OptionalSession::MySQL

def initialize(info = {})
super(update_info(info,
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/admin/postgres/postgres_readfile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class MetasploitModule < Msf::Auxiliary
include Msf::Exploit::Remote::Postgres
include Msf::Auxiliary::Report
include Msf::OptionalSession
include Msf::OptionalSession::PostgreSQL

def initialize(info = {})
super(update_info(info,
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/admin/postgres/postgres_sql.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class MetasploitModule < Msf::Auxiliary
include Msf::Exploit::Remote::Postgres
include Msf::OptionalSession
include Msf::OptionalSession::PostgreSQL

def initialize(info = {})
super(update_info(info,
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/scanner/mysql/mysql_file_enum.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class MetasploitModule < Msf::Auxiliary
include Msf::Exploit::Remote::MYSQL
include Msf::Auxiliary::Report
include Msf::Auxiliary::Scanner
include Msf::OptionalSession
include Msf::OptionalSession::MySQL

def initialize
super(
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/scanner/mysql/mysql_hashdump.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class MetasploitModule < Msf::Auxiliary
include Msf::Exploit::Remote::MYSQL
include Msf::Auxiliary::Report
include Msf::Auxiliary::Scanner
include Msf::OptionalSession
include Msf::OptionalSession::MySQL

def initialize
super(
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/scanner/mysql/mysql_schemadump.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class MetasploitModule < Msf::Auxiliary
include Msf::Exploit::Remote::MYSQL
include Msf::Auxiliary::Report
include Msf::Auxiliary::Scanner
include Msf::OptionalSession
include Msf::OptionalSession::MySQL

def initialize
super(
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/scanner/mysql/mysql_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class MetasploitModule < Msf::Auxiliary
include Msf::Exploit::Remote::Tcp
include Msf::Auxiliary::Scanner
include Msf::Auxiliary::Report
include Msf::OptionalSession
include Msf::OptionalSession::MySQL

def initialize
super(
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/scanner/mysql/mysql_writable_dirs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class MetasploitModule < Msf::Auxiliary
include Msf::Exploit::Remote::MYSQL
include Msf::Auxiliary::Report
include Msf::Auxiliary::Scanner
include Msf::OptionalSession
include Msf::OptionalSession::MySQL

def initialize
super(
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/scanner/postgres/postgres_hashdump.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class MetasploitModule < Msf::Auxiliary
include Msf::Exploit::Remote::Postgres
include Msf::Auxiliary::Report
include Msf::Auxiliary::Scanner
include Msf::OptionalSession
include Msf::OptionalSession::PostgreSQL

def initialize
super(
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/scanner/postgres/postgres_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class MetasploitModule < Msf::Auxiliary
include Msf::Exploit::Remote::Postgres
include Msf::Auxiliary::Scanner
include Msf::Auxiliary::Report
include Msf::OptionalSession
include Msf::OptionalSession::PostgreSQL

# Creates an instance of this module.
def initialize(info = {})
Expand Down
2 changes: 1 addition & 1 deletion modules/exploits/linux/postgres/postgres_payload.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class MetasploitModule < Msf::Exploit::Remote

include Msf::Exploit::Remote::Postgres
include Msf::Auxiliary::Report
include Msf::OptionalSession
include Msf::OptionalSession::PostgreSQL

# Creates an instance of this module.
def initialize(info = {})
Expand Down
2 changes: 1 addition & 1 deletion modules/exploits/multi/mysql/mysql_udf_payload.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class MetasploitModule < Msf::Exploit::Remote

include Msf::Exploit::Remote::MYSQL
include Msf::Exploit::CmdStager
include Msf::OptionalSession
include Msf::OptionalSession::MySQL

def initialize(info = {})
super(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class MetasploitModule < Msf::Exploit::Remote
include Msf::Exploit::Remote::Postgres
include Msf::Exploit::Remote::Tcp
include Msf::Auxiliary::Report
include Msf::OptionalSession
include Msf::OptionalSession::PostgreSQL

def initialize(info = {})
super(update_info(info,
Expand Down
2 changes: 1 addition & 1 deletion modules/exploits/multi/postgres/postgres_createlang.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class MetasploitModule < Msf::Exploit::Remote
include Msf::Exploit::Remote::Postgres
include Msf::Exploit::Remote::Tcp
include Msf::Auxiliary::Report
include Msf::OptionalSession
include Msf::OptionalSession::PostgreSQL

def initialize(info = {})
super(update_info(info,
Expand Down
2 changes: 1 addition & 1 deletion modules/exploits/windows/mysql/mysql_mof.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class MetasploitModule < Msf::Exploit::Remote
include Msf::Exploit::WbemExec
include Msf::Exploit::EXE
include Msf::Exploit::FileDropper
include Msf::OptionalSession
include Msf::OptionalSession::MySQL

def initialize(info = {})
super(update_info(info,
Expand Down
2 changes: 1 addition & 1 deletion modules/exploits/windows/mysql/mysql_start_up.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class MetasploitModule < Msf::Exploit::Remote
include Msf::Exploit::Remote::MYSQL
include Msf::Exploit::EXE
include Msf::Exploit::FileDropper
include Msf::OptionalSession
include Msf::OptionalSession::MySQL

def initialize(info = {})
super(update_info(info,
Expand Down
2 changes: 1 addition & 1 deletion modules/exploits/windows/postgres/postgres_payload.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class MetasploitModule < Msf::Exploit::Remote
include Msf::Auxiliary::Report
include Msf::Exploit::EXE
include Msf::Exploit::FileDropper
include Msf::OptionalSession
include Msf::OptionalSession::PostgreSQL

# Creates an instance of this module.
def initialize(info = {})
Expand Down

0 comments on commit 051d165

Please sign in to comment.