Nmap Development mailing list archives

[NSE] Dependencies not working


From: Ron <ron () skullsecurity net>
Date: Sun, 12 Dec 2010 21:17:26 -0600

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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?

Ron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAk0FkEYACgkQ2t2zxlt4g/RVEQCg1n9GxdUQoO+5K/pLxSw90m5R
53IAnj8gh8JzlWVVfgNRK+aXs5fDcnXo
=STw5
-----END PGP SIGNATURE-----
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: