Summary:
Enable Evil Portal to handle multi-page HTML flows, where one page redirects to another after form submission (e.g., page1 → page2 → page3), while maintaining the ability to parse and log data from each page via the same Flask backend.
Use case examples:
-
WiFi Registration Flow: Collect name → confirm via SMS → show thank-you screen.
-
Local game: Step-by-step interaction where each screen collects part of user input.
-
Legal forms: Collect personal details across multiple pages in a natural UX.
Requirements:
-
Allow multiple HTML files per portal in /www/portals/XYZ/.
-
Data from each form page is forwarded to Flask endpoint /api/username (or /api/log).
-
Every POST is logged separately (invoer.txt, codes.txt, etc.).
-
Easy switching between portal sets (e.g., /portals/gamename1/, /portals/hotel_wifi/).
-
Works with current evil_portal.py and supports Telegram/webhook forwarding.
-
(Optional) Enable .fab commands to activate a full portal folder with all pages.
Why this matters:
This makes Evil Portal suitable for realistic, multi-step flows without hardcoding or replacing HTMLs manually, which helps in development, testing, education, awareness, and security auditing.
Summary:
Enable Evil Portal to handle multi-page HTML flows, where one page redirects to another after form submission (e.g., page1 → page2 → page3), while maintaining the ability to parse and log data from each page via the same Flask backend.
Use case examples:
WiFi Registration Flow: Collect name → confirm via SMS → show thank-you screen.
Local game: Step-by-step interaction where each screen collects part of user input.
Legal forms: Collect personal details across multiple pages in a natural UX.
Requirements:
Allow multiple HTML files per portal in
/www/portals/XYZ/.Data from each form page is forwarded to Flask endpoint
/api/username(or/api/log).Every POST is logged separately (
invoer.txt,codes.txt, etc.).Easy switching between portal sets (e.g.,
/portals/gamename1/,/portals/hotel_wifi/).Works with current
evil_portal.pyand supports Telegram/webhook forwarding.(Optional) Enable
.fabcommands to activate a full portal folder with all pages.Why this matters:
This makes Evil Portal suitable for realistic, multi-step flows without hardcoding or replacing HTMLs manually, which helps in development, testing, education, awareness, and security auditing.