Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

evil portal can manage more than two form field #455

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

HaroldFinchIFT
Copy link

Hi, I'm a PHP Web Developer, and I've never written in C++. Recently, I've been experimenting with Marauder and FlipperZero, using Evil Portal for testing purposes. I noticed the limitation of two hardcoded form fields in the HTML files. Leveraging my web development knowledge and the documentation, I've tried to make this modification:

The HTML form has N fields, each with its own name and respective value. When the /GET call is made, instead of selectively retrieving two specific fields with precise names, it iterates through all the parameters received from the form (through all the fields) saving in a single String variable the pair "name: value". This variable is then logged.
This not only allows us to be independent from "email" and "password", which could be named anything preferred by the creator of the HTML form, but also to add any additional fields such as name, surname, phone number, an OTP code, etc.

I'm not sure if I did it right because, at the moment, I'm unable to compile and physically test the code block I wrote on the board. In case I wrote something silly, I apologize. I would still like to know what you think and how it seems to you and if it could possibly be an effective and definitive modification. Thank you very much for any feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant