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

Add HTML encoding escape and unescape #36

Merged
merged 2 commits into from
Jan 20, 2024
Merged

Add HTML encoding escape and unescape #36

merged 2 commits into from
Jan 20, 2024

Conversation

denandz
Copy link
Contributor

@denandz denandz commented Oct 30, 2023

Add an additional encoder/decoder for HTML escaping:

:~$ echo '<script>alert(1);<script>' | ./pencode htmlescape ; echo
&lt;script&gt;alert(1);&lt;script&gt;
:~$ echo '&lt;script&gt;alert(1);&lt;script&gt;' | ./pencode htmlunescape ; echo
<script>alert(1);<script>

@denandz
Copy link
Contributor Author

denandz commented Dec 16, 2023

@joohoi any chance of getting this merged in?

@joohoi
Copy link
Member

joohoi commented Dec 16, 2023 via email

@denandz
Copy link
Contributor Author

denandz commented Jan 16, 2024

Heya @joohoi - Any luck with the merge? Would like to see this functionality in Pencode.

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.

Sorry for the delays, the PR looks good, thanks again for your contribution (and patience) @denandz

@joohoi joohoi merged commit 842263a into ffuf:master Jan 20, 2024
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.

2 participants