new module: ldap > dump-computers
Description
i'm doing a lot of local infrastructure and active directory pentests. during my engagements, i always needing all computers of a domain. so i can first eliminate active directory then scan complete infrastructure with nessus. i was pulling bloodhound data then manipulating text so i retrieve domain computers. it's working, but, why can't i do it with precious netexec? that's why i created dump-computers module.
it's my first pr so please forgive my mistakes.
Type of change
- [x] New feature (non-breaking change which adds functionality)
How Has This Been Tested?
i tested it with a dummy domain, domain controller and two clients.
Screenshots (if appropriate):
Checklist:
- [x] I have ran Ruff against my changes (via poetry:
poetry run python -m ruff check . --preview, use--fixto automatically fix what it can) - [ ] I have added or updated the tests/e2e_commands.txt file if necessary
- [ ] New and existing e2e tests pass locally with my changes
- [x] My code follows the style guidelines of this project (should be covered by Ruff above)
- [x] If reliant on third party dependencies, such as Impacket, dploot, lsassy, etc, I have linked the relevant PRs in those projects
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation (PR here: https://github.com/Pennyw0rth/NetExec-Wiki)
https://github.com/Pennyw0rth/NetExec/pull/556/commits/25ac2e2a2a8de16df6958078925c755c79486614
added only fqdn.
https://github.com/Pennyw0rth/NetExec/pull/556/commits/fa3eba48dfa113362b51f6a0a3adc6848d3fe779
sorry for keep updating this pr. i made some adjustments for better usage.
sorry for keep updating this pr. i made some adjustments for better usage.
No worries about that :)
Thanks for the PR! I will take a look at it as soon as i have some time.
all done.
i hope it's okay since crowdstrike falcon won't allow me to clone repository so i updated manually from github web.