2022-09-22 09:03:13 -07:00
|
|
|
# LDAPShell
|
2022-09-22 09:27:28 -07:00
|
|
|
A wrapper of ldap_shell.py module which in ntlmrelayx.
|
|
|
|
|
|
|
|
## Table of content
|
|
|
|
* [Overview](#Overview)
|
|
|
|
* [Menu](#Menu)
|
|
|
|
* [Screenshots](#Screenshots)
|
|
|
|
* [References](#References)
|
|
|
|
|
|
|
|
### Overview
|
|
|
|
LDAP cli from ntlmrelayx, use to break active directory remotely.
|
|
|
|
|
|
|
|
### Menu
|
|
|
|
- add_computer
|
|
|
|
- rename_computer
|
|
|
|
- add_user
|
|
|
|
- add_user_to_group
|
|
|
|
- change_password
|
|
|
|
- clear_rbcd
|
|
|
|
- disable_account
|
|
|
|
- enable_account
|
|
|
|
- dump
|
|
|
|
- search
|
|
|
|
- get_user_groups
|
|
|
|
- get_group_users
|
|
|
|
- get_laps_password
|
|
|
|
- grant_control
|
|
|
|
- set_dontreqpreauth
|
|
|
|
- set_rbcd
|
|
|
|
- start_tls
|
|
|
|
- write_gpo_dacl
|
|
|
|
|
|
|
|
### Screenshots
|
|
|
|
- Login into ldap
|
|
|
|
![image](https://user-images.githubusercontent.com/30458572/191799247-fd945d69-2b8a-4536-8326-4db07b1076e7.png)
|
|
|
|
|
|
|
|
- Switch to TLS
|
|
|
|
![image](https://user-images.githubusercontent.com/30458572/191800140-f0719161-88e8-4607-8ac2-bcb4a39d4b19.png)
|
|
|
|
|
|
|
|
- Add computer account and check if it exists
|
|
|
|
![image](https://user-images.githubusercontent.com/30458572/191800874-3cf1079c-35a4-4d53-bcc9-27d9939d00f5.png)
|
|
|
|
|
|
|
|
### References
|
|
|
|
- [impacket](https://github.com/SecureAuthCorp/impacket)
|