repositories

NixDaemon

NixOS pentest workstation as one flake — IceBreaker's successor

clonegit clone https://git.daemon-sec.xyz/NixDaemon.git
tmux-target.shShell8 lines348 Braw download
#!/usr/bin/env bash
# Prints the current htbbox target for the tmux status bar (empty if none).
# Same state files as $TARGET/$BOX; `htbbox clear` empties it.
d="${XDG_STATE_HOME:-$HOME/.local/state}/htb"
[ -s "$d/target" ] || exit 0
ip=$(head -1 "$d/target"); box=target
[ -s "$d/box" ] && box=$(head -1 "$d/box")
printf '   %s  %s ' "$box" "$ip"