Skip to content

Commit 5f9d778

Browse files
committed
fixed can not run nuclei 2023-12-21
1 parent a33c987 commit 5f9d778

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

config/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"enableMultNuclei": false,
8080
"enableNuclei": true,
8181
"enableByWaf": true,
82-
"enableDevDebug": true,
82+
"enableDevDebug": false,
8383
"enableEmbedYaml": true,
8484
"enableFileFuzz": true,
8585
"httpx": {

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var Version string
2222
/*
2323
go tool pprof -seconds=180 -http=:9999 http://127.0.0.1:6060/debug/pprof/heap
2424
no leak
25-
go tool pprof http://192.168.7.11:6060/debug/pprof/profile
25+
go tool pprof http://127.0.0.1:6060/debug/pprof/profile
2626
2727
http://localhost:9999/ui/
2828
*/

projectdiscovery/nuclei_Yaml/nuclei_yaml.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ func RunNuclei(buf *bytes.Buffer) {
3131
szP := util.SzPwd + "/config/"
3232
os.MkdirAll(szP+"tools/"+runtime.GOOS, os.ModePerm)
3333
a := []string{
34-
szP + "tools/" + runtime.GOOS + "/" + szCmd,
35-
"-t", szP + "nuclei-templates",
34+
//szP + "tools/" + runtime.GOOS + "/" +
35+
szCmd,
36+
//"-t", szP + "nuclei-templates",
3637
"-sa",
3738
"-duc", "-silent", "-nc",
3839
}

0 commit comments

Comments
 (0)