diff --git a/docs/metasploit-framework.wiki/Metasploit-Guide-LDAP.md b/docs/metasploit-framework.wiki/Metasploit-Guide-LDAP.md index f0293d4336..4acb52c64a 100644 --- a/docs/metasploit-framework.wiki/Metasploit-Guide-LDAP.md +++ b/docs/metasploit-framework.wiki/Metasploit-Guide-LDAP.md @@ -34,6 +34,13 @@ use auxiliary/gather/ldap_query run rhost=192.168.123.13 username=Administrator@domain.local password=p4$$w0rd action=ENUM_ACCOUNTS ``` +Alternatively, the URI syntax can be used: + +``` +use auxiliary/gather/ldap_query +run ldap://domain.local;Administrator:p4$$w0rd@192.168.123.13/dc=domain,dc=local action=ENUM_ACCOUNTS +``` + Example output: ```msf diff --git a/docs/metasploit-framework.wiki/Metasploit-Guide-Setting-Module-Options.md b/docs/metasploit-framework.wiki/Metasploit-Guide-Setting-Module-Options.md index a5c52f6526..21c4b2411f 100644 --- a/docs/metasploit-framework.wiki/Metasploit-Guide-Setting-Module-Options.md +++ b/docs/metasploit-framework.wiki/Metasploit-Guide-Setting-Module-Options.md @@ -124,6 +124,8 @@ The following protocols are currently supported, and described in more detail be - file - Load a series of RHOST values separated by newlines from a file. This file can also include URI strings - http - https +- ldap +- ldaps - mysql - postgres - smb