From 686acb4c7ba684fe9fae8b10c53b450d4c74d2bb Mon Sep 17 00:00:00 2001 From: Dean Welch Date: Wed, 20 Mar 2024 15:06:20 +0000 Subject: [PATCH] Correctly format CreateSession option in output --- modules/auxiliary/scanner/mssql/mssql_login.rb | 2 +- modules/auxiliary/scanner/mysql/mysql_login.rb | 2 +- modules/auxiliary/scanner/postgres/postgres_login.rb | 2 +- modules/auxiliary/scanner/smb/smb_login.rb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/auxiliary/scanner/mssql/mssql_login.rb b/modules/auxiliary/scanner/mssql/mssql_login.rb index dd1770fdee44..4da37b65120f 100644 --- a/modules/auxiliary/scanner/mssql/mssql_login.rb +++ b/modules/auxiliary/scanner/mssql/mssql_login.rb @@ -64,7 +64,7 @@ def run if datastore['CreateSession'] print_status("#{sessions.size} MSSQL sessions were opened successfully.") else - print_status('You can open an MSSQL session with these credentials and CreateSession set to true') + print_status('You can open an MSSQL session with these credentials and %grnCreateSession%clr set to true') end results end diff --git a/modules/auxiliary/scanner/mysql/mysql_login.rb b/modules/auxiliary/scanner/mysql/mysql_login.rb index 18a6d3a7043d..020577c04d0c 100644 --- a/modules/auxiliary/scanner/mysql/mysql_login.rb +++ b/modules/auxiliary/scanner/mysql/mysql_login.rb @@ -68,7 +68,7 @@ def run if datastore['CreateSession'] print_status("#{sessions.size} MySQL sessions were opened successfully.") else - print_status('You can open an MySQL session with these credentials and CreateSession set to true') + print_status('You can open an MySQL session with these credentials and %grnCreateSession%clr set to true') end results end diff --git a/modules/auxiliary/scanner/postgres/postgres_login.rb b/modules/auxiliary/scanner/postgres/postgres_login.rb index ca0f75715e10..fd6b8eb76f43 100644 --- a/modules/auxiliary/scanner/postgres/postgres_login.rb +++ b/modules/auxiliary/scanner/postgres/postgres_login.rb @@ -72,7 +72,7 @@ def run if datastore['CreateSession'] print_status("#{sessions.size} Postgres sessions were opened successfully.") else - print_status('You can open a Postgres session with these credentials and CreateSession set to true') + print_status('You can open a Postgres session with these credentials and %grnCreateSession%clr set to true') end results end diff --git a/modules/auxiliary/scanner/smb/smb_login.rb b/modules/auxiliary/scanner/smb/smb_login.rb index bb651e29144a..98e2296dfa99 100644 --- a/modules/auxiliary/scanner/smb/smb_login.rb +++ b/modules/auxiliary/scanner/smb/smb_login.rb @@ -96,7 +96,7 @@ def run if datastore['CreateSession'] print_status("#{sessions.size} SMB sessions were opened successfully.") else - print_status('You can open an SMB session with these credentials and CreateSession set to true') + print_status('You can open an SMB session with these credentials and %grnCreateSession%clr set to true') end results end