OpenVAS Scanner
7.0.1~git
|
#include "nasl_http.h"
#include "../misc/plugutils.h"
#include "../misc/vendorversion.h"
#include "exec.h"
#include "nasl_debug.h"
#include "nasl_func.h"
#include "nasl_global_ctxt.h"
#include "nasl_lex_ctxt.h"
#include "nasl_socket.h"
#include "nasl_tree.h"
#include "nasl_var.h"
#include <ctype.h>
#include <glib.h>
#include <gvm/base/prefs.h>
#include <gvm/util/kb.h>
#include <string.h>
Go to the source code of this file.
Macros | |
#define | G_LOG_DOMAIN "lib nasl" |
GLib log domain. More... | |
Functions | |
tree_cell * | http_open_socket (lex_ctxt *lexic) |
tree_cell * | http_close_socket (lex_ctxt *lexic) |
static char * | build_encode_URL (char *method, char *path, char *name, char *httpver) |
static tree_cell * | _http_req (lex_ctxt *lexic, char *keyword) |
tree_cell * | http_get (lex_ctxt *lexic) |
tree_cell * | http_head (lex_ctxt *lexic) |
tree_cell * | http_post (lex_ctxt *lexic) |
tree_cell * | http_delete (lex_ctxt *lexic) |
tree_cell * | http_put (lex_ctxt *lexic) |
tree_cell * | cgibin (lex_ctxt *lexic) |
#define G_LOG_DOMAIN "lib nasl" |
GLib log domain.
Definition at line 42 of file nasl_http.c.
Definition at line 75 of file nasl_http.c.
References alloc_typed_cell(), build_encode_URL(), CONST_DATA, get_int_var_by_name(), get_plugin_preference(), get_str_var_by_name(), hostname, nasl_perror(), plug_get_host_fqdn(), plug_get_kb(), struct_lex_ctxt::script_infos, TC::size, TC::str_val, vendor_version_get(), and TC::x.
Referenced by http_delete(), http_get(), http_head(), http_post(), and http_put().
|
static |
Definition at line 59 of file nasl_http.c.
References name.
Referenced by _http_req().
Definition at line 247 of file nasl_http.c.
References alloc_typed_cell(), CONST_DATA, TC::size, TC::str_val, and TC::x.
Definition at line 53 of file nasl_http.c.
References nasl_close_socket().
Definition at line 230 of file nasl_http.c.
References _http_req().
Definition at line 199 of file nasl_http.c.
References _http_req().
Referenced by plugin_do_run().
Definition at line 211 of file nasl_http.c.
References _http_req().
Definition at line 47 of file nasl_http.c.
References nasl_open_sock_tcp_bufsz().
Definition at line 221 of file nasl_http.c.
References _http_req().
Definition at line 239 of file nasl_http.c.
References _http_req().