Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: Script force
From: Djalal Harouni <tixxdz () opendz org>
Date: Wed, 16 Nov 2011 02:10:57 +0100

On Tue, Nov 15, 2011 at 06:13:32PM +0100, Martin Holst Swende wrote:
----- Ursprungsmeddelande -----
On Tue, Nov 15, 2011 at 03:24:12PM +0100, Martin Holst Swende wrote:
Usage :
nmap -p2424 target.com --script ms-sql-config --script-args force

The primary usecase people seem to have is that they e.g. do a
configuration review of a lot of ms-sql servers, say you have a list of
20 servers where the database is located on an uncomon port. They don't
want to have to do -sV --version-all just to run a script, since they
already know what's on the port.

Martin, 

looks interesting and useful! Does it respect script dependencies or it
justĀ   forces single script to run?

It just makes the script engine ignore what the script returns in the portrule, and acts as if it answered yes. So I 
suppose it respects script dependencies (..?)
Yes, dependencies are not affected since they are calculated before
running the scripts (before evaluating rules).

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


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]