Skip to content

Commit

Permalink
Adds some notification message about 6.4 release features
Browse files Browse the repository at this point in the history
  • Loading branch information
cgranleese-r7 committed Feb 9, 2024
1 parent 4b564d8 commit 2c9fc5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/msf/core/optional_session.rb
Expand Up @@ -29,6 +29,7 @@ def initialize(info = {})
Msf::Opt::RPORT(3306, false)
]
)
add_info('New in Metasploit 6.4 - This module can target a %grnSESSION%clr or an %grnRHOST%clr')
end

if framework.features.enabled?(Msf::FeatureManager::POSTGRESQL_SESSION_TYPE)
Expand Down
4 changes: 3 additions & 1 deletion modules/auxiliary/scanner/mysql/mysql_login.rb
Expand Up @@ -38,7 +38,9 @@ def initialize(info = {})
])

options_to_deregister = %w[PASSWORD_SPRAY]
unless framework.features.enabled?(Msf::FeatureManager::MYSQL_SESSION_TYPE)
if framework.features.enabled?(Msf::FeatureManager::MYSQL_SESSION_TYPE)
add_info('New in Metasploit 6.4 - The %grnCreateSession%clr option within this module can open an interactive session')
else
options_to_deregister << 'CreateSession'
end
deregister_options(*options_to_deregister)
Expand Down

0 comments on commit 2c9fc5c

Please sign in to comment.