nmap icon indicating copy to clipboard operation
nmap copied to clipboard

Nmap scan never completes

Open dksupriya opened this issue 3 years ago • 2 comments
trafficstars

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 - The nmap command never completes and its stuck there for a long time. A core dump gets generated and as per the core dump, it throws a seg fault. So, I face two issues here

  1. Even though there is a host-timeout, the timeout is not honored
  2. 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.

dksupriya avatar Aug 10 '22 17:08 dksupriya

Can anyone help with issue?

dksupriya avatar Sep 06 '22 17:09 dksupriya

Any one else faced the issue?

dksupriya avatar Mar 14 '24 19:03 dksupriya