PyADRecon-ADWS 0.3.4__tar.gz → 0.3.5__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.
Files changed (45) hide show
  1. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/CHANGELOG.md +7 -7
  2. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/PKG-INFO +3 -3
  3. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/PyADRecon_ADWS.egg-info/PKG-INFO +3 -3
  4. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/README.md +2 -2
  5. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/helpers/adws/adws.py +5 -4
  6. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/helpers/adws/soap_templates.py +1 -1
  7. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/helpers/adws_wrapper.py +4 -2
  8. pyadrecon_adws-0.3.5/package.json +3 -0
  9. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/pyadrecon_adws.py +6 -9
  10. pyadrecon_adws-0.3.4/package.json +0 -3
  11. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/.dockerignore +0 -0
  12. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/.github/FUNDING.yml +0 -0
  13. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  14. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  15. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/.github/pyadrecon.png +0 -0
  16. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/.github/workflows/conventional-commits.yml +0 -0
  17. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/.github/workflows/pypi.yml +0 -0
  18. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/.gitignore +0 -0
  19. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/Dockerfile +0 -0
  20. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/LICENSE +0 -0
  21. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/PyADRecon_ADWS.egg-info/SOURCES.txt +0 -0
  22. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/PyADRecon_ADWS.egg-info/dependency_links.txt +0 -0
  23. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/PyADRecon_ADWS.egg-info/entry_points.txt +0 -0
  24. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/PyADRecon_ADWS.egg-info/requires.txt +0 -0
  25. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/PyADRecon_ADWS.egg-info/top_level.txt +0 -0
  26. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/helpers/__init__.py +0 -0
  27. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/helpers/adws/__init__.py +0 -0
  28. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/helpers/adws/encoder/__init__.py +0 -0
  29. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/helpers/adws/encoder/encoder.py +0 -0
  30. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/helpers/adws/encoder/records/__init__.py +0 -0
  31. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/helpers/adws/encoder/records/attributes.py +0 -0
  32. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/helpers/adws/encoder/records/constants.py +0 -0
  33. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/helpers/adws/encoder/records/datatypes.py +0 -0
  34. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/helpers/adws/encoder/records/elements.py +0 -0
  35. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/helpers/adws/encoder/records/record.py +0 -0
  36. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/helpers/adws/encoder/records/text.py +0 -0
  37. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/helpers/adws/encoder/records/utils.py +0 -0
  38. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/helpers/adws/encoder/xml_parser.py +0 -0
  39. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/helpers/adws/ms_nmf.py +0 -0
  40. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/helpers/adws/ms_nns.py +0 -0
  41. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/pyproject.toml +0 -0
  42. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/requirements.txt +0 -0
  43. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/setup.cfg +0 -0
  44. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/windows/README.md +0 -0
  45. {pyadrecon_adws-0.3.4 → pyadrecon_adws-0.3.5}/windows/pyadrecon_adws.exe +0 -0
@@ -1,3 +1,10 @@
1
+ ## [0.3.5](https://github.com/l4rm4nd/PyADRecon-ADWS/compare/v0.3.4...v0.3.5) (2026-02-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * make --page-size and -v working ([e4bb00d](https://github.com/l4rm4nd/PyADRecon-ADWS/commit/e4bb00d348f82b3685c11c90ab5bfaedf0452e3b))
7
+
1
8
  ## [0.3.4](https://github.com/l4rm4nd/PyADRecon-ADWS/compare/v0.3.3...v0.3.4) (2026-02-19)
2
9
 
3
10
 
@@ -26,10 +33,3 @@
26
33
 
27
34
  * dependencies for pypi builds ([92c7071](https://github.com/l4rm4nd/PyADRecon-ADWS/commit/92c707175098a823c5a6f73533543cdb851e50f8))
28
35
 
29
- ## [0.3.0](https://github.com/l4rm4nd/PyADRecon-ADWS/compare/v0.2.3...v0.3.0) (2026-02-18)
30
-
31
-
32
- ### Features
33
-
34
- * support kerberos authentication via gssapi ([c997fb4](https://github.com/l4rm4nd/PyADRecon-ADWS/commit/c997fb46990c2ffd26e82d491c5d4932acaeb332))
35
-
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyADRecon-ADWS
3
- Version: 0.3.4
3
+ Version: 0.3.5
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, a standalone executable is provided. Look [here](https://github.com/l4rm4nd/PyADRecon/tree/main/windows).
56
+ > For Windows, a standalone executable is provided. Look [here](https://github.com/l4rm4nd/PyADRecon/tree/main/windows). Only NTLM authentication works on Windows atm. Kerberos still broken but works on Linux.
57
57
 
58
58
  ## Usage
59
59
 
@@ -187,7 +187,7 @@ Though, you can freely select your own collection of modules to run:
187
187
  ## Acknowledgements
188
188
 
189
189
  Many thanks to the following folks:
190
- - [S3cur3Th1sSh1t](https://github.com/S3cur3Th1sSh1t) for a first Claude draft of an alike PyADRecon LDAP port
190
+ - [S3cur3Th1sSh1t](https://github.com/S3cur3Th1sSh1t) for a first Claude draft of PyADRecon using LDAP
191
191
  - [Sense-of-Security](https://github.com/sense-of-security) for the original ADRecon script in PowerShell
192
192
  - [dirkjanm](https://github.com/dirkjanm) for the original ldapdomaindump script
193
193
  - [mverschu](https://github.com/mverschu) for his port of ldapdomaindump using ADWS (adwsdomaindump). PyADRecon-ADWS heavily makes use of the ldap-to-adws wrapper.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyADRecon-ADWS
3
- Version: 0.3.4
3
+ Version: 0.3.5
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, a standalone executable is provided. Look [here](https://github.com/l4rm4nd/PyADRecon/tree/main/windows).
56
+ > For Windows, a standalone executable is provided. Look [here](https://github.com/l4rm4nd/PyADRecon/tree/main/windows). Only NTLM authentication works on Windows atm. Kerberos still broken but works on Linux.
57
57
 
58
58
  ## Usage
59
59
 
@@ -187,7 +187,7 @@ Though, you can freely select your own collection of modules to run:
187
187
  ## Acknowledgements
188
188
 
189
189
  Many thanks to the following folks:
190
- - [S3cur3Th1sSh1t](https://github.com/S3cur3Th1sSh1t) for a first Claude draft of an alike PyADRecon LDAP port
190
+ - [S3cur3Th1sSh1t](https://github.com/S3cur3Th1sSh1t) for a first Claude draft of PyADRecon using LDAP
191
191
  - [Sense-of-Security](https://github.com/sense-of-security) for the original ADRecon script in PowerShell
192
192
  - [dirkjanm](https://github.com/dirkjanm) for the original ldapdomaindump script
193
193
  - [mverschu](https://github.com/mverschu) for his port of ldapdomaindump using ADWS (adwsdomaindump). PyADRecon-ADWS heavily makes use of the ldap-to-adws wrapper.
@@ -33,7 +33,7 @@ pyadrecon_adws --version
33
33
  ````
34
34
 
35
35
  > [!TIP]
36
- > For Windows, a standalone executable is provided. Look [here](https://github.com/l4rm4nd/PyADRecon/tree/main/windows).
36
+ > For Windows, a standalone executable is provided. Look [here](https://github.com/l4rm4nd/PyADRecon/tree/main/windows). Only NTLM authentication works on Windows atm. Kerberos still broken but works on Linux.
37
37
 
38
38
  ## Usage
39
39
 
@@ -167,7 +167,7 @@ Though, you can freely select your own collection of modules to run:
167
167
  ## Acknowledgements
168
168
 
169
169
  Many thanks to the following folks:
170
- - [S3cur3Th1sSh1t](https://github.com/S3cur3Th1sSh1t) for a first Claude draft of an alike PyADRecon LDAP port
170
+ - [S3cur3Th1sSh1t](https://github.com/S3cur3Th1sSh1t) for a first Claude draft of PyADRecon using LDAP
171
171
  - [Sense-of-Security](https://github.com/sense-of-security) for the original ADRecon script in PowerShell
172
172
  - [dirkjanm](https://github.com/dirkjanm) for the original ldapdomaindump script
173
173
  - [mverschu](https://github.com/mverschu) for his port of ldapdomaindump using ADWS (adwsdomaindump). PyADRecon-ADWS heavily makes use of the ldap-to-adws wrapper.
@@ -167,12 +167,13 @@ class KerberosAuth(ADWSAuthType):
167
167
  self.spn = spn
168
168
 
169
169
  class ADWSConnect:
170
- def __init__(self, fqdn: str, domain: str, username: str, auth: NTLMAuth | KerberosAuth, resource: str ):
170
+ def __init__(self, fqdn: str, domain: str, username: str, auth: NTLMAuth | KerberosAuth, resource: str, page_size: int = 256):
171
171
  self._fqdn = fqdn
172
172
  self._domain = domain
173
173
  self._username = username
174
174
  self._auth = auth
175
175
  self._resource: str = resource
176
+ self._page_size: int = page_size
176
177
  self._nmf: NMFConnection = self._connect(self._fqdn, self._resource)
177
178
 
178
179
  def _create_NNS_from_auth(self, sock: socket.socket) -> NNS:
@@ -306,7 +307,7 @@ class ADWSConnect:
306
307
  }
307
308
 
308
309
  def _pull_results(self, remoteName: str, nmf: NMFConnection, enum_ctx: str) -> tuple[ElementTree.Element | None, bool]:
309
- pull_vars = {"uuid": str(uuid4()), "fqdn": remoteName, "enum_ctx": enum_ctx}
310
+ pull_vars = {"uuid": str(uuid4()), "fqdn": remoteName, "enum_ctx": enum_ctx, "max_elements": self._page_size}
310
311
  pull_request_soap = LDAP_PULL_FSTRING.format(**pull_vars)
311
312
 
312
313
  nmf.send(pull_request_soap)
@@ -416,8 +417,8 @@ class ADWSConnect:
416
417
  return aggregated_items_root
417
418
 
418
419
  @classmethod
419
- def pull_client(cls, ip: str, domain: str, username: str, auth: NTLMAuth | KerberosAuth) -> Self:
420
- return cls(ip, domain, username, auth, "Enumeration")
420
+ def pull_client(cls, ip: str, domain: str, username: str, auth: NTLMAuth | KerberosAuth, page_size: int = 256) -> Self:
421
+ return cls(ip, domain, username, auth, "Enumeration", page_size=page_size)
421
422
 
422
423
  @classmethod
423
424
  def put_client(cls, ip: str, domain: str, username: str, auth: NTLMAuth | KerberosAuth) -> Self:
@@ -87,7 +87,7 @@ LDAP_PULL_FSTRING: str = """<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-
87
87
  <s:Body xmlns:wsen="http://schemas.xmlsoap.org/ws/2004/09/enumeration">
88
88
  <wsen:Pull>
89
89
  <wsen:EnumerationContext>{enum_ctx}</wsen:EnumerationContext>
90
- <wsen:MaxElements>256</wsen:MaxElements>
90
+ <wsen:MaxElements>{max_elements}</wsen:MaxElements>
91
91
  <ad:controls>
92
92
  <ad:control criticality="true" type="1.2.840.113556.1.4.801">
93
93
  <ad:controlValue xsi:type="xsd:base64Binary">MIQAAAADAgEH</ad:controlValue>
@@ -160,12 +160,13 @@ class ADWSConnection:
160
160
  """
161
161
  def __init__(self, server: ADWSServer, user: Optional[str] = None,
162
162
  password: Optional[str] = None, authentication: Any = None,
163
- spn: Optional[str] = None):
163
+ spn: Optional[str] = None, page_size: int = 256):
164
164
  self.server = server
165
165
  self.user = user
166
166
  self.password = password
167
167
  self.authentication = authentication
168
168
  self.spn = spn
169
+ self.page_size = page_size
169
170
  self.entries = []
170
171
  self._adws_client = None
171
172
  self._root_dn = None
@@ -207,7 +208,8 @@ class ADWSConnection:
207
208
  ip=self.server.host,
208
209
  domain=domain,
209
210
  username=username,
210
- auth=auth
211
+ auth=auth,
212
+ page_size=self.page_size
211
213
  )
212
214
 
213
215
  # Get root DN from RootDSE
@@ -0,0 +1,3 @@
1
+ {
2
+ "version": "0.3.5"
3
+ }
@@ -69,7 +69,7 @@ except ImportError:
69
69
  print("[*] openpyxl not available - Excel export disabled")
70
70
 
71
71
  # Constants
72
- VERSION = "v0.3.4" # Automatically updated by CI/CD pipeline during release
72
+ VERSION = "v0.3.5" # Automatically updated by CI/CD pipeline during release
73
73
  BANNER = f"""
74
74
  ╔═══════════════════════════════════════════════════════════════════
75
75
  ║ PyADRecon-ADWS {VERSION} - Python AD Reconnaissance Tool (ADWS)
@@ -158,11 +158,7 @@ GROUP_TYPE = {
158
158
  -2147483640: "Universal Security",
159
159
  }
160
160
 
161
- # Logging setup
162
- logging.basicConfig(
163
- level=logging.INFO,
164
- format='[%(levelname)s] %(message)s'
165
- )
161
+ # Logging setup - level will be configured in main() based on -v flag
166
162
  logger = logging.getLogger('PyADRecon')
167
163
 
168
164
 
@@ -779,7 +775,8 @@ class PyADRecon:
779
775
  user=self.config.username,
780
776
  password=self.config.password,
781
777
  authentication=self.config.auth_method,
782
- spn=self.config.spn
778
+ spn=self.config.spn,
779
+ page_size=self.config.page_size
783
780
  )
784
781
 
785
782
  # Bind (authenticate)
@@ -6723,10 +6720,10 @@ Examples:
6723
6720
 
6724
6721
  # Configure logging level
6725
6722
  if args.verbose:
6726
- logging.basicConfig(level=logging.DEBUG, format='%(levelname)s - %(message)s')
6723
+ logging.basicConfig(level=logging.DEBUG, format='[%(levelname)s] %(message)s', force=True)
6727
6724
  logger.setLevel(logging.DEBUG)
6728
6725
  else:
6729
- logging.basicConfig(level=logging.INFO, format='%(message)s')
6726
+ logging.basicConfig(level=logging.INFO, format='[%(levelname)s] %(message)s', force=True)
6730
6727
  logger.setLevel(logging.INFO)
6731
6728
 
6732
6729
  # Validate required arguments for normal mode
@@ -1,3 +0,0 @@
1
- {
2
- "version": "0.3.4"
3
- }
File without changes
File without changes