OpenVAS Libraries
7.0.7
|
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
#include <math.h>
#include <glib.h>
#include "kb.h"
#include "plugutils.h"
#include "scanners_utils.h"
#include "system.h"
#include "strutils.h"
#include "nasl_tree.h"
#include "nasl_global_ctxt.h"
#include "nasl_func.h"
#include "nasl_var.h"
#include "nasl_lex_ctxt.h"
#include "nasl_debug.h"
#include "nasl_scanner_glue.h"
#include "../base/nvticache.h"
Macros | |
#define | NASL_DEBUG 0 |
Typedefs | |
typedef void(* | proto_post_something_t )(struct arglist *, int, const char *, const char *) |
typedef void(* | post_something_t )(struct arglist *, int, const char *) |
This file contains all the functions that make the "glue" between as NASL script and openvassd. (script_*(), kb(), scanner_*())
#define NASL_DEBUG 0 |
typedef void(* post_something_t)(struct arglist *, int, const char *) |
Function is used when the script wants to report a problem back to openvassd.
typedef void(* proto_post_something_t)(struct arglist *, int, const char *, const char *) |
Function is used when the script wants to report a problem back to openvassd.
Instead of reading the local copy of the KB, we ask the upstream father the "newest" value of a given KB item. This is especially useful when dealing with shared sockets and SSH.
Return the OID of the current script.
[in] | lexic | NASL lexer. |
If the plugin is a port scanner, it needs to report the list of open ports back to openvas scanner, and it also needs to know which ports are to be scanned.
Send a security message to the client.
[in] | lexic | NASL lexer. |