Skip to content

Commit f1d3b93

Browse files
committed
fix: colorizer exception
Fixed Nuclei giving off exception for missing Colorizer on the executor options.
1 parent 9a78ca0 commit f1d3b93

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/scan/nuclei.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import (
2323
"github.com/dropalldatabases/sif/internal/nuclei/format"
2424
"github.com/dropalldatabases/sif/internal/nuclei/templates"
2525
sifoutput "github.com/dropalldatabases/sif/internal/output"
26+
"github.com/logrusorgru/aurora"
2627
"github.com/projectdiscovery/nuclei/v2/pkg/catalog/config"
2728
"github.com/projectdiscovery/nuclei/v2/pkg/catalog/disk"
2829
"github.com/projectdiscovery/nuclei/v2/pkg/catalog/loader"
@@ -107,6 +108,7 @@ func Nuclei(url string, timeout time.Duration, threads int, logdir string) ([]ou
107108
protocolinit.Init(options)
108109

109110
executorOpts := protocols.ExecutorOptions{
111+
Colorizer: aurora.NewAurora(false),
110112
Output: outputWriter,
111113
Progress: progressClient,
112114
Catalog: catalog,

0 commit comments

Comments
 (0)