Merge pull request #1314 from Pennyw0rth/neff-fix-mssql-rid-brute

This commit is contained in:
Alex authored and GitHub committed 2026-07-15 23:18:14 +02:00
commit ff198407f8
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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
View File
@@ -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"