PortSwigger / burp-extensions-montoya-api

Burp Extensions Api
Other
139 stars 5 forks source link

MontoyaApi does not support displaying Chinese. #33

Closed virtualmx closed 1 year ago

virtualmx commented 1 year ago

version: v2023.1.2 pro api.logging().logToOutput("你好世界 Hello World");

微信截图_20230212212610
Hannah-PortSwigger commented 1 year ago

Hi. If you go to "Settings > Search > Character sets", do you have the option set to "Recognise automatically based on message headers"?

It looks like that output is on the popup that appears when you load an extension. If you look at the output in the "Extensions > Installed" tab, does it have the correct output?

virtualmx commented 1 year ago

"Recognise automatically based on message headers" is set;

微信截图_20230214163510 微信截图_20230214163626
Hannah-PortSwigger commented 1 year ago

Thanks for that screenshot! It looks like this is displaying correctly in the main Burp panel, and the popup output is displaying the data as raw bytes.

We've raised a bug report to make sure that both of these outputs are consistent. In the meantime, it would be best to use the output panel within Burp, rather than the popup panel.