Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions modules/auxiliary/scanner/mssql/mssql_login.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down