Exact replica of the VIT Campus WiFi login portal for Techloop+ cybersecurity workshop demo.
npm start only runs the web server – it does NOT create the "VIT 4.0" WiFi. You must create the hotspot first.
- Create hotspot: Settings → Network & Internet → Mobile hotspot → Edit → Set name to VIT 4.0 → Turn ON
- Start server:
npm installthennpm start(run terminal as Admin for port 80) - Connect your phone to "VIT 4.0", then open
http://192.168.137.1in browser
See windows-setup/README.md for details.
cd kali-setup && sudo ./start.sh # Creates VIT 4.0 AP
# In another terminal:
npm install && sudo node server.jsFor testing without admin rights, use port 8080:
PORT=8080 npm startpublic/index.html- Login page with IMPORTANT INFO modalpublic/success.html- Access Granted page (shown after login)public/WiFi Login Portal initial_files/- Fonts and banner assetspublic/WiFi Access Granted_files/- Fonts and banner assetsserver.js- Express server that captures credentialskali-setup/- Configs and script for Kali VM/Live USBwindows-setup/- Windows hotspot script and instructions
| Path | Description |
|---|---|
/ |
Fake login page (captive portal) |
POST /login |
Captures credentials, redirects to success page |
/admin/credentials |
View captured credentials (JSON) |
- Pass USB WiFi adapter to Kali VM (VirtualBox: Devices → USB; VMware: VM → Removable Devices)
- Copy this project to the Kali VM
- Edit
kali-setup/start.sh- setAP_INTERFACEandINTERNET_INTERFACE - Run in Kali:
cd kali-setup && sudo ./start.sh
- In another terminal:
npm install && sudo node server.js - Connect to VIT 4.0 - captive portal opens automatically
See kali-setup/README.md for full instructions.
- Create rogue AP "VIT 4.0" (hostapd or Windows hotspot)
- Configure dnsmasq to redirect all DNS to your machine
- Run this server on port 80 (or use iptables to redirect 80→8080)
- Tell juniors to connect to VIT 4.0 and log in
- Show captured credentials at
/admin/credentials