Commit Graph

3 Commits

Author SHA1 Message Date
Coontzy1 028f0724fe Added SAM history parsing to secretsdump.py and regsecrets.py (#2059)
* Added SAM history parsing to secretsdump.py and secretsdump.py

* Update impacket/examples/regsecrets.py

Co-authored-by: Gabriel Gonzalez <gabriel.gonzalez@fortra.com>

* Update impacket/examples/secretsdump.py

Co-authored-by: Gabriel Gonzalez <gabriel.gonzalez@fortra.com>

* Update impacket/examples/secretsdump.py

Co-authored-by: Gabriel Gonzalez <gabriel.gonzalez@fortra.com>

* Update impacket/examples/regsecrets.py

Co-authored-by: Gabriel Gonzalez <gabriel.gonzalez@fortra.com>

* Update help message for -history argument

Clarified help message for -history argument to specify NTDS and SAM hashes.

* Clarify -history argument help text

Updated help text for the -history argument to clarify that it dumps NTDS and SAM hashes.

---------

Co-authored-by: Gabriel Gonzalez <gabriel.gonzalez@fortra.com>
2026-01-09 16:18:01 -03:00
Gabriel Gonzalez ae0ec300f8 Techdebt examples bootstrapping v2 (#1928)
* Standardized examples logger init method

* Fixing missing import

* Standardized examples init_ldap_session function #1

* Calling new shared function _ldap3_kerberos_login from example addcomputer

* Removed considering -debug in each example. Now it's handled in utils.

* Standardized EMPTY_LM_HASH in impacket.examples.utils

* Unify parse_identity function (phase 1)

* Standardized parse_identity

* Renamed "_ldap3_kerberos_login" to "ldap3_kerberos_login" (as it is called from outside)

* Standardize "logger" init in regsecrets.py

* Standardized LDAP login into a single function in utils.py:ldap_login
2025-03-26 22:58:39 -03:00
Julien Egloff 8b4566b12f Adding regsecrets to impacket (#1898)
Co-authored-by: laxa <laxa@ddracepro.net>
2025-03-14 17:20:46 -03:00