安装burp2022 --illegal-access=permit

简介: 安装burp2022 --illegal-access=permit

问题:--illegal-access=permit

原因:java版本太高,安全限制。

       从 Java 16 开始,JEP 396会默认把--illegal-access参数设置为deny,即默认禁用访问封装的包以及反射其他模块,这样就会导致上面的异常,在此之前该参数默认值一直都是--illegal-access=permit,只会产生警告,而不会报错,所以如果是 Java 16 的话需要在执行 Java 程序时把--illegal-access设置为permit,这样就可以解决问题,示例:

java -jar --illegal-access=permit app.jar

       从 Java 17 开始就更狠了,JEP 403直接把--illegal-access参数移除了,如果需要启用访问封装的包,需要在执行 Java 程序时加上--add-opens java.base/java.lang=ALL-UNNAMED选型,示例:

java -jar --add-opens java.base/java.lang=ALL-UNNAMED app.jar

解决:

1.看到那个zhu册机上的run按钮,把它的命令复制下来

2.将命令中的 "java"、jar包  转成绝对路径,并加上 "--illegal-access=permit" 参数

 

"C:\Users\test\Downloads\BurpSuite2022\jre\bin\java" --illegal-access=permit -noverify -javaagent:BurpSuiteLoader.jar -jar burpsuite_pro_org.jar

 

目录
相关文章
|
Web App开发 对象存储
解决:x509: cannot validate certificate for IP 报错
问题 今天调用上传接口上传文件时,遇到了一个 x509 类型报错,具体报错信息如下: 2021-10-15 17:46:13.145 ERROR oss/upload.go:210 upload process Failed {"error": "Post "https://192.168.215.139:9443/store/file/upload\": x509: cannot validate certificate for 192.168.215.139 because it doesn't contain any IP SANs"} panic: send on closed cha
1381 0
remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2
remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2
4336 0
|
3月前
|
JavaScript
NGROK——Invalid Host header
NGROK——Invalid Host header
49 0
|
6月前
|
Unix 网络安全 数据安全/隐私保护
putty Faual Error:No supported authentication methods available (server sent: publickey)
putty Faual Error:No supported authentication methods available (server sent: publickey)
1275 0
【异常解决】postman请求提示Full authentication is required to access this resource
【异常解决】postman请求提示Full authentication is required to access this resource
533 0
|
6月前
|
缓存 网络安全 开发工具
Git服务器报错:host key for (ip地址) has changed and you have requested strict checking
Git服务器报错:host key for (ip地址) has changed and you have requested strict checking
533 0
|
网络安全 数据安全/隐私保护
【已解决】mac端 sourceTree 解决remote: HTTP Basic: Access denied报错
又是在一次使用sourcetree拉取或者提交代码时候,遇到了sourcetree报错; 排查了一会,比如查看了SSH keys是否有问题、是否与sourcetree账户状态有问题等等,最终才发现并解决问题
|
jenkins 持续交付 Go
iOS Jenkins打包报错401 Authentication credentials are missing or invalid.解决办法
iOS Jenkins打包报错401 Authentication credentials are missing or invalid.解决办法
237 0
|
开发工具 数据安全/隐私保护 git
git 报错:Support for password authentication was removed. Please use a personal access token instead.
git 报错:Support for password authentication was removed. Please use a personal access token instead.
385 0
git 报错:Support for password authentication was removed. Please use a personal access token instead.
WampServer 3 访问403 Forbidden You don't have permission to access this resource 解决
WampServer 3 访问403 Forbidden You don't have permission to access this resource 解决
WampServer 3 访问403 Forbidden You don't have permission to access this resource 解决