-
Notifications
You must be signed in to change notification settings - Fork 7
panic: runtime error: index out of range, when using AD Explorer #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Could be because ADExplorer uses GSS-API, based on some pcaps I took |
I'll look into this. Thanks for pointing it out! |
Apparently some messages sent by AD Explorer during SASL / GSSAPI establishment don't fit the "standard" expected format for LDAP messages. I'll try to check in the following days if we can just detect this condition somehow and get it working by just sending these "extra" packets back and forth between client and server. |
Seems liks this is a bigger issue than I first thought - even if we could make it not panic and forward the messages back and forth, SASL/GSS-API encrypts the messages, so ldapx would not actually do anything but sit in the middle of the connection. So we can either: I'll have to study which of (2) and (3) is the way out, but more testing is definitely needed to solve this one. [16/12/2024] Update. I tried to intercept the BindResponse and reply an I also tried to remove the If anyone has any ideas about this I'd appreciate it. It's possible that we can do (3) but then we would need to implement active decryption of |
ldapx runs fine with bloodhound-py and ldapsearch but crashes when I connect using AD Explorer
To reproduce:
ldapx -t x.x.x.x:389
The text was updated successfully, but these errors were encountered: