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

Sniper template parsing - fixes #579 #580

Merged
merged 2 commits into from
Feb 2, 2023

Conversation

denandz
Copy link
Contributor

@denandz denandz commented Aug 14, 2022

This PR fixes the sniper template parsing issues, which was caused due to bug in the injectKeyword method where if the data between the section-signs was a single character, the resulting string would be incorrect.

Have added additional test cases to catch this.

Fixes: #579

Copy link
Member

@joohoi joohoi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

GH layout seems to have changed yet again, and I cannot find a way to rerun the failed linter job.

@joohoi joohoi merged commit ebb4c44 into ffuf:master Feb 2, 2023
joohoi pushed a commit that referenced this pull request Feb 3, 2023
* Add sniper template error cases to tests

* move injectKeyword to a seperate output slice - Fixes #579
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.

Parsing error in "-mode sniper"; "&" character is getting replaced by letter "Z"
2 participants