v2023.10.2.1 版本中忽然发现可以设置缩放,设置完成以后启动会以设置的值未准。文章后面可以不用看了,对于不需要自定义配置文件的伙伴来说,虽然也有用但麻烦。

BurpSuite 设置中调整缩放.png

于 2023.10.13。


BurpSuite 启动后会根据系统缩放进行适配,图标和字体处于一种模糊状态,眼睛快瞎了。

Burp模糊状态.png

我笔记本当前缩放为 125%

系统缩放百分比.png

尝试过在属性设置缩放,无效。

禁止缩放失败.png

在 Burp 官网看到解决方案,也是没法解决。

I encounter scaling issues on Windows 10 between my 4k and normal screens
Try starting Burp Suite with these settings:

start javaw -Dsun.java2d.d3d=false -Dsun.java2d.noddraw=true -jar burpsuite_pro_v1.7.23.jar.

https://portswigger.net/burp/documentation/desktop/troubleshooting

最终参考 Christian Hujer 的回答。

If you stumbled across this question but are actually looking for a solution that works on Linux, this is for you.

If you can add parameters to the java binary which launches the application, you can use the option -D to pass a value for the sun.java2d.uiScale proprty to specify a scaling factor for Java2D. This will scale your application. The scaling factor value is a double. Make sure that you pass this option to the java binary itself, not the launched Java application.

Example: Launch NearInfinity.jar with a UI scaling factor of 2.5

java -Dsun.java2d.uiScale=2.5 -jar ~/jars/NearInfinity.jar

Alternatively, you can set the GDK_SCALE environment variable.
Example:

GDK_SCALE=2 java -jar ~/jars/NearInfinity.jar

I found this ArchLinux Wiki article quite useful in general for running Linux on HiDPI systems, and some of the things might work on Windows as well.

在启动时加上 -Dsun.java2d.uiScale=1 即可。😊

chcp 936
@echo off
start D:/jdk-11.0.8/bin/javaw -noverify -Dsun.java2d.uiScale=1 -javaagent:burploader2.8.jar -jar burpsuite_pro_v2020.9.1.jar
exit

Burp缩放正常.png

参考链接

最近更新:

发布时间:

摆哈儿龙门阵