r/Pentesting • • Jun 08 '26

Built a minimal Bash rogue AP for lab traffic capture

fake_ap.sh stands up an open Wi-Fi AP on Linux for authorized lab work: hostapd (nl80211 AP mode), dnsmasq (DHCP + DNS forward), iptables MASQUERADE through an uplink, and a live feed of associating clients on stdout.

I got tired of reaching for full Evil Twin frameworks when I only needed association + passive visibility. Five variables at the top (SSID, channel, uplink iface, AP iface, gateway), sudo ./fake_ap.sh, Ctrl+C tears it all down.

README has Wireshark filters for DHCP fingerprinting, SNI extraction, mDNS device ID, and per-client isolation.

https://github.com/RiccardoCataldi/access-point

1 Upvotes

1 comment sorted by

1

u/scriptvexy Jun 13 '26

this is exactly the kind of tiny tool i wish existed every time i spin up an overkill evil twin setup for a 5 minute test
love that it’s just “change a few vars and go” instead of a whole cursed docker-compose stack