# modules/features/pentest/recon.nix — finding hosts, ports and names.
{ lib, ... }:
(import ./_sets.nix { inherit lib; }) {
name = "recon";
description = "port, service, host and DNS enumeration";
packages = pkgs: with pkgs; [
nmap masscan rustscan naabu fscan
nbtscan enum4linux-ng snmpcheck onesixtyone thc-ipv6
dnsrecon subfinder amass dnsx
httpx katana gowitness eyewitness whatweb
net-snmp # snmpwalk, snmpget: onesixtyone finds the community, this reads it
sslscan testssl # `testssl.sh`
arp-scan netdiscover # layer 2, once you are inside a subnet
smtp-user-enum # cytopia: -U wordlist, -u single user, then host port
swaks # Trick: SMTP testing and mail delivery
];
expectedBins = [
"nmap" "masscan" "rustscan" "naabu" "fscan"
"nbtscan" "enum4linux-ng" "snmp-check" "onesixtyone"
"dnsrecon" "subfinder" "amass" "dnsx"
"httpx" "katana" "gowitness" "whatweb"
"snmpwalk" "snmpget" "sslscan" "testssl.sh" "arp-scan" "netdiscover"
"smtp-user-enum" "swaks"
];
smokeBins = [ "smtp-user-enum" "swaks" ];
}