Skip to content

Nuclei stats display upon keypress (space) #2811

@sullo

Description

@sullo

Without enabling debug mode, it would be nice to obtain status of the scan by pressing a key in the terminal where nuclei is running.

This is supported by both nmap and nikto by pressing spacebar.

nmap:

nmap -sT -p1-1000 <redacted>
Starting Nmap 7.93 ( https://nmap.org ) at 2022-11-06 15:24 UTC
Stats: 0:00:01 elapsed; 0 hosts completed (1 up), 1 undergoing Connect Scan
Connect Scan Timing: About 0.95% done
Stats: 0:00:03 elapsed; 0 hosts completed (1 up), 1 undergoing Connect Scan
Connect Scan Timing: About 57.75% done; ETC: 15:24 (0:00:02 remaining)

nikto:

 - STATUS: Completed 70 requests (~1% complete, 3.3 minutes left): currently in plugin 'Test Authentication'
- STATUS: Running average: 10 requests: 0.0239 sec.

This will help with long-running or seemingly never ending scans where you are not sure if it has completely stopped or the target(s) is just slow. It will help make an informed decision on whether or not to cancel.

Metadata

Metadata

Assignees

Labels

Type: EnhancementMost issues will probably ask for additions or changes.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions