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

Question about NSE Timing #1852

Closed
dataarchivist opened this issue Dec 9, 2019 · 1 comment
Closed

Question about NSE Timing #1852

dataarchivist opened this issue Dec 9, 2019 · 1 comment

Comments

@dataarchivist
Copy link

dataarchivist commented Dec 9, 2019

It hangs for over 90 mins at the same point, 99,87%. Is this normal?
Tested under Ubuntu 18.04 with latest updates.
Used: nmap --script=default,vuln --stats-every 15 -o nmap-tld.txt xxxxxx.tld

Stats: 1:29:00 elapsed; 0 hosts completed (1 up), 1 undergoing Script Scan
NSE Timing: About 99.87% done; ETC: 12:57 (0:00:07 remaining)

Thanks for helping!

@dmiller-nmap
Copy link

Thanks for asking. Sometimes a script misbehaves, entering an infinite loop. Other times the loop may have an end condition that is not well defined, depending on a network connection that is no longer available (because the target has gone down or firewalled the scanner). You can use the --script-timeout option to prevent any one script from running too long; in Nmap 7.70 and later, the -T5 option adds a 10-minute timeout, for instance.

To determine what script is running, you can press d twice to increase debugging to level 2, then press any key to get a traceback of all running script threads. This can be overwhelming output in an ordinary scan, but with a single misbehaving script against a single target, it ought to show which script is causing issues and exactly where it is stuck.

Please note that Ubuntu 18.04 is using Nmap 7.60, which was released over 2 years ago, and we have made 2 new releases since then that may have already addressed the issue you're seeing. If you update to Nmap 7.80 and still experience problems, you may re-open this issue or open a new one with debugging output as described above so we can better diagnose the problem. Thanks!

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

2 participants