OpenVAS Scanner
21.4.1
|
Source of the standalone NASL interpreter of OpenVAS. More...
#include "nasl.h"
#include "../misc/network.h"
#include "../misc/nvt_categories.h"
#include "../misc/vendorversion.h"
#include "exec.h"
#include "nasl_lex_ctxt.h"
#include <errno.h>
#include <gcrypt.h>
#include <glib.h>
#include <gnutls/gnutls.h>
#include <gpgme.h>
#include <gvm/base/hosts.h>
#include <gvm/base/networking.h>
#include <gvm/base/nvti.h>
#include <gvm/base/prefs.h>
#include <gvm/util/kb.h>
#include <libssh/libssh.h>
#include <signal.h>
#include <stdlib.h>
#include <string.h>
#include <sys/wait.h>
#include <unistd.h>
Macros | |
#define | MAP_FAILED ((void *) -1) |
#define | G_LOG_DOMAIN "lib nasl" |
GLib logging domain. More... | |
Functions | |
char * | nasl_version (void) |
void | sighandler () |
static void | my_gnutls_log_func (int level, const char *text) |
struct script_infos * | init (struct in6_addr *ip, GSList *vhosts, kb_t kb) |
static nvti_t * | parse_script_infos (struct script_infos *infos) |
static int | nvti_category_is_safe (int category) |
Checks that an NVT category is safe. More... | |
static void | gcrypt_init () |
Initialize Gcrypt. More... | |
int | main (int argc, char **argv) |
Main of the standalone nasl interpreter. More... | |
Variables | |
FILE * | nasl_trace_fp |
Source of the standalone NASL interpreter of OpenVAS.
#define G_LOG_DOMAIN "lib nasl" |
GLib logging domain.
#define MAP_FAILED ((void *) -1) |
|
static |
Initialize Gcrypt.
struct script_infos* init | ( | struct in6_addr * | ip, |
GSList * | vhosts, | ||
kb_t | kb | ||
) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Main of the standalone nasl interpreter.
|
static |
char* nasl_version | ( | void | ) |
|
static |
Checks that an NVT category is safe.
category | Category to check. |
|
static |
void sighandler | ( | ) |
|
extern |