OpenVAS Libraries  8.0.3
Macros
nvt_categories.h File Reference

Go to the source code of this file.

Macros

#define ACT_LAST   ACT_END
 NVT 'Categories', influence execution order of NVTs. More...
 
#define ACT_FIRST   ACT_INIT
 
#define ACT_UNKNOWN   11
 
#define ACT_END   10
 
#define ACT_FLOOD   9
 
#define ACT_KILL_HOST   8
 
#define ACT_DENIAL   7
 
#define ACT_DESTRUCTIVE_ATTACK   6
 
#define ACT_MIXED_ATTACK   5
 
#define ACT_ATTACK   4
 
#define ACT_GATHER_INFO   3
 
#define ACT_SETTINGS   2
 
#define ACT_SCANNER   1
 
#define ACT_INIT   0
 
#define ACT_STRING_INIT   "init"
 
#define ACT_STRING_SCANNER   "scanner"
 
#define ACT_STRING_SETTINGS   "settings"
 
#define ACT_STRING_GATHER_INFO   "infos"
 
#define ACT_STRING_ATTACK   "attack"
 
#define ACT_STRING_MIXED_ATTACK   "mixed"
 
#define ACT_STRING_DESTRUCTIVE_ATTACK   "destructive_attack"
 
#define ACT_STRING_DENIAL   "denial"
 
#define ACT_STRING_KILL_HOST   "kill_host"
 
#define ACT_STRING_FLOOD   "flood"
 
#define ACT_STRING_END   "end"
 
#define ACT_STRING_UNKNOWN   "unknown"
 
#define ACT_STRING_LIST_ALL
 

Detailed Description

This file contains defines for the categories of NVTs. Categories influence the execution order of NVTs (e.g. NVTs with category ACT_SCANNER are in principle executed first).

Macro Definition Documentation

#define ACT_ATTACK   4
#define ACT_DENIAL   7
#define ACT_DESTRUCTIVE_ATTACK   6
#define ACT_END   10
#define ACT_FIRST   ACT_INIT

First plugins actions type.

#define ACT_FLOOD   9
#define ACT_GATHER_INFO   3
#define ACT_INIT   0
#define ACT_KILL_HOST   8
#define ACT_LAST   ACT_END

NVT 'Categories', influence execution order of NVTs.

Todo:
Consider creation of an enumeration.

Last plugins actions type.

#define ACT_MIXED_ATTACK   5
#define ACT_SCANNER   1
#define ACT_SETTINGS   2
#define ACT_STRING_ATTACK   "attack"
#define ACT_STRING_DENIAL   "denial"
#define ACT_STRING_DESTRUCTIVE_ATTACK   "destructive_attack"
#define ACT_STRING_END   "end"
#define ACT_STRING_FLOOD   "flood"
#define ACT_STRING_GATHER_INFO   "infos"
#define ACT_STRING_INIT   "init"
#define ACT_STRING_KILL_HOST   "kill_host"
#define ACT_STRING_LIST_ALL
Value:
#define ACT_STRING_FLOOD
Definition: nvt_categories.h:69
#define ACT_STRING_END
Definition: nvt_categories.h:70
#define ACT_STRING_INIT
Definition: nvt_categories.h:60
#define ACT_STRING_ATTACK
Definition: nvt_categories.h:64
#define ACT_STRING_DENIAL
Definition: nvt_categories.h:67
#define ACT_STRING_SCANNER
Definition: nvt_categories.h:61
#define ACT_STRING_GATHER_INFO
Definition: nvt_categories.h:63
#define ACT_STRING_KILL_HOST
Definition: nvt_categories.h:68
#define ACT_STRING_MIXED_ATTACK
Definition: nvt_categories.h:65
#define ACT_STRING_DESTRUCTIVE_ATTACK
Definition: nvt_categories.h:66
#define ACT_STRING_SETTINGS
Definition: nvt_categories.h:62
#define ACT_STRING_UNKNOWN
Definition: nvt_categories.h:71
#define ACT_STRING_MIXED_ATTACK   "mixed"
#define ACT_STRING_SCANNER   "scanner"
#define ACT_STRING_SETTINGS   "settings"
#define ACT_STRING_UNKNOWN   "unknown"
#define ACT_UNKNOWN   11