Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] #610

Closed
math-ematics opened this issue Nov 11, 2020 · 2 comments
Closed

[Bug] #610

math-ematics opened this issue Nov 11, 2020 · 2 comments

Comments

@math-ematics
Copy link

Nuclei version
v2.2.0

Nuclei template version
v7.2.5

cat ~/.nuclei-config.json

{"templates-directory":"/root/nuclei-templates","current-version":"7.2.5","last-checked":"2020-11-11T11:57:14.736884184+01:00"}

Describe the bug

echo jirahost | nuclei -t workflows/jira-exploitaiton-workflow.yaml

                   __     _
 ____  __  _______/ /__  (_)
/ __ \/ / / / ___/ / _ \/ /

/ / / / // / /__/ / __/ /
/
/ //_,/___//___/_/ v2.2.0

            projectdiscovery.io

[WRN] Use with caution. You are responsible for your actions
[WRN] Developers assume no liability and are not responsible for any misuse or damage.
[INF] Loading templates...
[INF] [jira-exploitaiton-workflow] Jira Exploitaiton workflow (@micha3lb3n)
[INF] Using 1 rules (0 templates, 1 workflows)
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x9babf4]

goroutine 22 [running]:
github.com/projectdiscovery/nuclei/v2/pkg/executer.makeHTTPClient(0x0, 0xc0000db9a0, 0x0, 0x0, 0x0)
/root/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.1.2-0.20201024180747-a824c3f17eca/pkg/executer/executer_http.go:606 +0x134
github.com/projectdiscovery/nuclei/v2/pkg/executer.NewHTTPExecuter(0xc0000db9a0, 0xc000068920, 0xc000164a20, 0x0)
/root/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.1.2-0.20201024180747-a824c3f17eca/pkg/executer/executer_http.go:112 +0x57
github.com/projectdiscovery/nuclei/v2/pkg/workflows.(*NucleiVar).Call(0xc0000cc460, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7f89fe37f548, 0x0)
/root/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.1.2-0.20201024180747-a824c3f17eca/pkg/workflows/var.go:80 +0x55b
github.com/d5/tengo/v2.(*VM).run(0xc000e88000)
/root/go/pkg/mod/github.com/d5/tengo/v2@v2.6.2/vm.go:633 +0x3323
github.com/d5/tengo/v2.(*VM).Run(0xc000e88000, 0xc0000d09a0, 0x14a)
/root/go/pkg/mod/github.com/d5/tengo/v2@v2.6.2/vm.go:77 +0xcf
github.com/d5/tengo/v2.(*Compiled).RunContext.func1(0xc0000c7f20, 0xc000e88000)
/root/go/pkg/mod/github.com/d5/tengo/v2@v2.6.2/script.go:222 +0x2b
created by github.com/d5/tengo/v2.(*Compiled).RunContext
/root/go/pkg/mod/github.com/d5/tengo/v2@v2.6.2/script.go:221 +0x233

@ehsandeep
Copy link
Member

Hi @math-ematics,

You are running the master version of nuclei which is in active development, so the error, the stable released version is v2.1.1 and can download it from here.

@Ice3man543
Copy link
Member

This is fixed by PR projectdiscovery/nuclei#403. Closing it here for tracking there!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants