diff --git a/v2/cmd/nuclei/main.go b/v2/cmd/nuclei/main.go index afb8de4e..23fd7b1d 100644 --- a/v2/cmd/nuclei/main.go +++ b/v2/cmd/nuclei/main.go @@ -108,9 +108,9 @@ on extensive configurability, massive extensibility and ease of use.`) ) createGroup(flagSet, "interactsh", "interactsh", - flagSet.BoolVar(&options.NoInteractsh, "no-interactsh", false, "do not use interactsh server for blind interaction polling"), - flagSet.StringVar(&options.InteractshURL, "interactsh-url", "https://interact.sh", "self-hosted Interactsh Server URL"), - flagSet.StringVar(&options.InteractshAuth, "interactsh-auth", "", "authorization header for self-hosted interactsh server"), + flagSet.BoolVar(&options.NoInteractsh, "no-interactsh", false, "disable interactsh server for OOB testing"), + flagSet.StringVar(&options.InteractshURL, "interactsh-url", "https://interact.sh", "interactsh server url for self-hosted instance"), + flagSet.StringVar(&options.InteractshToken, "interactsh-token", "", "authentication token for self-hosted interactsh server"), flagSet.IntVar(&options.InteractionsCacheSize, "interactions-cache-size", 5000, "number of requests to keep in the interactions cache"), flagSet.IntVar(&options.InteractionsEviction, "interactions-eviction", 60, "number of seconds to wait before evicting requests from cache"), flagSet.IntVar(&options.InteractionsPollDuration, "interactions-poll-duration", 5, "number of seconds to wait before each interaction poll request"), diff --git a/v2/internal/runner/runner.go b/v2/internal/runner/runner.go index e8ab1d38..c5b7c31c 100644 --- a/v2/internal/runner/runner.go +++ b/v2/internal/runner/runner.go @@ -220,7 +220,7 @@ func New(options *types.Options) (*Runner, error) { if !options.NoInteractsh { interactshClient, err := interactsh.New(&interactsh.Options{ ServerURL: options.InteractshURL, - Authorization: options.InteractshAuth, + Authorization: options.InteractshToken, CacheSize: int64(options.InteractionsCacheSize), Eviction: time.Duration(options.InteractionsEviction) * time.Second, ColldownPeriod: time.Duration(options.InteractionsColldownPeriod) * time.Second, diff --git a/v2/pkg/types/types.go b/v2/pkg/types/types.go index e47aa9b6..dafb2f3e 100644 --- a/v2/pkg/types/types.go +++ b/v2/pkg/types/types.go @@ -38,7 +38,7 @@ type Options struct { // InteractshURL is the URL for the interactsh server. InteractshURL string // Interactsh Authorization header value for self-hosted servers - InteractshAuth string + InteractshToken string // Target URLs/Domains to scan using a template Targets goflags.StringSlice // TargetsFilePath specifies the targets from a file to scan using templates.