Skip to content

Commit

Permalink
Merge pull request #111 from franc-pentest/ESC15
Browse files Browse the repository at this point in the history
Add msPKI-Template-Schema-Version for ESC15
  • Loading branch information
tiyeuse authored Oct 8, 2024
2 parents 68893f0 + 8794511 commit 975b985
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.69
1.0.70
5 changes: 5 additions & 0 deletions ldeep/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,7 @@ def list_templates(self, kwargs):
"msPKI-Certificate-Name-Flag",
"msPKI-Enrollment-Flag",
"pKIExtendedKeyUsage",
"msPKI-Template-Schema-Version",
"nTSecurityDescriptor",
]

Expand Down Expand Up @@ -844,6 +845,10 @@ def list_templates(self, kwargs):
)
print(f"{'Requires Manager Approval':<30}: {manager_approval>0}")

print(
f"{'Template Schema Version':<30}: {result['msPKI-Template-Schema-Version']}"
)

if ekus:
print(f"{'Extended Key Usage':<30}: {ekus[0]}")
for eku in ekus[1:]:
Expand Down

0 comments on commit 975b985

Please sign in to comment.