repositories

NixDaemon

NixOS pentest workstation as one flake — IceBreaker's successor

clonegit clone https://git.daemon-sec.xyz/NixDaemon.git
pentest.mdMarkdown36 lines2.2 KiBsource raw download

⚔ Pentest Environment — Overview#

Your Kali attack stack, driven from macOS. Native tools where they run (nxc, impacket, dalfox…); the kali-htb Docker container for the Linux-only bits (htb-exec drops you inside). Set a target once with t <ip> — most commands default to it ($TARGET).

Area Reach for Cheat
Lab & target t <ip> · htb-up/down · htb-vpn · hosts-box · box <n> cheat htb
Recon rustscan/rs* · nmap · auto-enum · *-enum cheat recon
Web enum-web · fuzz/ferox · sqli-test · lfi-test cheat web
XSS xss-scan <url> — harvest→gf→Gxss→dalfox cheat xss-scan
SMB/AD sweep nxc · nxc-smb/ldap/winrm · e4l · smb-shares cheat nxc
Impacket impacket-secrets · -wmiexec · -getspn … cheat impacket
AD attacks kerberoast · asrep · dcsync · adcs-find · pth/ptt cheat ad
BloodHound bhce-collect · CE GUI · starter Cypher cheat bloodhound
Cracking hc/hc-rock · hcrack · john · brute-ssh cheat cracking
Pivoting ligolo-setup · pivot-chisel · pc (proxychains) cheat pivoting
Shells listen · revshell · serve · shell-upgrade · gtfo cheat shells
C2 sliver-* · havoc-* cheat c2

The core loop:

  1. t 10.10.11.x — set target · hosts-box <name> — add to /etc/hosts.
  2. rustscan / auto-enum — find open ports & services (cheat recon).
  3. Per service: cheat web, cheat nxc, ftp-enum/smtp-enum/snmp-enum.
  4. Foothold → shell-upgrade to a stable pty (cheat shells).
  5. Domain? → bhce-collect + cheat ad for the path to DA.
  6. Loot hashes → cheat cracking. Need to reach another subnet → cheat pivoting.

Habits that save time:

Browse all guides: cheat menu · Full command list: pentest-help