Skip to content

Commit

Permalink
Close the nuclei progress bar when there are multiple instances 2022-…
Browse files Browse the repository at this point in the history
…07-31
  • Loading branch information
x51pwn committed Jul 30, 2022
1 parent 65ae8c8 commit 080e3b5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions projectdiscovery/nuclei_Yaml/nuclei_yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ func RunNuclei(buf *bytes.Buffer, xx chan bool, oOpts *map[string]interface{}, o
buf1.WriteString(strings.Join(aHttp, "\n"))
m1 := map[string]interface{}{
// DNSProtocol,FileProtocol,NetworkProtocol,WorkflowProtocol,SSLProtocol,WebsocketProtocol,WHOISProtocol
"Protocols": []int{2, 3, 4, 6, 7, 8, 9},
"Protocols": []int{2, 3, 4, 6, 7, 8, 9},
"EnableProgressBar": false, // 看进度条
}
go RunNucleiP(&buf1, nucleiDone1, &m1, outNuclei)
}
Expand All @@ -51,7 +52,8 @@ func RunNuclei(buf *bytes.Buffer, xx chan bool, oOpts *map[string]interface{}, o
buf1.WriteString(strings.Join(noHttp, "\n"))
m1 := map[string]interface{}{
// DNSProtocol,FileProtocol,NetworkProtocol,WorkflowProtocol,SSLProtocol,WHOISProtocol
"Protocols": []int{1, 2, 5, 6, 7},
"Protocols": []int{1, 2, 5, 6, 7},
"EnableProgressBar": false, // 看进度条
}
go RunNucleiP(&buf1, nucleiDone2, &m1, outNuclei)
}
Expand Down

0 comments on commit 080e3b5

Please sign in to comment.