Commit Graph

15 Commits

Author SHA1 Message Date
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
gabrielg5 27e7e7478d Updating copyright banner... 2024-08-28 17:52:57 -03:00
Gabriel Gonzalez 9b4a139405 Updated Copyright to 2023 2023-07-31 11:48:28 -03:00
Gabriel Gonzalez 8799a1a2c4 Update file banners to reflect Fortra ownership 2022-12-14 17:28:23 -03:00
0xdeaddood 7a18ef5c8b About to tag a release 2022-05-04 11:33:16 -03:00
Arseniy Sharoglazov 67f1cb26b5 Fixing a bug when the GAL doesn't exist (3) 2022-03-23 03:38:26 +03:00
Arseniy Sharoglazov 5297ec64d1 Fixing a bug when the GAL doesn't exist (2) 2022-03-23 03:23:41 +03:00
Arseniy Sharoglazov efee5fa62a Fixing a bug in -lookup-type default value 2022-03-23 01:48:57 +03:00
Arseniy Sharoglazov 081d951d71 Fixing a bug when the GAL doesn't exist 2022-03-23 01:16:50 +03:00
Martin Gallo cd4fe47cfc Arrange tagline, copyright and license notes across all source files
This was a pending change to:
- Use the same tagline, copyright and license notice across files.
- Remove authors' contacts that are no longer valid (due to affiliation changes).
- Update repository location.
- Update license file with missing licenses (althought those were already in source files).

This doesn't include any change on the source code, nor any change on current copyright or licenses. Just formatting and phrasing to make our and distro's maintainers life easier.
2021-07-20 10:04:27 -03:00
Martin Gallo adb230256d Refactored the target parsing functions (#1053)
In reviewing #1051 (and related #347) we found out that there's some ugly duplicated code that's better suited for an utils function.

The expected target format is:
`<DOMAIN></USERNAME><:PASSWORD>@HOSTNAME`

This PR:
- Moved target parsing routine to an utils module.
- Added unit tests for the new function.
- Using the new function across example scripts that accept a target.
2021-04-22 09:11:33 -03:00
asolino fdc6c935de Fix ArgumentParser.add_subparser 'required' argument Python version supported.
- required is supported in Python 3.7+
2020-08-19 16:59:48 -03:00
Arseniy Sharoglazov 8baf55962a Fixing Travis CI tests 2020-07-30 18:02:05 +03:00
Arseniy Sharoglazov 207a6f8b0f Final changes for exchanger.py 2020-07-30 15:44:18 +03:00
Arseniy Sharoglazov 28098805b8 Adding exchanger.py 2020-07-23 11:46:17 +03:00