Skip to content

The error occurs just after updating Nuclei. #4902

@Farhan8528

Description

@Farhan8528

panic: assignment to entry in nil map

goroutine 39766 [running]:
github.com/projectdiscovery/nuclei/v3/pkg/templates.(*ClusterExecuter).Execute.func1(0xc014042aa0)
/home/farhan/go/pkg/mod/github.com/projectdiscovery/nuclei/[email protected]/pkg/templates/cluster.go:257 +0x1a5
github.com/projectdiscovery/nuclei/v3/pkg/protocols/http.(*Request).ExecuteWithResults.func1.1(0xc014042aa0)
/home/farhan/go/pkg/mod/github.com/projectdiscovery/nuclei/[email protected]/pkg/protocols/http/request.go:436 +0x437
github.com/projectdiscovery/nuclei/v3/pkg/protocols/http.(*Request).executeRequest(0xc00ddfc1e0, 0xc00a7fd890, 0xc0137e9e00, 0xc012504240, 0x0, 0xc015907af0, 0x1)
/home/farhan/go/pkg/mod/github.com/projectdiscovery/nuclei/[email protected]/pkg/protocols/http/request.go:706 +0x3585
github.com/projectdiscovery/nuclei/v3/pkg/protocols/http.(*Request).ExecuteWithResults.func1({0xc00d91d630, 0x4a}, 0xc0125042d0, 0xc012504270)
/home/farhan/go/pkg/mod/github.com/projectdiscovery/nuclei/[email protected]/pkg/protocols/http/request.go:409 +0x573
github.com/projectdiscovery/nuclei/v3/pkg/protocols/http.(*Request).ExecuteWithResults(0xc00ddfc1e0, 0xc00a7fd890, 0xc012504270, 0xc012504240, 0xc00a7fd8f0)
/home/farhan/go/pkg/mod/github.com/projectdiscovery/nuclei/[email protected]/pkg/protocols/http/request.go:473 +0x372
github.com/projectdiscovery/nuclei/v3/pkg/templates.(*ClusterExecuter).Execute(0xc008ce2f80, 0xc004c985a0)
/home/farhan/go/pkg/mod/github.com/projectdiscovery/nuclei/[email protected]/pkg/templates/cluster.go:254 +0x14a
github.com/projectdiscovery/nuclei/v3/pkg/core.(*Engine).executeTemplateWithTargets.func2.1(0x1153da40?, 0xc0?, 0xc00774c0c0)
/home/farhan/go/pkg/mod/github.com/projectdiscovery/nuclei/[email protected]/pkg/core/executors.go:132 +0x1d8
created by github.com/projectdiscovery/nuclei/v3/pkg/core.(*Engine).executeTemplateWithTargets.func2 in goroutine 39765
/home/farhan/go/pkg/mod/github.com/projectdiscovery/nuclei/[email protected]/pkg/core/executors.go:108 +0x446

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions