You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/metasploit/framework/login_scanner/ldap.rb
+16-2Lines changed: 16 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -11,19 +11,32 @@ class LDAP
11
11
includeMetasploit::Framework::LDAP::Client
12
12
includeMsf::Exploit::Remote::LDAP
13
13
14
+
# 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
15
+
LIKELY_PORTS=[389,636]
16
+
LIKELY_SERVICE_NAMES=['ldap','ldaps','ldapssl']
17
+
14
18
attr_accessor:opts,:realm_key
15
19
# @!attribute use_client_as_proof
16
20
# @return [Boolean] If a login is successful and this attribute is true - an LDAP::Client instance is used as proof
0 commit comments