-
Notifications
You must be signed in to change notification settings - Fork 6
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
Validate verification code input before sending it #103
Open
marlam
wants to merge
9
commits into
SURFscz:main
Choose a base branch
from
marlam:validate-code-input
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Oct 17, 2024
-
Validate verification code input before sending it
This makes sure that the verification code only contains characters a-z A-Z 0-9, and is of limited length. Otherwise it is possible for a user to cause arbitrary data to be sent to the server, including invalid JSON. This could be a problem if the JSON parser on the receiving end has bugs. For example, code input 'A"}BBBBBBBB...' would lead to JSON data '{"session_id":"SESSIONID","pin":"A"}BBBBBBBB..."}' to be sent to the server.
Martin Lambers committedOct 17, 2024 Configuration menu - View commit details
-
Copy full SHA for 6027aa2 - Browse repository at this point
Copy the full SHA 6027aa2View commit details -
Martin Lambers committed
Oct 17, 2024 Configuration menu - View commit details
-
Copy full SHA for 813d9df - Browse repository at this point
Copy the full SHA 813d9dfView commit details -
Activate test for input_is_safe()
Martin Lambers committedOct 17, 2024 Configuration menu - View commit details
-
Copy full SHA for 4682d85 - Browse repository at this point
Copy the full SHA 4682d85View commit details -
Configuration menu - View commit details
-
Copy full SHA for d31762c - Browse repository at this point
Copy the full SHA d31762cView commit details
Commits on Oct 18, 2024
-
Martin Lambers committed
Oct 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 93a7f9f - Browse repository at this point
Copy the full SHA 93a7f9fView commit details -
Martin Lambers committed
Oct 18, 2024 Configuration menu - View commit details
-
Copy full SHA for fc3dfd7 - Browse repository at this point
Copy the full SHA fc3dfd7View commit details -
Adapt unit test for new input_is_safe() version
Martin Lambers committedOct 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 0b91f62 - Browse repository at this point
Copy the full SHA 0b91f62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 526b7a4 - Browse repository at this point
Copy the full SHA 526b7a4View commit details -
Handle unavailable RHOST, and check RHOST for validity
Martin Lambers committedOct 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 9d43607 - Browse repository at this point
Copy the full SHA 9d43607View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.