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

Hex encoding support #9

Open
lovelyjuice opened this issue Jul 14, 2021 · 4 comments
Open

Hex encoding support #9

lovelyjuice opened this issue Jul 14, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@lovelyjuice
Copy link

These request body and response body use hex encoding rather than base64.

image
image

@arthusu
Copy link

arthusu commented Jul 16, 2021

Hi, I join the request, it would be great!

@d3vilbug d3vilbug added the enhancement New feature or request label Jul 16, 2021
@d3vilbug
Copy link
Contributor

Hi @lovelyjuice

Your application is HEX Encoding the string after encryption instead of Base64? If yes, that could be added with one additional UI component where one can select an encoding mechanism after encryption.

@arthusu
Copy link

arthusu commented Jul 26, 2021

Hi @lovelyjuice

Your application is HEX Encoding the string after encryption instead of Base64? If yes, that could be added with one additional UI component where one can select an encoding mechanism after encryption.

It would be great, it happens the same to me

@d3vilbug
Copy link
Contributor

You need to change the following this.helpers.base64Decode and this.helpers.base64Encode to call your custom hex encode and decode function. (Burp interface does not provide any hex encoding/decode https://portswigger.net/burp/extender/api/burp/IExtensionHelpers.html, you have to code methods yourself)

image

After changing the method just compile the project (https://portswigger.net/burp/extender/api/burp/IExtensionHelpers.html)

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

No branches or pull requests

3 participants