nmap
nmap copied to clipboard
Nmap scan never completes
I am using the 7.70 version on Nmap on centos server. I run the following scan on an IOT device(Electronic controller for a lighting system).
nmap -sV --open --host-timeout 300 -n -T4 -oX -
- Even though there is a host-timeout, the timeout is not honored
- It throws a segmentation fault and generates a core dump maybe after an hour of trying to scan.
I also ran the command with "-d2 --version-trace --packet-trace" option but could not keep it running till the scan throws seg fault.
I ran backtrace on the core file and see only following error
(lldb) bt all
- thread #1, name = 'nmap', stop reason = signal SIGSEGV
- frame #0: 0x000000000050c978
I am using this command in my application and want to gracefully exit the scan. Let me know if this is a known issue or is there a workaround.
Can anyone help with issue?
Any one else faced the issue?