1
0
Fork 0
 
 
 
 
Go to file
Wojtek Porczyk e5d64bae29 Initial commit 2020-05-19 18:52:14 +02:00
contrib Initial commit 2020-05-19 18:52:14 +02:00
static Initial commit 2020-05-19 18:52:14 +02:00
templates Initial commit 2020-05-19 18:52:14 +02:00
README.rst Initial commit 2020-05-19 18:52:14 +02:00
fiveg.py Initial commit 2020-05-19 18:52:14 +02:00

README.rst

********
maszt.5g
********

About
=====

This is fake "administration interface", which is "accidentally" discovered as
captive portal ("Sign in to the WiFi network") served by ``MASZT 5G TEST 200%
MOCY`` network connected to by the conspiracy theorist determined to uncover the
truth about 5G.

Implemented as simple Flask app on uWSGI and Nginx, for the limited amount of
dynamic content (like current date, in the future maybe some info about
connected device). In reference deployment uses openwrt as AP+router for captive
portal redirection.

Features
========

* confirmation of various conspiracy theories about:
  * 5G base stations spreading coronavirus
  * chemtrails
  * world government

Installation
============

on captive portal host
----------------------

.. code-block:: sh

   git clone https://code.hackerspace.pl/woju/fiveg /srv/www/maszt.5g
   ln -s "$PWD"/contrib/nginx.conf /etc/nginx/sites-enabled/fiveg.conf
   ln -s "$PWD"/contrib/uwsgi.ini /etc/uwsgi/apps-enabled/fiveg.ini
   systemctl restart uwsgi nginx

on OpenWrt host
---------------

This has to be done manually, and better be. The files in
:file:`contrib/openwrt/config/{*}` should be appended to their respective
counterparts in :file:`/etc/config`. :file:`contrib/openwrt/firewall.user`
should be copied/appended to :file:`/etc/firewall.user`