openvas-nasl1
Nessus attack scripting language
Usage
openvas-nasl <
[-vh]
[-T
tracefile]
[-s]
[-t
target]
[-c
config_file]
[-d]
[-sX]
>
files ...
Overview
openvas-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)
-
-e iface -
Specifies the network interface to be used as the source for established connections.
-
-s -
Sets the return value of safe_checks() to 1. (See the OpenVAS documentation to know what the safe checks are) Implies -B.
-
-D -
Only run the description part of the script.
-
-B -
Runs in description mode before running the script.
-
-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.
-
-d -
Output debug information to stderr.
-
-k key=value -
Set KB key to vaue. Can be used multiple times.
Releases
3 releases since Debian 6.0 (Squeeze); the text changed 2 times.
-B since Debian 9 (Stretch);
-d since Debian 9 (Stretch);
-e since Debian 9 (Stretch);
-k since Debian 10 (Buster).