Skip to content

Instantly share code, notes, and snippets.

View znre's full-sized avatar

Zandro Nathaniel Estrada znre

View GitHub Profile
@znre
znre / configure_krb5.py
Created January 23, 2025 11:18 — forked from zhsh9/configure_krb5.py
This script can easily configure /etc/krb5.conf for evil-winrm, by providing a domain fqdn and domain controller name
"""
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
```