# modules/features/pentest/default.nix — the toolkit as one NixOS module # (self.nixosModules.pentest), assembled from the named modules it imports. # # The host imports this one name, so adding a category means editing this file # and nothing else — the same arrangement as modules/home/default.nix. # # daemon.pentest.enable the master switch # daemon.pentest..enable per category, declared by the category # itself (_sets.nix) # # Default-on categories are the ones CPTS exercises; DFIR, reversing, wireless, # cloud, OSINT and mobile ship switched off (see each file's `default`). { self, ... }: { flake.nixosModules.pentest = { ... }: { imports = with self.nixosModules; [ pentest-nixpkgs # the overlay the toolkit needs (see _overlay.nix) pentest-options # the master switch and the options no category owns pentest-core # ncat, socat, smbclient, kerberos, ldap; $PAYLOADS/$WORDLISTS pentest-wordlists # seclists, rockyou, searchsploit → $WORDLISTS pentest-python # one offensive python env; impacket by name pentest-recon # port, service, host and DNS enumeration pentest-ad # kerberos, LDAP, SMB, ADCS, relaying pentest-web # fuzzing, injection, scanners, proxies pentest-pivot # tunnelling and port forwarding; proxychains config pentest-crack # hashcat, john, hydra and friends pentest-shells # payloads, listeners, RDP, file transfer pentest-bloodhound # BloodHound CE + neo4j + postgresql (manual start) pentest-vpn # htbvpn: the HTB tunnel as a systemd template unit pentest-time # htb-time: conflict-aware clock skew for Kerberos pentest-htb # htbtime, htb-hosts, $TARGET in every terminal pentest-boxes # htbbox: the per-box tree, box.json, the target, clear pentest-casts # htbcast: terminal recordings as raw write-up material pentest-helpers # revshell, htbscan, hcmode (from IceBreaker) pentest-payloads # the arsenal tree and payload-serve (multi-arch, cross-built) pentest-paths # ~/pentesting, the $privesc/$potatoes/$ligolo… vars, htbpaths pentest-update # pentest-update: move the _pkgs pins forward pentest-gui # burp, zap, ghidra, wireshark (desktop entries) # Off by default; one line each in configuration.nix to enable. pentest-dfir # memory, disk, log and artefact forensics pentest-reversing # disassembly, decompilation, exploit dev pentest-wireless # wifi attacks, rogue APs, packet capture pentest-radio # SDR, bluetooth, RFID/NFC (separate hardware) pentest-hardware # firmware flashing, UART/JTAG, logic, CAN pentest-c2 # havoc, villain (metasploit is in shells) pentest-database # mysql, postgres, mssql, redis, mongo clients pentest-cloud # AWS, Azure, GCP, Kubernetes pentest-osint # public-source collection pentest-social # phishing infrastructure; authorised scope only pentest-mobile # Android application testing pentest-wine # wine + mono, for ysoserial.net and other .NET Framework exes ]; }; }