Skip to content

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.

@avipars
Copy link

avipars commented Dec 26, 2024

lgtm

@HaroldFinchIFT
Copy link
Author

Hi guys! This PR has been reviewed and approved. Is there anything else needed to proceed with the merge? Let me know if any changes are required! Thx

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.

3 participants