Nmap Development mailing list archives

Re: [NSE] Dependencies not working


From: David Fifield <david () bamsoftware com>
Date: Sun, 12 Dec 2010 19:43:12 -0800

On Sun, Dec 12, 2010 at 09:17:26PM -0600, Ron wrote:
Hey,

In the current HEAD version (and I'm not sure how far back), it looks like script dependencies aren't working. 
Scripts are put in the right order, and it goes through the runlevels in the right order, but the runlevels end and 
the new ones start before the scripts have a chance to finish. 

Here's an example:

==
$ ./nmap -p445 -d -n --script=smb-brute,smb-enum-users 192.168.1.104

Starting Nmap 5.36TEST2 ( http://nmap.org ) at 2010-12-12 21:15 CST
[...]
NSE: Starting runlevel 1 (of 2) scan.
NSE: Script scanning 192.168.1.104.
NSE: Starting smb-brute against 192.168.1.104.
NSE: Starting runlevel 2 (of 2) scan.
NSE: Script scanning 192.168.1.104.
NSE: Starting smb-enum-users against 192.168.1.104.
==

So basically, it runs smb-enum-users.nse without waiting for smb-brute.nse to finish. I've replicated this with other 
scripts, as well. 

Any idea what's happening?

Can you try r21083 and r21146? That's before and after the recent
CONCURRENCY_LIMIT change that also affected runlevels.

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: