From 4185b1f51b9d59424f89467b98cbea4def15c676 Mon Sep 17 00:00:00 2001 From: cgranleese-r7 Date: Fri, 6 Sep 2024 09:58:32 +0100 Subject: [PATCH] Removes TODO --- lib/metasploit/framework/login_scanner/ldap.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/metasploit/framework/login_scanner/ldap.rb b/lib/metasploit/framework/login_scanner/ldap.rb index 802910404d22..e3f1444caf9a 100644 --- a/lib/metasploit/framework/login_scanner/ldap.rb +++ b/lib/metasploit/framework/login_scanner/ldap.rb @@ -11,9 +11,8 @@ class LDAP include Metasploit::Framework::LDAP::Client include Msf::Exploit::Remote::LDAP - # TODO: Verify if we need this additional metadata: https://github.com/rapid7/metasploit-framework/blob/master/lib/metasploit/framework/login_scanner/http.rb#L15-L23 LIKELY_PORTS = [ 389, 636 ] - LIKELY_SERVICE_NAMES = [ 'ldap', 'ldaps', 'ldapssl' ] + LIKELY_SERVICE_NAMES = %w[ldap ldaps ldapssl] attr_accessor :opts, :realm_key # @!attribute use_client_as_proof