From 334c599cb3e98dffc675ab7f4c49e1bc4d179125 Mon Sep 17 00:00:00 2001 From: Spencer McIntyre Date: Wed, 3 Dec 2025 14:00:17 -0500 Subject: [PATCH] Remove this guard, it's no longer required --- modules/auxiliary/scanner/mssql/mssql_login.rb | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/modules/auxiliary/scanner/mssql/mssql_login.rb b/modules/auxiliary/scanner/mssql/mssql_login.rb index 1db69241b4478..29e42ea83e318 100644 --- a/modules/auxiliary/scanner/mssql/mssql_login.rb +++ b/modules/auxiliary/scanner/mssql/mssql_login.rb @@ -74,18 +74,6 @@ def run_host(ip) @print_prefix = '' # remove the redundant prefix because #print_brute will add it print_brute level: :status, ip: ip, msg: 'MSSQL - Starting authentication scanner.' - if datastore['TDSENCRYPTION'] - if create_session? - raise Msf::OptionValidateError.new( - { - 'TDSENCRYPTION' => "Cannot create sessions when encryption is enabled. See https://github.com/rapid7/metasploit-framework/issues/18745 to vote for this feature." - } - ) - else - print_brute level: :vstatus, ip: ip, msg: 'TDS Encryption enabled' - end - end - cred_collection = build_credential_collection( realm: datastore['DOMAIN'], username: datastore['USERNAME'],