nasl1
Nessus attack scripting language parser
Usage
nasl <
[-vh]
[-DLp]
[-T
tracefile]
[-s]
[-t
target]
[-sX]
>
files ...
Overview
nasl executes a set of NASL scripts against a given target host. It can also be used to determine if a NASL script has any syntax errors by running it in parse (-p) or lint (-L) mode.
Options
-
-T tracefile -
Makes nasl write verbosely what the script does in the file tracefile , ala 'set -x' under sh
-
-t target -
Apply the NASL script to target which may be a single host (127.0.0.1), a whole subnet (192.168.1.0/24) or several subnets (192.168.1.0/24, 192.168.243.0/24). The default target is localhost (127.0.0.1).
-
-s -
Sets the return value of safe_checks() to 1. (See the nessusd manual to know what the safe checks are)
-
-D -
Only run the description part of the script.
-
-p -
Only parse the script, do not execute it.
-
-L -
Lintthe script (run extended checks).
-
-X -
Run the script in
authenticatedmode. For more information see the NASL reference manual.
-
-h -
Show help
-
-v -
Show the version of NASL.
Releases
4 releases since Debian 3.0 (Woody); the text changed 3 times.
-D since Debian 4.0 (Etch);
-L since Debian 4.0 (Etch);
-T since Debian 3.1 (Sarge);
-X since Debian 4.0 (Etch);
-p since Debian 4.0 (Etch);
-s since Debian 3.1 (Sarge).
-S until Debian 4.0 (Etch).