Skip to content

Instantly share code, notes, and snippets.

@0xNDI
0xNDI / fix-rusthound.py
Created October 5, 2025 07:39
Fix rusthound zip so it imports to latest BH CE
#!/usr/bin/env python3
import json
import sys
import zipfile
import tempfile
import os
import shutil
def main():
if len(sys.argv) != 2:
@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