add LDAP to capture plugin
This commit is contained in:
@@ -16,6 +16,8 @@ services:
|
||||
enabled: yes
|
||||
- type: IMAP
|
||||
enabled: yes
|
||||
- type: LDAP
|
||||
enabled: yes
|
||||
- type: MSSQL
|
||||
enabled: yes
|
||||
- type: MySQL
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user