1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
.TH NASL 1 "May 2006" "OpenVAS Project" "Nessus Attack Scripting Language"
.SH NAME
openvas-nasl \- Nessus Attack Scripting Language
.SH SYNOPSIS
.B openvas-nasl
.I <[-vh] [-T tracefile] [-s] [-t target] [-sX] > files...
.SH DESCRIPTION
.BR 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 (\fB-p\fR) or lint (\fB-L\fR) mode.
.SH OPTIONS
.TP
.B \-T tracefile
Makes nasl write verbosely what the script does in the file
.I tracefile
, ala 'set -x' under sh
.TP
.B \-t target
Apply the NASL script to
.I 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)
.TP
.B \-s
Sets the return value of safe_checks() to 1. (See the nessusd manual to know
what the safe checks are)
.TP
.B \-D
Only run the description part of the script.
.TP
.B \-L
.BI Lint
the script (run extended checks).
.TP
.B \-X
Run the script in
.BI authenticated
mode. For more information see the nasl reference manual
.TP
.B \-h
Show help
.TP
.B \-v
Show the version of NASL.
.SH SEE ALSO
.BR The\ NASL2\ reference\ manual
.BR OpenVAS-Client (1),
.BR openvasd (8).
.SH HISTORY
NASL comes from a private project called 'pkt_forge', which was written in late 1998 by Renaud Deraison and which was an interactive shell to forge and send raw IP packets (this pre-dates Perl's Net::RawIP by a couple of weeks). It was then extended to do a wide range of network-related operations and integrated into Nessus as 'NASL'.
The parser was completely hand-written and a pain to work with. In Mid-2002, Michel Arboi wrote a bison parser for NASL, and he and Renaud Deraison re-wrote NASL from scratch. Although the "new" NASL was nearly working as early as
August 2002, Michel's lazyness made us wait for early 2003 to have it working completely.
.SH AUTHOR
Most of the engine is (C) 2003 Michel Arboi, most of the built-in functions
are (C) 2003 Renaud Deraison
|