Skip to content

Instantly share code, notes, and snippets.

@zetta0
zetta0 / Display_openvpn_IP_in_Kali_Panel.md
Created September 10, 2025 15:08 — forked from sw1ndl3d/Display_openvpn_IP_in_Kali_Panel.md
Display openvpn IP in Kali Panel

How to get Kali to automagically display your active Openvpn connection in the panel

Do you have a Kali machine that doesn't display your IP address in the panel bar when you connect to openvpn for OSCP, Tryhackme, HTB, or any other labs? It can be annoying having to open a new tab or always trying to remember what your IP is (at least for me).

Fear not! For here is a simple fix:

  1. Check to see if you have a .sh file at this location: ls -la /usr/share/kali-themes/xfce4-panel-genmon-vpnip.sh

  2. If you do, read on, if not click -> if you do not

@zetta0
zetta0 / dementor.py
Created May 29, 2025 00:24 — forked from 3xocyte/dementor.py
rough PoC to connect to spoolss to elicit machine account authentication
#!/usr/bin/env python
# abuse cases and better implementation from the original discoverer: https://github.com/leechristensen/SpoolSample
# some code from https://www.exploit-db.com/exploits/2879/
import os
import sys
import argparse
import binascii
import ConfigParser