Ebryx / AES-Killer

Burp Plugin to decrypt AES encrypted traffic on the fly
MIT License
633 stars 119 forks source link

Hex encoding support #9

Open lovelyjuice opened 3 years ago

lovelyjuice commented 3 years ago

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

image image

arthusu commented 3 years ago

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

d3vilbug commented 3 years ago

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 commented 2 years ago

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 commented 2 years ago

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)