PyADRecon-ADWS 0.3.10__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.10 → pyadrecon_adws-0.3.12}/CHANGELOG.md +10 -10
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/PKG-INFO +2 -2
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/PyADRecon_ADWS.egg-info/PKG-INFO +2 -2
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/PyADRecon_ADWS.egg-info/SOURCES.txt +1 -2
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/README.md +1 -1
- pyadrecon_adws-0.3.12/package.json +3 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/pyadrecon_adws.py +107 -6
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/windows/README.md +3 -11
- pyadrecon_adws-0.3.10/package.json +0 -3
- pyadrecon_adws-0.3.10/windows/pyadrecon_adws.exe +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/.dockerignore +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/.github/FUNDING.yml +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/.github/pyadrecon.png +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/.github/workflows/conventional-commits.yml +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/.github/workflows/pypi.yml +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/.gitignore +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/Dockerfile +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/LICENSE +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/PyADRecon_ADWS.egg-info/dependency_links.txt +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/PyADRecon_ADWS.egg-info/entry_points.txt +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/PyADRecon_ADWS.egg-info/requires.txt +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/PyADRecon_ADWS.egg-info/top_level.txt +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/helpers/__init__.py +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/helpers/adws/__init__.py +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/helpers/adws/adws.py +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/helpers/adws/encoder/__init__.py +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/helpers/adws/encoder/encoder.py +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/helpers/adws/encoder/records/__init__.py +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/helpers/adws/encoder/records/attributes.py +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/helpers/adws/encoder/records/constants.py +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/helpers/adws/encoder/records/datatypes.py +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/helpers/adws/encoder/records/elements.py +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/helpers/adws/encoder/records/record.py +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/helpers/adws/encoder/records/text.py +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/helpers/adws/encoder/records/utils.py +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/helpers/adws/encoder/xml_parser.py +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/helpers/adws/ms_nmf.py +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/helpers/adws/ms_nns.py +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/helpers/adws/soap_templates.py +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/helpers/adws_wrapper.py +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/pyproject.toml +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/requirements.txt +0 -0
- {pyadrecon_adws-0.3.10 → pyadrecon_adws-0.3.12}/setup.cfg +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
## [0.3.
|
|
1
|
+
## [0.3.12](https://github.com/l4rm4nd/PyADRecon-ADWS/compare/v0.3.11...v0.3.12) (2026-02-20)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* initialize sid mappings earlier to support individual --collect adcs runs ([e2ce483](https://github.com/l4rm4nd/PyADRecon-ADWS/commit/e2ce483ca44ad805bd1749808f3cc11ee958d5ce))
|
|
7
7
|
|
|
8
|
-
## [0.3.
|
|
8
|
+
## [0.3.11](https://github.com/l4rm4nd/PyADRecon-ADWS/compare/v0.3.10...v0.3.11) (2026-02-20)
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
### Bug Fixes
|
|
12
12
|
|
|
13
|
-
*
|
|
13
|
+
* properly traverse sids and display child/parent domain names for adcs certificate templates ([3e8b113](https://github.com/l4rm4nd/PyADRecon-ADWS/commit/3e8b113832ab66e3139a081344fdad0dd38af59d))
|
|
14
14
|
|
|
15
|
-
## [0.3.
|
|
15
|
+
## [0.3.10](https://github.com/l4rm4nd/PyADRecon-ADWS/compare/v0.3.9...v0.3.10) (2026-02-20)
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
### Bug Fixes
|
|
19
19
|
|
|
20
|
-
*
|
|
20
|
+
* properly catch referrals to parent ([3626f24](https://github.com/l4rm4nd/PyADRecon-ADWS/commit/3626f2410301216b6969e724d8119e158ce372ff))
|
|
21
21
|
|
|
22
|
-
## [0.3.
|
|
22
|
+
## [0.3.9](https://github.com/l4rm4nd/PyADRecon-ADWS/compare/v0.3.8...v0.3.9) (2026-02-19)
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
### Bug Fixes
|
|
26
26
|
|
|
27
|
-
*
|
|
27
|
+
* columns coloring for user and computer stats tab ([c7b8b02](https://github.com/l4rm4nd/PyADRecon-ADWS/commit/c7b8b0209722614685e5c4326a7d5c6d7328ec6d))
|
|
28
28
|
|
|
29
|
-
## [0.3.
|
|
29
|
+
## [0.3.8](https://github.com/l4rm4nd/PyADRecon-ADWS/compare/v0.3.7...v0.3.8) (2026-02-19)
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
### Bug Fixes
|
|
33
33
|
|
|
34
|
-
*
|
|
34
|
+
* support forest-child enumerations with proper sid resolving ([15aff39](https://github.com/l4rm4nd/PyADRecon-ADWS/commit/15aff39c015a5d017e8c6c9cb7a3dd4763af6d0b))
|
|
35
35
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyADRecon-ADWS
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.12
|
|
4
4
|
Summary: Python Active Directory Reconnaissance Tool (ADRecon port) using ADWS with NTLM support.
|
|
5
5
|
Author: LRVT
|
|
6
6
|
License-Expression: MIT
|
|
@@ -53,7 +53,7 @@ pyadrecon_adws --version
|
|
|
53
53
|
````
|
|
54
54
|
|
|
55
55
|
> [!TIP]
|
|
56
|
-
> For Windows,
|
|
56
|
+
> For Windows, may read [this](https://github.com/l4rm4nd/PyADRecon/tree/main/windows). Only NTLM authentication works on Windows atm.
|
|
57
57
|
|
|
58
58
|
## Usage
|
|
59
59
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyADRecon-ADWS
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.12
|
|
4
4
|
Summary: Python Active Directory Reconnaissance Tool (ADRecon port) using ADWS with NTLM support.
|
|
5
5
|
Author: LRVT
|
|
6
6
|
License-Expression: MIT
|
|
@@ -53,7 +53,7 @@ pyadrecon_adws --version
|
|
|
53
53
|
````
|
|
54
54
|
|
|
55
55
|
> [!TIP]
|
|
56
|
-
> For Windows,
|
|
56
|
+
> For Windows, may read [this](https://github.com/l4rm4nd/PyADRecon/tree/main/windows). Only NTLM authentication works on Windows atm.
|
|
57
57
|
|
|
58
58
|
## Usage
|
|
59
59
|
|
|
@@ -33,7 +33,7 @@ pyadrecon_adws --version
|
|
|
33
33
|
````
|
|
34
34
|
|
|
35
35
|
> [!TIP]
|
|
36
|
-
> For Windows,
|
|
36
|
+
> For Windows, may read [this](https://github.com/l4rm4nd/PyADRecon/tree/main/windows). Only NTLM authentication works on Windows atm.
|
|
37
37
|
|
|
38
38
|
## Usage
|
|
39
39
|
|
|
@@ -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)
|
|
@@ -294,8 +294,14 @@ def dn_to_fqdn(dn: str) -> str:
|
|
|
294
294
|
|
|
295
295
|
|
|
296
296
|
def sid_to_str(sid_bytes: bytes) -> str:
|
|
297
|
-
"""Convert binary SID to string format.
|
|
297
|
+
"""Convert binary SID to string format.
|
|
298
|
+
Handles both raw bytes and base64-encoded strings."""
|
|
298
299
|
try:
|
|
300
|
+
# Handle base64-encoded strings
|
|
301
|
+
if isinstance(sid_bytes, str):
|
|
302
|
+
import base64
|
|
303
|
+
sid_bytes = base64.b64decode(sid_bytes)
|
|
304
|
+
|
|
299
305
|
if IMPACKET_AVAILABLE:
|
|
300
306
|
return ldaptypes.LDAP_SID(sid_bytes).formatCanonical()
|
|
301
307
|
# Fallback manual parsing
|
|
@@ -758,6 +764,7 @@ class PyADRecon:
|
|
|
758
764
|
self.results: Dict[str, List] = {}
|
|
759
765
|
self.start_time: datetime = datetime.now()
|
|
760
766
|
self._sid_cache: Dict[str, str] = {} # Cache for SID-to-name resolution
|
|
767
|
+
self.domain_sid_to_name: Dict[str, str] = {} # Mapping of domain SIDs to domain names from trusts
|
|
761
768
|
|
|
762
769
|
def connect(self) -> bool:
|
|
763
770
|
"""Establish ADWS connection."""
|
|
@@ -941,8 +948,9 @@ class PyADRecon:
|
|
|
941
948
|
current_domain = self.domain_sid if hasattr(self, 'domain_sid') and self.domain_sid else None
|
|
942
949
|
|
|
943
950
|
if current_domain and sid_domain != current_domain:
|
|
944
|
-
# Cross-domain SID -
|
|
945
|
-
|
|
951
|
+
# Cross-domain SID - try to resolve the domain name
|
|
952
|
+
domain_name = self.domain_sid_to_name.get(sid_domain, "Foreign Domain")
|
|
953
|
+
result = f"[{domain_name}] {well_known_rids[rid]}"
|
|
946
954
|
else:
|
|
947
955
|
result = well_known_rids[rid]
|
|
948
956
|
|
|
@@ -1008,6 +1016,21 @@ class PyADRecon:
|
|
|
1008
1016
|
except Exception as e:
|
|
1009
1017
|
logger.debug(f"Could not resolve SID {sid} in forest root: {e}")
|
|
1010
1018
|
|
|
1019
|
+
# Before returning just the SID, check if it belongs to a known domain
|
|
1020
|
+
if sid.startswith('S-1-5-21-'):
|
|
1021
|
+
parts = sid.split('-')
|
|
1022
|
+
if len(parts) >= 8:
|
|
1023
|
+
# Extract domain SID (everything except the RID)
|
|
1024
|
+
sid_domain = '-'.join(parts[:7])
|
|
1025
|
+
# Check if this domain is in our mapping
|
|
1026
|
+
domain_name = self.domain_sid_to_name.get(sid_domain)
|
|
1027
|
+
if domain_name:
|
|
1028
|
+
# Extract the RID for display
|
|
1029
|
+
rid = parts[-1]
|
|
1030
|
+
result = f"[{domain_name} SID] {sid} (RID: {rid})"
|
|
1031
|
+
self._sid_cache[sid] = result
|
|
1032
|
+
return result
|
|
1033
|
+
|
|
1011
1034
|
# Return SID if resolution failed
|
|
1012
1035
|
result = f"[SID] {sid}"
|
|
1013
1036
|
self._sid_cache[sid] = result
|
|
@@ -1409,13 +1432,16 @@ class PyADRecon:
|
|
|
1409
1432
|
return (enrollment_principals, auto_enrollment_principals, owner_principal)
|
|
1410
1433
|
|
|
1411
1434
|
# Parse each ACE in the DACL
|
|
1435
|
+
logger.debug(f"Parsing {len(sd['Dacl'].aces)} ACEs from security descriptor")
|
|
1412
1436
|
for ace in sd['Dacl'].aces:
|
|
1413
1437
|
try:
|
|
1414
1438
|
# Get SID from ACE
|
|
1415
1439
|
sid = ace['Ace']['Sid'].formatCanonical()
|
|
1440
|
+
logger.debug(f"Processing ACE with SID: {sid}")
|
|
1416
1441
|
|
|
1417
1442
|
# Resolve SID to name
|
|
1418
1443
|
principal_name = self._resolve_sid_to_name(sid)
|
|
1444
|
+
logger.debug(f" Resolved to: {principal_name}")
|
|
1419
1445
|
|
|
1420
1446
|
# Check if this is an ACCESS_ALLOWED_OBJECT_ACE
|
|
1421
1447
|
ace_type = ace['AceType']
|
|
@@ -1478,6 +1504,9 @@ class PyADRecon:
|
|
|
1478
1504
|
logger.debug(f"Error parsing security descriptor: {e}")
|
|
1479
1505
|
import traceback
|
|
1480
1506
|
logger.debug(traceback.format_exc())
|
|
1507
|
+
|
|
1508
|
+
logger.debug(f"Found {len(enrollment_principals)} enrollment principals: {enrollment_principals}")
|
|
1509
|
+
logger.debug(f"Found {len(auto_enrollment_principals)} auto-enrollment principals: {auto_enrollment_principals}")
|
|
1481
1510
|
|
|
1482
1511
|
return (enrollment_principals, auto_enrollment_principals, owner_principal)
|
|
1483
1512
|
|
|
@@ -1533,6 +1562,49 @@ class PyADRecon:
|
|
|
1533
1562
|
|
|
1534
1563
|
return principal_lower in low_priv_names
|
|
1535
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
|
+
|
|
1536
1608
|
def collect_domain_info(self) -> List[Dict]:
|
|
1537
1609
|
"""Collect domain information."""
|
|
1538
1610
|
logger.info("[-] Collecting Domain Information...")
|
|
@@ -1557,8 +1629,12 @@ class PyADRecon:
|
|
|
1557
1629
|
# Get domain SID
|
|
1558
1630
|
sid_bytes = get_attr(entry, 'objectSid')
|
|
1559
1631
|
self.domain_sid = sid_to_str(sid_bytes)
|
|
1632
|
+
|
|
1633
|
+
# Map current domain SID to its name for cross-domain resolution
|
|
1634
|
+
domain_name = dn_to_fqdn(self.base_dn)
|
|
1635
|
+
self.domain_sid_to_name[self.domain_sid] = domain_name
|
|
1560
1636
|
|
|
1561
|
-
results.append({"Category": "Name", "Value":
|
|
1637
|
+
results.append({"Category": "Name", "Value": domain_name})
|
|
1562
1638
|
results.append({"Category": "NetBIOS", "Value": get_attr(entry, 'name', '')})
|
|
1563
1639
|
results.append({"Category": "Functional Level", "Value": f"{func_level}Domain"})
|
|
1564
1640
|
results.append({"Category": "DomainSID", "Value": self.domain_sid})
|
|
@@ -3347,11 +3423,25 @@ class PyADRecon:
|
|
|
3347
3423
|
search_base=self.base_dn,
|
|
3348
3424
|
search_filter='(objectCategory=trustedDomain)',
|
|
3349
3425
|
attributes=['distinguishedName', 'trustPartner', 'trustDirection', 'trustType',
|
|
3350
|
-
'trustAttributes', 'whenCreated', 'whenChanged']
|
|
3426
|
+
'trustAttributes', 'whenCreated', 'whenChanged', 'securityIdentifier']
|
|
3351
3427
|
)
|
|
3352
3428
|
|
|
3353
3429
|
for entry in entries:
|
|
3354
3430
|
|
|
3431
|
+
# Get the trusted domain's SID and build mapping
|
|
3432
|
+
trusted_domain_sid_bytes = get_attr(entry, 'securityIdentifier')
|
|
3433
|
+
trusted_domain_name = get_attr(entry, 'trustPartner', '')
|
|
3434
|
+
|
|
3435
|
+
if trusted_domain_sid_bytes and trusted_domain_name:
|
|
3436
|
+
try:
|
|
3437
|
+
# Convert SID to string format (handles both bytes and base64 strings)
|
|
3438
|
+
trusted_domain_sid = sid_to_str(trusted_domain_sid_bytes)
|
|
3439
|
+
# Store mapping for SID resolution
|
|
3440
|
+
self.domain_sid_to_name[trusted_domain_sid] = trusted_domain_name
|
|
3441
|
+
logger.debug(f"Mapped trusted domain SID {trusted_domain_sid} to {trusted_domain_name}")
|
|
3442
|
+
except Exception as e:
|
|
3443
|
+
logger.debug(f"Failed to map trusted domain SID: {e}")
|
|
3444
|
+
|
|
3355
3445
|
trust_dir = get_attr(entry, 'trustDirection', 0)
|
|
3356
3446
|
trust_type = get_attr(entry, 'trustType', 0)
|
|
3357
3447
|
trust_attrs = get_attr(entry, 'trustAttributes', 0)
|
|
@@ -4196,6 +4286,13 @@ class PyADRecon:
|
|
|
4196
4286
|
def collect_certificate_templates(self) -> List[Dict]:
|
|
4197
4287
|
"""Collect AD Certificate Services certificate templates."""
|
|
4198
4288
|
logger.info("[-] Collecting ADCS Certificate Templates...")
|
|
4289
|
+
|
|
4290
|
+
# Warn if querying from child domain - ACLs may be incomplete
|
|
4291
|
+
if hasattr(self, 'forest_root_dn') and self.forest_root_dn != self.base_dn:
|
|
4292
|
+
logger.warning("[!] Connected to child domain - certificate template ACLs may be incomplete!")
|
|
4293
|
+
logger.warning(" For complete ACL data, connect to forest root DC instead.")
|
|
4294
|
+
logger.warning(f" Forest root: {dn_to_fqdn(self.forest_root_dn)}")
|
|
4295
|
+
|
|
4199
4296
|
results = []
|
|
4200
4297
|
|
|
4201
4298
|
try:
|
|
@@ -4950,6 +5047,10 @@ class PyADRecon:
|
|
|
4950
5047
|
if not self.connect():
|
|
4951
5048
|
return False
|
|
4952
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
|
+
|
|
4953
5054
|
# Collect about info first
|
|
4954
5055
|
self.results['AboutPyADRecon'] = self.collect_about()
|
|
4955
5056
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# PyADRecon-ADWS on Windows
|
|
2
2
|
|
|
3
|
-
A guide for running **PyADRecon-ADWS** on Windows systems using either
|
|
3
|
+
A guide for running **PyADRecon-ADWS** on Windows systems using either an executable or Python.
|
|
4
4
|
|
|
5
5
|
>[!CAUTION]
|
|
6
|
-
>PyADRecon-ADWS.py as well as
|
|
6
|
+
>PyADRecon-ADWS.py as well as a standalone executable may be flagged by AV/EDR software.
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
@@ -45,7 +45,7 @@ The following ports must be accessible on the Domain Controller:
|
|
|
45
45
|
|
|
46
46
|
## Quick Start
|
|
47
47
|
|
|
48
|
-
### Using the
|
|
48
|
+
### Using the executable
|
|
49
49
|
|
|
50
50
|
#### NTLM Authentication
|
|
51
51
|
```powershell
|
|
@@ -97,14 +97,6 @@ klist
|
|
|
97
97
|
|
|
98
98
|
## Installation Methods
|
|
99
99
|
|
|
100
|
-
### Using Pre-built Executable
|
|
101
|
-
|
|
102
|
-
No installation required. Simply download and run `pyadrecon_adws.exe`.
|
|
103
|
-
|
|
104
|
-
See [Quick Start](#quick-start) for usage examples.
|
|
105
|
-
|
|
106
|
-
---
|
|
107
|
-
|
|
108
100
|
### Running with Python
|
|
109
101
|
|
|
110
102
|
For development, testing, or custom builds.
|
|
Binary file
|
|
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.10 → 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
|