This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
This script can easily configure /etc/krb5.conf for evil-winrm, by providing a domain fqdn and domain controller name | |
So that evil-winrm can be used with kerberos authentication | |
Evil-winrm Example: | |
```bash | |
export KRB5CCNAME=Administrator.ccache | |
evil-winrm -i forest.htb.local -r htb.local |