Skip to content

Instantly share code, notes, and snippets.

View 0xNDI's full-sized avatar

0xNDI

View GitHub Profile
@0xNDI
0xNDI / configure_krb5.py
Last active April 20, 2025 08:49 — forked from opabravo/configure_krb5.py
This script can easily configure /etc/krb5.conf for evil-winrm, by providing a domain fqdn and domain controller name
#!/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