PyADRecon-ADWS 0.3.11__tar.gz → 0.3.12__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/CHANGELOG.md +7 -7
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/PKG-INFO +1 -1
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/PyADRecon_ADWS.egg-info/PKG-INFO +1 -1
- pyadrecon_adws-0.3.12/package.json +3 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/pyadrecon_adws.py +48 -1
- pyadrecon_adws-0.3.11/package.json +0 -3
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/.dockerignore +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/.github/FUNDING.yml +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/.github/pyadrecon.png +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/.github/workflows/conventional-commits.yml +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/.github/workflows/pypi.yml +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/.gitignore +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/Dockerfile +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/LICENSE +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/PyADRecon_ADWS.egg-info/SOURCES.txt +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/PyADRecon_ADWS.egg-info/dependency_links.txt +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/PyADRecon_ADWS.egg-info/entry_points.txt +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/PyADRecon_ADWS.egg-info/requires.txt +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/PyADRecon_ADWS.egg-info/top_level.txt +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/README.md +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/helpers/__init__.py +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/helpers/adws/__init__.py +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/helpers/adws/adws.py +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/helpers/adws/encoder/__init__.py +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/helpers/adws/encoder/encoder.py +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/helpers/adws/encoder/records/__init__.py +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/helpers/adws/encoder/records/attributes.py +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/helpers/adws/encoder/records/constants.py +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/helpers/adws/encoder/records/datatypes.py +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/helpers/adws/encoder/records/elements.py +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/helpers/adws/encoder/records/record.py +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/helpers/adws/encoder/records/text.py +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/helpers/adws/encoder/records/utils.py +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/helpers/adws/encoder/xml_parser.py +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/helpers/adws/ms_nmf.py +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/helpers/adws/ms_nns.py +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/helpers/adws/soap_templates.py +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/helpers/adws_wrapper.py +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/pyproject.toml +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/requirements.txt +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/setup.cfg +0 -0
- {pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/windows/README.md +0 -0
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [0.3.12](https://github.com/l4rm4nd/PyADRecon-ADWS/compare/v0.3.11...v0.3.12) (2026-02-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* initialize sid mappings earlier to support individual --collect adcs runs ([e2ce483](https://github.com/l4rm4nd/PyADRecon-ADWS/commit/e2ce483ca44ad805bd1749808f3cc11ee958d5ce))
|
|
7
|
+
|
|
1
8
|
## [0.3.11](https://github.com/l4rm4nd/PyADRecon-ADWS/compare/v0.3.10...v0.3.11) (2026-02-20)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -26,10 +33,3 @@
|
|
|
26
33
|
|
|
27
34
|
* support forest-child enumerations with proper sid resolving ([15aff39](https://github.com/l4rm4nd/PyADRecon-ADWS/commit/15aff39c015a5d017e8c6c9cb7a3dd4763af6d0b))
|
|
28
35
|
|
|
29
|
-
## [0.3.7](https://github.com/l4rm4nd/PyADRecon-ADWS/compare/v0.3.6...v0.3.7) (2026-02-19)
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
### Bug Fixes
|
|
33
|
-
|
|
34
|
-
* forest support for child domain environments ([1deacd3](https://github.com/l4rm4nd/PyADRecon-ADWS/commit/1deacd355dc4ce58e336a3b72ba758209e24297d))
|
|
35
|
-
|
|
@@ -69,7 +69,7 @@ except ImportError:
|
|
|
69
69
|
print("[*] openpyxl not available - Excel export disabled")
|
|
70
70
|
|
|
71
71
|
# Constants
|
|
72
|
-
VERSION = "v0.3.
|
|
72
|
+
VERSION = "v0.3.12" # Automatically updated by CI/CD pipeline during release
|
|
73
73
|
BANNER = f"""
|
|
74
74
|
╔═══════════════════════════════════════════════════════════════════
|
|
75
75
|
║ PyADRecon-ADWS {VERSION} - Python AD Reconnaissance Tool (ADWS)
|
|
@@ -1562,6 +1562,49 @@ class PyADRecon:
|
|
|
1562
1562
|
|
|
1563
1563
|
return principal_lower in low_priv_names
|
|
1564
1564
|
|
|
1565
|
+
def _initialize_sid_mappings(self):
|
|
1566
|
+
"""Initialize SID to domain name mappings for cross-domain SID resolution.
|
|
1567
|
+
This runs silently before collections to populate domain_sid_to_name cache.
|
|
1568
|
+
"""
|
|
1569
|
+
try:
|
|
1570
|
+
# Get current domain SID and name
|
|
1571
|
+
entries = self.search(
|
|
1572
|
+
search_base=self.base_dn,
|
|
1573
|
+
search_filter='(objectCategory=domainDNS)',
|
|
1574
|
+
attributes=['objectSid']
|
|
1575
|
+
)
|
|
1576
|
+
|
|
1577
|
+
if entries:
|
|
1578
|
+
sid_bytes = get_attr(entries[0], 'objectSid')
|
|
1579
|
+
if sid_bytes:
|
|
1580
|
+
self.domain_sid = sid_to_str(sid_bytes)
|
|
1581
|
+
domain_name = dn_to_fqdn(self.base_dn)
|
|
1582
|
+
self.domain_sid_to_name[self.domain_sid] = domain_name
|
|
1583
|
+
logger.debug(f"Initialized current domain SID: {self.domain_sid} -> {domain_name}")
|
|
1584
|
+
|
|
1585
|
+
# Get trusted domain SIDs and names
|
|
1586
|
+
trust_entries = self.search(
|
|
1587
|
+
search_base=self.base_dn,
|
|
1588
|
+
search_filter='(objectCategory=trustedDomain)',
|
|
1589
|
+
attributes=['trustPartner', 'securityIdentifier']
|
|
1590
|
+
)
|
|
1591
|
+
|
|
1592
|
+
for entry in trust_entries:
|
|
1593
|
+
trusted_domain_sid_bytes = get_attr(entry, 'securityIdentifier')
|
|
1594
|
+
trusted_domain_name = get_attr(entry, 'trustPartner', '')
|
|
1595
|
+
|
|
1596
|
+
if trusted_domain_sid_bytes and trusted_domain_name:
|
|
1597
|
+
try:
|
|
1598
|
+
trusted_domain_sid = sid_to_str(trusted_domain_sid_bytes)
|
|
1599
|
+
self.domain_sid_to_name[trusted_domain_sid] = trusted_domain_name
|
|
1600
|
+
logger.debug(f"Initialized trusted domain SID: {trusted_domain_sid} -> {trusted_domain_name}")
|
|
1601
|
+
except Exception:
|
|
1602
|
+
pass
|
|
1603
|
+
|
|
1604
|
+
except Exception as e:
|
|
1605
|
+
logger.debug(f"Error initializing SID mappings: {e}")
|
|
1606
|
+
# Non-fatal - continue even if this fails
|
|
1607
|
+
|
|
1565
1608
|
def collect_domain_info(self) -> List[Dict]:
|
|
1566
1609
|
"""Collect domain information."""
|
|
1567
1610
|
logger.info("[-] Collecting Domain Information...")
|
|
@@ -5004,6 +5047,10 @@ class PyADRecon:
|
|
|
5004
5047
|
if not self.connect():
|
|
5005
5048
|
return False
|
|
5006
5049
|
|
|
5050
|
+
# Initialize SID mappings for cross-domain resolution
|
|
5051
|
+
# This ensures SID-to-domain-name mapping works even with --collect flags
|
|
5052
|
+
self._initialize_sid_mappings()
|
|
5053
|
+
|
|
5007
5054
|
# Collect about info first
|
|
5008
5055
|
self.results['AboutPyADRecon'] = self.collect_about()
|
|
5009
5056
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyadrecon_adws-0.3.11 → pyadrecon_adws-0.3.12}/PyADRecon_ADWS.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|