Skip to content

Commit

Permalink
fixed can not run nuclei 2023-12-21
Browse files Browse the repository at this point in the history
  • Loading branch information
hktalent committed Dec 21, 2023
1 parent ccfac88 commit fff03b5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"enableMultNuclei": false,
"enableNuclei": true,
"enableByWaf": true,
"enableDevDebug": true,
"enableDevDebug": false,
"enableEmbedYaml": true,
"enableFileFuzz": true,
"httpx": {
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var Version string
/*
go tool pprof -seconds=180 -http=:9999 http://127.0.0.1:6060/debug/pprof/heap
no leak
go tool pprof http://192.168.7.11:6060/debug/pprof/profile
go tool pprof http://127.0.0.1:6060/debug/pprof/profile
http://localhost:9999/ui/
*/
Expand Down
5 changes: 3 additions & 2 deletions projectdiscovery/nuclei_Yaml/nuclei_yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ func RunNuclei(buf *bytes.Buffer) {
szP := util.SzPwd + "/config/"
os.MkdirAll(szP+"tools/"+runtime.GOOS, os.ModePerm)
a := []string{
szP + "tools/" + runtime.GOOS + "/" + szCmd,
"-t", szP + "nuclei-templates",
//szP + "tools/" + runtime.GOOS + "/" +
szCmd,
//"-t", szP + "nuclei-templates",
"-sa",
"-duc", "-silent", "-nc",
}
Expand Down

0 comments on commit fff03b5

Please sign in to comment.