Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG:NucleiConfig.java:54(version 7.5.9) #35

Closed
cream-sec opened this issue Nov 13, 2024 · 3 comments
Closed

BUG:NucleiConfig.java:54(version 7.5.9) #35

cream-sec opened this issue Nov 13, 2024 · 3 comments
Assignees

Comments

@cream-sec
Copy link

java -jar nuclei.app.jar
2024/11/13 10:37:57,769 INFO [main] (NucleiConfig.java:73:getWorkPath) - 自定义工作目录不存在,使用默认工作目录。
2024/11/13 10:37:57,771 INFO [main] (NucleiConfig.java:73:getWorkPath) - 自定义工作目录不存在,使用默认工作目录。
2024/11/13 10:37:57,773 INFO [main] (NucleiConfig.java:73:getWorkPath) - 自定义工作目录不存在,使用默认工作目录。
Exception in thread "main" java.lang.NullPointerException
at com.g3g4x5x6.nuclei.NucleiConfig.getProperty(NucleiConfig.java:54)
at com.g3g4x5x6.NucleiApp.main(NucleiApp.java:54)

解决方法:删除原来的.nuclei-plus目录(家目录下)

@geelph
Copy link

geelph commented Nov 15, 2024

这个报错的原因是v7.5.9在支持国际化的时候,在nuclei.properties配置文件中添加了nuclei.locale的配置项,
使用原来的配置时,在程序初始化的时候找不到这一项就导致异常退出,因为代码中默认是从配置文件中获取语言类型,
不想删.nuclei-plus的话,在nuclei.propertis中手动加一下就行

# 国际化,指定本地语言(为空跟随系统设置):zh_CN, en_US
nuclei.locale=zh_CN

@cream-sec
Copy link
Author

谢谢师傅的回复!

@G3G4X5X6
Copy link
Contributor

这才是开源的意义,大家互帮互助 👍

@G3G4X5X6 G3G4X5X6 pinned this issue Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants