mailing list archives
Re: [NSE] Large recode for nse_main (test please)
From: David Fifield <david () bamsoftware com>
Date: Tue, 3 Jun 2008 11:22:19 -0600
On Tue, Jun 03, 2008 at 02:33:44AM -0600, Patrick Donnelly wrote:
Attached is a patch against Nmap 4.65. The patch improves NSE's
interface with Lua, especially in critical regions (particularly where
threads are manipulated).
I found an assertion failure that happens when no open ports are found.
# nmap --script-trace -sC -p15-21 target
Starting Nmap 4.65 ( http://nmap.org ) at 2008-06-03 11:17 MDT
PORT STATE SERVICE
15/tcp closed netstat
16/tcp closed unknown
17/tcp closed qotd
18/tcp closed msp
19/tcp closed chargen
20/tcp closed ftp-data
21/tcp open ftp
Taking away the open port,
# nmap --script-trace -sC -p15-20 target
Starting Nmap 4.65 ( http://nmap.org ) at 2008-06-03 11:18 MDT
Completed SYN Stealth Scan at 11:19, 0.02s elapsed (6 total ports)
Overall sending rates: 359.04 packets / s, 15797.98 bytes / s.
SCRIPT ENGINE: Initiating script scanning.
SCRIPT ENGINE: Script scanning goomba.bamsoftware.com (18.104.22.168).
SCRIPT ENGINE: Initialized 0 rules
SCRIPT ENGINE: Matching rules.
SCRIPT ENGINE: Running scripts.
SCRIPT ENGINE: Script scanning completed.
nmap: Target.cc:398: void Target::stopTimeOutClock(const timeval*):
Assertion `htn.toclock_running == true' failed.
The same thing happens if I use other blocks of closed ports, like
Sent through the nmap-dev mailing list
Archived at http://SecLists.Org
Re: [NSE] Large recode for nse_main (test please) David Fifield (Jun 03)
Re: [NSE] Large recode for nse_main (test please) jah (Jun 08)