Skip to content

Downloading router portals

Matias Barcenas edited this page Aug 13, 2017 · 4 revisions

Use your own router login page

After successfully cloning the repo., you can move into the fluxion/scripts directory.

Requirements

Before you execute the script make sure you have all dependencies installed. In debian, or its derivatives (Kali, Ubuntu, ...), you can do this by running:

[sudo] apt-get install cutycapt httrack

If you use another OS, simply replace the package manager "apt-get" with your system's default package manager (e.g. in centos, yum, etc.).

In arch, the installation is simple:

[sudo] pacman -S httrack
yaourt cutycapt --noconfirm

If you don't have yaourt installed, you can install it by running:

pacman -S base-devel
curl -O https://aur.archlinux.org/cgit/aur.git/snapshot/package-query.tar.gz
tar -xvzf package-query.tar.gz
cd package-query
makepkg -si

cd ..
curl -O https://aur.archlinux.org/cgit/aur.git/snapshot/yaourt.tar.gz
tar -xvzf yaourt.tar.gz
cd yaourt
makepkg -si

Clone router page

After installing all required dependencies, you're ready to rock. Simply execute the script:

bash router.sh

Sample output

You'll find the router's login page in the site's directory, named after your gateway's IP address:
sites/192.168.X.1

Sample output


## Adding fluxion support If you're up to the [simple] task, you can make the portal pages work with fluxion yourself by following [Making portals work with Fluxion](https://github.com/FluxionNetwork/fluxion/wiki/Prepping-protals-for-fluxion). Alternatively, you can share your web page and we'll eventually get to making it functional ourselves.

Add it to fluxion

A Portal must be stored in its own independent directory, containing all its pages and assets. A portal directory must follow the naming scheme "Brand_Language.portal" to be properly detected by fluxion. Once prepared, the portal can be moved to "fluxion/attacks/Captive Portal/sites/" for fluxion to use.

Clone this wiki locally