Nethunter AP
This eviltwin script lets you run a fake access point portal with handshake verification using a virtually created AP on Kali Nethunter. You only need one external adapter for deauthing the original network.
Dependencies
apt install aircrack-ng hostapd dnsmasq php python3 python3-pip ethtool dsniff iw tshark xtables-addons-common
pip3 install flask requestsUsage
git clone https://github.com/dr1408/eviltwin.git
cd eviltwiniptables
update-alternatives --config iptables
choose iptables-legacyEvil twin attacks modify iptables rules. To prevent breaking your Android hotspot:
- Reboot your phone
- Create a clean backup:
iptables-save | grep -v "bpf" > /sdcard/iptables-default
the script automatically restore this backup on exit to restore android hotspot functionality.
python3 attack.pyNethunter now automates saving of the default iptables on the first install and reboot of the phone so no need to run iptables-save manually.
after running setup in the module gui :
Plug adapter > turn off wifi > turn on cellular > select adapter as monitor interface > scan network and choose a target network > virtual ap from internal wlan0 or second adapter as ap > auto detect internet source > start attack
Attack Demo
demo.mp4
Credits
· @yesimxev - Internet sharing rules · @ikteach - Script editing · @Justxd22 - Handshake verification methods and portals Check his repo: https://github.com/Justxd22/Eviltwin-Huawei_XD
This tool is provided for educational and authorized security testing purposes only.
- Use only on networks you own or have written permission to test
- Unauthorized access to computer networks is illegal
- The author is not responsible for any misuse or damage caused by this tool
- Users assume full responsibility for their actions By using this tool, you agree to use it ethically and legally.