Skip to content

Commit

Permalink
fix 默认先关闭nuclei,当前官方版本有bug 2022-07-14 23:00:1657810827
Browse files Browse the repository at this point in the history
  • Loading branch information
x51pwn committed Jul 14, 2022
1 parent 6c9716f commit d8bf400
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"naabu_dns": {},
"naabu": {"TopPorts": "1000","ScanAllIPS": true,"Threads": 25},
"priorityNmap": true,
"enableNuclei": false,
"nuclei": {
"RateLimit": 150,
"BulkSize":64,
Expand Down
1 change: 1 addition & 0 deletions config/config_me.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"KsubdomainRegxp": "([0-9a-zA-Z\\-]+\\.[0-9a-zA-Z\\-]+)$",
"naabu_dns": {},
"naabu": {"TopPorts": "1000","ScanAllIPS": true,"Threads": 64},
"enableNuclei": false,
"nuclei": {
"RateLimit": 150,
"BulkSize":64,
Expand Down
3 changes: 3 additions & 0 deletions nuclei_Yaml/nuclei_yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ func RunNuclei(buf *bytes.Buffer, xx chan bool) {
xx <- true
close(xx)
}()
if "true" != pkg.GetValByDefault("enableNuclei", "false") {
return
}
// json 控制参数
options = pkg.ParseOption[types.Options]("nuclei", options)
if err := runner.ConfigureOptions(); err != nil {
Expand Down

0 comments on commit d8bf400

Please sign in to comment.