AES-Killer icon indicating copy to clipboard operation
AES-Killer copied to clipboard

Hex encoding support

Open lovelyjuice opened this issue 3 years ago • 4 comments

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

image image

lovelyjuice avatar Jul 14 '21 03:07 lovelyjuice

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

arthusu avatar Jul 16 '21 16:07 arthusu

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.

d3vilbug avatar Jul 16 '21 18:07 d3vilbug

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

arthusu avatar Jul 26 '21 15:07 arthusu

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)

d3vilbug avatar Jul 27 '21 17:07 d3vilbug