Skip to content

ldap client command

skelsec edited this page Apr 14, 2021 · 2 revisions

What it does

Spawns an interactive LDAP client.

Remarks

None

Requirements

A working LDAP connection URL

Subcommands

None

Switches

  • url: LDAP connection URL. Please consult the Connection URL section
  • commands : Optional parameter. If populated with commands then those commands will automatically execute after successful logon.
  • -v: Verbosity

Examples

  • pypykatz ldap client 'ldap+ntlm-password://TEST\victim:Passw0rd!1@10.10.10.2': Spawns an interactive SMB client
  • pypykatz ldap client 'ldap+ntlm-password://TEST\victim:Passw0rd!1@10.10.10.2' ldaps: Logs on to the target domain controller at 10.10.10.2 and fetches all LAPS passwords (user has access to that info in this case)
Clone this wiki locally