All Projects → emanuelepaiano → espresso-portal

emanuelepaiano / espresso-portal

Licence: MIT license
FreeWifi PHP Portal for ubiquiti controller

Programming Languages

PHP
23972 projects - #3 most used programming language
HTML
75241 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to espresso-portal

Linux Router
Set Linux as router in one command. Support Internet sharing, redsocks, Wifi hotspot, IPv6. Can also be used for routing VM/containers
Stars: ✭ 129 (+222.5%)
Mutual labels:  wifi-hotspot
MicroDNSSrv
A micro DNS server for MicroPython to simply respond to A queries on multi-domains with or without wildcards (used on Pycom modules & ESP32)
Stars: ✭ 43 (+7.5%)
Mutual labels:  captive-portal
grase-www-portal
Grase WWW Portal (Main Package)
Stars: ✭ 50 (+25%)
Mutual labels:  captive-portal
Upribox
Usable Privacy Box
Stars: ✭ 153 (+282.5%)
Mutual labels:  wifi-hotspot
pfsense-captive-portal
🔒🚪 Awesome pfsense login pages for your captive portal!
Stars: ✭ 73 (+82.5%)
Mutual labels:  captive-portal
Core
OPNsense GUI, API and systems backend
Stars: ✭ 1,827 (+4467.5%)
Mutual labels:  captive-portal
Virtualrouter
Original, open source Wifi Hotspot for Windows 7, 8.x and Server 2012 and newer
Stars: ✭ 53 (+32.5%)
Mutual labels:  wifi-hotspot
capnet-assist
Captive Portal Assistant
Stars: ✭ 47 (+17.5%)
Mutual labels:  captive-portal
captive-login
Captive-portal login utility for headless environments written in pure bash.
Stars: ✭ 23 (-42.5%)
Mutual labels:  captive-portal
Easy-HotSpot
Easy HotSpot is a super easy WiFi hotspot user management utility for Mikrotik RouterOS based Router devices. Voucher printing in 6 ready made templates are available. Can be installed in any PHP/MySql enabled servers locally or in Internet web servers. Uses the PHP PEAR2 API Client by boenrobot.
Stars: ✭ 45 (+12.5%)
Mutual labels:  wifi-hotspot
Mili
Mili is an open source tool for auto login hotspot pages! (MacOS + Linux)
Stars: ✭ 162 (+305%)
Mutual labels:  wifi-hotspot
Openwisp Radius
Administration web interface and REST API for freeradius 3 build in django & python. Supports captive portal authentication, WPA Enerprise (802.1x), freeradius rlm_rest, social login, Hotspot 2.0 / 802.11u, importing users from CSV, registration of new users and more.
Stars: ✭ 206 (+415%)
Mutual labels:  wifi-hotspot
pifi
A headless wifi provisioning system.
Stars: ✭ 40 (+0%)
Mutual labels:  wifi-hotspot
Wififlutter
Plugin Flutter which can handle WiFi connections (AP, STA)
Stars: ✭ 142 (+255%)
Mutual labels:  wifi-hotspot
refluxion
Refluxion -- MITM WPA attacks tool
Stars: ✭ 25 (-37.5%)
Mutual labels:  captive-portal
Tortipi
Tor based Raspberry π hotspot
Stars: ✭ 76 (+90%)
Mutual labels:  wifi-hotspot
Fluxion
Fluxion is a remake of linset by vk496 with enhanced functionality.
Stars: ✭ 3,275 (+8087.5%)
Mutual labels:  captive-portal
anon-hotspot
On demand Debian Linux (Tor) Hotspot setup tool
Stars: ✭ 34 (-15%)
Mutual labels:  wifi-hotspot
pyaccesspoint
Package to manage accesspoint on linux
Stars: ✭ 25 (-37.5%)
Mutual labels:  wifi-hotspot
CaptivePortalCheck
一个检测当前WIFI是否需要认证的小Demo
Stars: ✭ 41 (+2.5%)
Mutual labels:  captive-portal

ESPRESSO PHP PORTAL v0.9

FreeWifi PHP Captive Portal, useful for builds coffee or restaurants free hotspots without pay external cloud services. Works with Ubiquiti Unifi controller v4.X and v5.X

NB: This project has been deprecated. It's works anyway, but I suggest you to take a look to a modern springboot reimplementation with embedded webserver and administration panel: jEspresso Guest Portal

alt tag

WARNING: Some countries' laws, require a logging data for guests activities from wifi hotspots. This tool does not collect any data or logs, so use it at your risk. If required in your country, install a logging system by yourself. I'm not responsible for law violations!

FEATURES

  • Mac address/email authentication for free limited-time wifi access;
  • Registered users authentication (support limited time login from single mac address);
  • Remaining time counter for users (you can show them fake values, hiding minutes from remaining time);
  • Blocking expired session's mac-address for minutes (or hours / days);
  • Multilanguage and language browser detection (italian/english);
  • Single customizable frontend theme.
  • Mail login supports for guests, with logging useful for signing up to newsletters - NEW
  • Disabling registered users login (set hotspot for guests only) - NEW
  • Permanent login support - NEW

REQUIREMENTS

  • Ubiquiti Unifi Controller (tested on 4.8.20 version)
  • Linux Debian or Windows Lamp (tested on Debian and Raspbian 8)
  • Nginx or Apache2 webserver with php enabled
  • Sqlite3 or Mysql 5.5 server
  • PHP 5.5 with mysql and/or sqlite3 PDO support
  • PhpMyAdmin or external database client for backend [OPTIONAL]

INSTALL

  1. Prepare your system installing the unifi controller, a web server (Nginx/Apache) with PHP/PDO CURL and a DBMS (Mysql or Sqlite3);

  2. Put guest/ directory into webserver root (like /var/www/html) and change permissions to access www-data webserver user;

  3. To increase security, move guest/s/default/db/hotspot.sqlite and hotspot.sql files to another path (like /var) inaccessible from web, but accessible from php;

  4. Edit guest/s/default/config.inc.php Unifi Controller options, database settings and $GLOBALS['sessionLogging'] with random string.

  5. If you use mysql, import hotspot.sql file into database (you can use PhpMyAdmin). If you prefer sqlite, set $GLOBALS['dbms']='sqlite' and $GLOBALS['sqliteFile'] to hotspot.sqlite file. For backend you can use sqliteweb (https://github.com/coleifer/sqlite-web).

  6. Log in in Unifi Controller and set External Hotspot (from Guest Policies) to redirect to custom captive ip address.

  7. All access will be logged into access_logs database table (set $GLOBALS['logAccessEnabled']) to false for disabling logging)

  8. Set $GLOBALS['GuestMailAccess'] to true to enable guest authentication by email address (useful for signing up to newsletter)

  9. Set $GLOBALS['showHomeRegistered'] to false to hide disable registered accounts (guest only)

  10. Enjoy


LICENSE

This tool is released under MIT License


CREDITS

This Captive Portal is based on


FUTURE RELEASES

Springboot / Angular reimplementation. Work in progress.

ESPRESSO-ADMIN BACKEND (works only with mysql!)

alt tag

Download Espresso-admin

AUTHOR

Emanuele Paiano - nixw0rm [at] gmail [dot] com


SUPPORT ME

If you like this project, consider a little donation, so I can buy new hardware for testing and development. At least you can offer me a coffee.. :)

paypal


Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].