Skip to content

[BUG] nuclei command Unexpected exit #6189

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

Open
1 task done
Stitchez opened this issue Apr 22, 2025 · 3 comments · May be fixed by #6193
Open
1 task done

[BUG] nuclei command Unexpected exit #6189

Stitchez opened this issue Apr 22, 2025 · 3 comments · May be fixed by #6193
Assignees
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@Stitchez
Copy link

Stitchez commented Apr 22, 2025

Is there an existing issue for this?

  • I have searched the existing issues.

Current Behavior

nuclei command Unexpected exit

Image

Expected Behavior

scan success

Steps To Reproduce

echo "test.com" > /data/2025-04-22/list.txt 
nuclei -list /data/2025-04-22/list.txt -severity medium,high,critical   -stats -stats-interval 5 -je /data/2025-04-22/nuclei-results.json -elog /data/2025-04-22/nuclei-error.log

Relevant log output

Environment

- OS: Linux 5.10 amd64
- Nuclei:  v3.4.2
- Go: 1.23.1

Anything else?

No response

@Stitchez Stitchez added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Apr 22, 2025
@Frodothedwarf
Copy link

To add to this, I've had similiar issues on GitHub Workflows.

On the GitHub hosted runners it exits with this code:
The runner has received a shutdown signal. This can happen when the runner service is stopped, or a manually started runner is canceled.

And on self-hosted runners it exits the runner itself with a "OOM-killer".
Nuclei is taking all the ram of the machine, I looked into the ram usage on the machine itself, and Nuclei used 24GB of ram.

These are with the official Nuclei action.

@dogancanbakir dogancanbakir self-assigned this Apr 24, 2025
@Linux-MMA
Copy link

Linux-MMA commented Apr 24, 2025

I can't finish any of my scans as well. Sometimes the process quits unexpectedly, and other times Zsh kills the process. This happens at different stages of the scan. I’m running a few targets simultaneously while using TMUX. I checked the CPU usage and RAM, and it took about 40% and 50%, but sometimes the CPU usage jumped much higher. I run my scans from a VPS. Additionally, the -resume flag doesn't seem to work as intended. I can't restart the scans from the stopping point.

@ehsandeep
Copy link
Member

A fix for this issue being devloped in #6193

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants