add `LDAP` to capture plugin

This commit is contained in:
Jeffrey Martin 2024-01-23 13:52:35 -06:00
parent bcefde29c3
commit d20ef7a08b
No known key found for this signature in database
GPG Key ID: 96E9AC6325E2DABC
2 changed files with 8 additions and 0 deletions

View File

@ -16,6 +16,8 @@ services:
enabled: yes
- type: IMAP
enabled: yes
- type: LDAP
enabled: yes
- type: MSSQL
enabled: yes
- type: MySQL

View File

@ -198,6 +198,7 @@ module Msf
'DRDA' => 'auxiliary/server/capture/drda',
'FTP' => 'auxiliary/server/capture/ftp',
'IMAP' => 'auxiliary/server/capture/imap',
'LDAP' => 'auxiliary/server/capture/ldap',
'MSSQL' => 'auxiliary/server/capture/mssql',
'MySQL' => 'auxiliary/server/capture/mysql',
'POP3' => 'auxiliary/server/capture/pop3',
@ -578,6 +579,11 @@ module Msf
datastore['CHALLENGE'] = config[:ntlm_challenge]
end
def configure_ldap(datastore, config)
datastore['DOMAIN'] = config[:ntlm_domain]
datastore['CHALLENGE'] = config[:ntlm_challenge]
end
def configure_mssql(datastore, config)
datastore['DOMAIN_NAME'] = config[:ntlm_domain]
datastore['CHALLENGE'] = config[:ntlm_challenge]