Add openssl version to debug command

This commit is contained in:
adfoster-r7 2022-07-19 15:26:05 +01:00
parent ebb15ee9e7
commit f02012a8ee
No known key found for this signature in database
GPG Key ID: 3BD4FA3818818F04
2 changed files with 8 additions and 0 deletions

View File

@ -258,6 +258,7 @@ module Msf
str = <<~VERSIONS
Framework: #{framework.version}
Ruby: #{RUBY_DESCRIPTION}
OpenSSL: #{OpenSSL::OPENSSL_VERSION}
Install Root: #{Msf::Config.install_root}
Session Type: #{db_connection_info(framework)}
Install Method: #{installation_method}

View File

@ -1276,6 +1276,7 @@ RSpec.describe Msf::Ui::Debug do
```
Framework: VERSION
Ruby: #{RUBY_DESCRIPTION}
OpenSSL: #{OpenSSL::OPENSSL_VERSION}
Install Root: bad/path
Session Type: driver selected, no connection
Install Method: Other - Please specify
@ -1315,6 +1316,7 @@ RSpec.describe Msf::Ui::Debug do
```
Framework: VERSION
Ruby: #{RUBY_DESCRIPTION}
OpenSSL: #{OpenSSL::OPENSSL_VERSION}
Install Root: bad/path
Session Type: Connected to db_name. Connection type: http.
Install Method: Other - Please specify
@ -1362,6 +1364,7 @@ RSpec.describe Msf::Ui::Debug do
```
Framework: VERSION
Ruby: #{RUBY_DESCRIPTION}
OpenSSL: #{OpenSSL::OPENSSL_VERSION}
Install Root: bad/path
Session Type: Connected to current_db_connection. Connection type: local.
Install Method: Other - Please specify
@ -1400,6 +1403,7 @@ RSpec.describe Msf::Ui::Debug do
```
Framework: VERSION
Ruby: #{RUBY_DESCRIPTION}
OpenSSL: #{OpenSSL::OPENSSL_VERSION}
Install Root: #{File.join(File::SEPARATOR, 'usr', 'share', 'metasploit-framework')}
Session Type: driver selected, no connection
Install Method: Other - Please specify
@ -1438,6 +1442,7 @@ RSpec.describe Msf::Ui::Debug do
```
Framework: VERSION
Ruby: #{RUBY_DESCRIPTION}
OpenSSL: #{OpenSSL::OPENSSL_VERSION}
Install Root: #{File.join(file_fixtures_path, 'debug', 'installs', 'omnibus')}
Session Type: driver selected, no connection
Install Method: Omnibus Installer
@ -1477,6 +1482,7 @@ RSpec.describe Msf::Ui::Debug do
```
Framework: VERSION
Ruby: #{RUBY_DESCRIPTION}
OpenSSL: #{OpenSSL::OPENSSL_VERSION}
Install Root: #{File.join(file_fixtures_path, 'debug', 'installs')}
Session Type: driver selected, no connection
Install Method: Git Clone
@ -1515,6 +1521,7 @@ RSpec.describe Msf::Ui::Debug do
```
Framework: VERSION
Ruby: #{RUBY_DESCRIPTION}
OpenSSL: #{OpenSSL::OPENSSL_VERSION}
Install Root: #{File.join(File::SEPARATOR, 'opt', 'metasploit')}
Session Type: driver selected, no connection
Install Method: Other - Please specify