This script automates the process of creating a Fake Access Point (DevilTwin Attack) using Kali Linux or a similar penetration testing distribution.
- Wi-Fi Adapter Selection: Lists all available Wi-Fi adapters for easy selection.
- Network Scanning: Scans for nearby Wi-Fi networks and displays details (SSID, Channel, Signal, etc.).
- SSID Cloning: Allows the user to select a target network (SSID) to clone.
- Fake Access Point Creation: Sets up a fake access point using
hostapdanddnsmasq.
Make sure you have the following installed:
- Operating System: Kali Linux or any Linux distribution with wireless tools support.
- Required Tools:
aircrack-ngdnsmasqhostapd
- Root Access: You must run the script with root privileges.
Use the following commands to install the tools on Debian-based systems:
1.sudo apt update
2.sudo apt install aircrack-ng dnsmasq hostapd -y
- Clone this repository:
git clone https://github.com/Abdullah-XDev/DevilTwin-Script.git
- cd
cd DevilTwin-Script - Make the script executable:
chmod +x deviltwin.sh
- Run the script as root:
sudo ./deviltwin.sh
This script is for educational purposes only. Unauthorized use against networks you do not own or have explicit permission to test is illegal. Use responsibly and within the confines of the law.
