The c41n provides automatic adjustment of various types of Rogue access points and Evil Twin attacks. C41n creates an access point with user-defined attributes (interface, name and channel for the access point), configures the DHCP server for the access point, and provides the user with HTTP traffic sniffing or Captive Portal configuration with credential logging.
# sudo apt-get install net-tools hostapd dnsmasq tcpflow
# git clone https://github.com/MS-WEB-BN/c41n/
# cd c41n
# sudo bash install.sh
# sudo chmod + x c41n
Start Rogue AP:
Start Rogue AP + sniffing HTTP traffic:
# ./c41n sniff
Start Rogue AP + captive portal:
# ./c41n captive
You can download the program from here.