mirror of
https://github.com/Pennyw0rth/NetExec.git
synced 2026-11-07 09:26:01 -10:00
Merge branch 'main' into ldaptiemout
This commit is contained in:
2 files changed
+3
-3
No files matched your search
@@ -451,7 +451,7 @@ class mssql(connection):
|
||||
|
||||
# Query known group to determine raw SID & convert to canon
|
||||
raw_domain_sid = self.conn.sql_query(f"SELECT SUSER_SID('{domain}\\Domain Admins')")[0][""]
|
||||
domain_sid = SID(bytes.fromhex(raw_domain_sid.decode())).formatCanonical()[:-4]
|
||||
domain_sid = SID(bytes.fromhex(raw_domain_sid)).formatCanonical()[:-4]
|
||||
except Exception as e:
|
||||
self.logger.fail(f"Error parsing SID. Not domain joined?: {e}")
|
||||
return entries
|
||||
|
||||
Generated
+2
-2
@@ -516,7 +516,7 @@ dev = ["black (>=23.0.0)", "mypy (>=1.0.0)", "pytest (>=7.0.0)", "pytest-cov (>=
|
||||
|
||||
[[package]]
|
||||
name = "certipy-ad"
|
||||
version = "5.0.4"
|
||||
version = "5.1.0"
|
||||
description = "Active Directory Certificate Services enumeration and abuse"
|
||||
optional = false
|
||||
python-versions = ">=3.10"
|
||||
@@ -544,7 +544,7 @@ bloodhound = ["neo4j (>=5.28.1,<5.29.0)"]
|
||||
type = "git"
|
||||
url = "https://github.com/Pennyw0rth/Certipy"
|
||||
reference = "HEAD"
|
||||
resolved_reference = "49a4aa6b17d2246491a81f89b0d7d74b732c66d4"
|
||||
resolved_reference = "069e03113095aa02772aa3d8debea90654933fe4"
|
||||
|
||||
[[package]]
|
||||
name = "cffi"
|
||||
|
||||
Reference in new issue
Block a user