+0
日增长
1,000
stars
39
forks
6
watchers
10
prs
27
issues
39
releases
README
godap
A complete terminal user interface (TUI) for LDAP.
!Demo
Summary
Features
Installation
Usage
Flags
Keybindings
Tree Colors
Contributing
Acknowledgements
Disclaimers
Features
🧩 Supports authentication with password, NT hashes, Kerberos (CCACHE/password/NT hash/AES key/PKINIT) or PEM/PKCS12 client certificate (SChannel)
🗒️ Formats date/time, boolean and other categorical attributes into readable text
😎 Pretty colors & cool emojis
🔐 LDAPS & StartTLS support
⏩ Fast explorer that loads objects on demand
🔎 Recursive object search bundled with useful saved searches
👥 Flexible group members & user groups lookups
🎡 Supports creation, editing and removal of objects and attributes
🚙 Supports moving and renaming objects
🗑️ Supports searching deleted & recycled objects
📁 Supports exporting specific subtrees of the directory into JSON files
🕹️ Interactive userAccountControl editor
🔥 Interactive DACL viewer + editor
🌐 Interactive ADIDNS viewer + editor (basic)
📜 GPO Viewer
🧦 SOCKS support
Installation
bash
$ git clone https://github.com/Macmod/godap
$ cd godap
$ go install .
Package Repositories
Some members of the community have published godap in package repositories. The following packages provide working releases of godap:
| Repository | Package | Maintainer |
| --- | --- | --- |
| Homebrew | godap | harpchad |
| Alpine Linux (community) | godap | [email protected] |
| Arch Linux (AUR) | godap-bin | killab33z |
Remember to check godap's version before using these packages, as some of them might not always be up to date.
In case you need the latest features, godap also provides automated releases for several platforms.
Usage
Bind with username and password
bash
$ godap -u -p -d
or
bash
$ godap -u @ -p
By default, -u/-p performs an NTLM bind; add --simple to force a simple LDAP bind instead.
Bind with an NTLM hash (pass-the-hash)
bash
$ godap -u -H [-d ]
Bind with Kerberos
Kerberos is selected with -k/--kerberos, and accepts any of the credential flags below (or none, to use an existing CCACHE via KRB5CCNAME):
bash
CCACHE (no other credential flags)
$ KRB5CCNAME=ticket.ccache godap -k -d
Password
$ godap -k -u -p -d
NT hash
$ godap -k -u -H -d
AES128/AES256 key (hex-encoded)
$ godap -k -u --aes-key -d
PKINIT (client certificate)
$ godap -k -u --crt --key -d
Bind with a Certificate + Private Key
PEM:
bash
$ godap --crt --key -I
PKCS12:
bash
$ godap --pfx -I
Note. This method will either pass the certificate directly when connecting with LDAPS (-S), or upgrade the unencrypted LDAP connection implicitly with StartTLS, therefore you must provide -I if you want to use it and your server certificate is not trusted by your client.
Anonymous Bind
bash
$ godap
Changing authentication at runtime
Every bind method above can also be selected and edited from inside godap: open the connection settings paneTop issues
#31Navigate into large Explorer panel3 comments · 2026-03-12#30Open a member from a group3 comments · 2026-03-12#32Copy individual LDAP attribute1 comments · 2026-06-09#29Can you add "load snapshot" ?1 comments · 2026-03-11
Discussions
Latest release
v2.12.2 v2.12.2 2026-08-21Fixing possible panic when SDs cannot be fetched/parsed (thanks @rtpt-erikgeiser!).