diff --git a/modules/auxiliary/admin/mysql/mysql_enum.rb b/modules/auxiliary/admin/mysql/mysql_enum.rb index 05b390cce59e7..3d3f1e36fac6b 100644 --- a/modules/auxiliary/admin/mysql/mysql_enum.rb +++ b/modules/auxiliary/admin/mysql/mysql_enum.rb @@ -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, diff --git a/modules/auxiliary/admin/mysql/mysql_sql.rb b/modules/auxiliary/admin/mysql/mysql_sql.rb index ce2ad10cff07d..2734ab401f072 100644 --- a/modules/auxiliary/admin/mysql/mysql_sql.rb +++ b/modules/auxiliary/admin/mysql/mysql_sql.rb @@ -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, diff --git a/modules/auxiliary/admin/postgres/postgres_readfile.rb b/modules/auxiliary/admin/postgres/postgres_readfile.rb index 5045ad9c682c1..8f468d2253480 100644 --- a/modules/auxiliary/admin/postgres/postgres_readfile.rb +++ b/modules/auxiliary/admin/postgres/postgres_readfile.rb @@ -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, diff --git a/modules/auxiliary/admin/postgres/postgres_sql.rb b/modules/auxiliary/admin/postgres/postgres_sql.rb index 7d1818072ede7..86cc5d2c3a5d6 100644 --- a/modules/auxiliary/admin/postgres/postgres_sql.rb +++ b/modules/auxiliary/admin/postgres/postgres_sql.rb @@ -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, diff --git a/modules/auxiliary/scanner/mysql/mysql_file_enum.rb b/modules/auxiliary/scanner/mysql/mysql_file_enum.rb index 54b3468324f26..e45ba69e06492 100644 --- a/modules/auxiliary/scanner/mysql/mysql_file_enum.rb +++ b/modules/auxiliary/scanner/mysql/mysql_file_enum.rb @@ -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( diff --git a/modules/auxiliary/scanner/mysql/mysql_hashdump.rb b/modules/auxiliary/scanner/mysql/mysql_hashdump.rb index d0bb794800253..a68413977c813 100644 --- a/modules/auxiliary/scanner/mysql/mysql_hashdump.rb +++ b/modules/auxiliary/scanner/mysql/mysql_hashdump.rb @@ -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( diff --git a/modules/auxiliary/scanner/mysql/mysql_schemadump.rb b/modules/auxiliary/scanner/mysql/mysql_schemadump.rb index 981bef6b70d41..e27c32e981e1c 100644 --- a/modules/auxiliary/scanner/mysql/mysql_schemadump.rb +++ b/modules/auxiliary/scanner/mysql/mysql_schemadump.rb @@ -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( diff --git a/modules/auxiliary/scanner/mysql/mysql_version.rb b/modules/auxiliary/scanner/mysql/mysql_version.rb index 28fcd951bbe63..482d7e252d4d7 100644 --- a/modules/auxiliary/scanner/mysql/mysql_version.rb +++ b/modules/auxiliary/scanner/mysql/mysql_version.rb @@ -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( diff --git a/modules/auxiliary/scanner/mysql/mysql_writable_dirs.rb b/modules/auxiliary/scanner/mysql/mysql_writable_dirs.rb index 6f29044b31ded..db504d104e154 100644 --- a/modules/auxiliary/scanner/mysql/mysql_writable_dirs.rb +++ b/modules/auxiliary/scanner/mysql/mysql_writable_dirs.rb @@ -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( diff --git a/modules/auxiliary/scanner/postgres/postgres_hashdump.rb b/modules/auxiliary/scanner/postgres/postgres_hashdump.rb index a6dc26b1539ae..b6e6047fb28b6 100644 --- a/modules/auxiliary/scanner/postgres/postgres_hashdump.rb +++ b/modules/auxiliary/scanner/postgres/postgres_hashdump.rb @@ -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( diff --git a/modules/auxiliary/scanner/postgres/postgres_version.rb b/modules/auxiliary/scanner/postgres/postgres_version.rb index cd9807b8dae37..d07e3630e9c4e 100644 --- a/modules/auxiliary/scanner/postgres/postgres_version.rb +++ b/modules/auxiliary/scanner/postgres/postgres_version.rb @@ -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 = {}) diff --git a/modules/exploits/linux/postgres/postgres_payload.rb b/modules/exploits/linux/postgres/postgres_payload.rb index 1165ae24f3cd2..0d7424797cc4a 100644 --- a/modules/exploits/linux/postgres/postgres_payload.rb +++ b/modules/exploits/linux/postgres/postgres_payload.rb @@ -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 = {}) diff --git a/modules/exploits/multi/mysql/mysql_udf_payload.rb b/modules/exploits/multi/mysql/mysql_udf_payload.rb index c5cd0352699ee..eab8b1b8b4db8 100644 --- a/modules/exploits/multi/mysql/mysql_udf_payload.rb +++ b/modules/exploits/multi/mysql/mysql_udf_payload.rb @@ -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( diff --git a/modules/exploits/multi/postgres/postgres_copy_from_program_cmd_exec.rb b/modules/exploits/multi/postgres/postgres_copy_from_program_cmd_exec.rb index 59e538e4b28da..3dc8c412fe6a2 100644 --- a/modules/exploits/multi/postgres/postgres_copy_from_program_cmd_exec.rb +++ b/modules/exploits/multi/postgres/postgres_copy_from_program_cmd_exec.rb @@ -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, diff --git a/modules/exploits/multi/postgres/postgres_createlang.rb b/modules/exploits/multi/postgres/postgres_createlang.rb index e8352a251fe1d..3c2ec63fe42d8 100644 --- a/modules/exploits/multi/postgres/postgres_createlang.rb +++ b/modules/exploits/multi/postgres/postgres_createlang.rb @@ -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, diff --git a/modules/exploits/windows/mysql/mysql_mof.rb b/modules/exploits/windows/mysql/mysql_mof.rb index 782516c4eb1b1..c5184dbd32229 100644 --- a/modules/exploits/windows/mysql/mysql_mof.rb +++ b/modules/exploits/windows/mysql/mysql_mof.rb @@ -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, diff --git a/modules/exploits/windows/mysql/mysql_start_up.rb b/modules/exploits/windows/mysql/mysql_start_up.rb index eea229be6f25f..27e27c5b38c2b 100644 --- a/modules/exploits/windows/mysql/mysql_start_up.rb +++ b/modules/exploits/windows/mysql/mysql_start_up.rb @@ -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, diff --git a/modules/exploits/windows/postgres/postgres_payload.rb b/modules/exploits/windows/postgres/postgres_payload.rb index 3ab640f19b9b0..037af50eae7b7 100644 --- a/modules/exploits/windows/postgres/postgres_payload.rb +++ b/modules/exploits/windows/postgres/postgres_payload.rb @@ -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 = {})