Giter Club home page Giter Club logo

rickrollap's Introduction

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.

rickrollap's People

Contributors

gombossb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

iunstable0

rickrollap's Issues

Too many redirects

Too many redirects after everything is setup. Is there any solution to the problem? I can't find any solution online. Thanks for your work on this project any help would be greatly appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.