Skip to content

RickRollAP creates a bait "Free Wi-Fi" access point that rickrolls users with its captive portal.

License

Notifications You must be signed in to change notification settings

gombossb/rickrollAP

Repository files navigation

RickRollAP

RickRollAP creates a bait "Free Wi-Fi" access point that rickrolls users with its captive portal.

Requirements

  • A machine with some kind of Linux installed (Raspberry Pi recommended)
  • A Wi-Fi adapter with monitor mode capability and proper drivers installed
  • hostapd, dnsmasq, nginx

Installation

  1. Clone this repository and cd into it
git clone https://github.com/gombossb/rickrollAP.git
cd rickrollAP
  1. Install required tools
# on Debian-based systems
sudo apt update
sudo apt install hostapd dnsmasq nginx
  1. Copy captive portal to /var/www, captive portal configuration to nginx sites, symlink it to get enabled and remove default site configuration
sudo cp -r rickportal/ /var/www/
sudo cp nginx-site /etc/nginx/sites-available/rickrollap
sudo ln -s /etc/nginx/sites-available/rickrollap /etc/nginx/sites-enabled/
sudo rm /etc/nginx/sites-enabled/default
  1. Use this sed code to change your Wi-Fi interface if it's not wlan1
sed -i -- 's/wlan1/wlan123/g' $(find . -maxdepth 1 -type f)

Usage

Put your wifi interface into monitor mode

sudo airmon-ng start wlan1

Launch script

sudo bash start.sh

Stop the script

sudo bash stop.sh

PS

Kudos to hash3liZer for his article on shellvoide.com(Wayback Machine), it's helped me a lot with this project.

About

RickRollAP creates a bait "Free Wi-Fi" access point that rickrolls users with its captive portal.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published