|
OpenVAS Scanner 23.40.3
|
#include "nasl_http.h"#include "../misc/plugutils.h"#include "../misc/user_agent.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. | |
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 30 of file nasl_http.c.
Definition at line 63 of file nasl_http.c.
References alloc_typed_cell(), build_encode_URL(), CONST_DATA, get_int_var_by_name(), get_str_var_by_name(), hostname, script_infos::ipc_context, nasl_perror(), plug_get_host_fqdn(), plug_get_kb(), struct_lex_ctxt::script_infos, TC::size, script_infos::standalone, TC::str_val, user_agent_get(), and TC::x.
Referenced by http_delete(), http_get(), http_head(), http_post(), and http_put().


|
static |
Definition at line 47 of file nasl_http.c.
References name.
Referenced by _http_req().

Definition at line 229 of file nasl_http.c.
References alloc_typed_cell(), CONST_DATA, TC::size, TC::str_val, and TC::x.

Definition at line 41 of file nasl_http.c.
References nasl_close_socket().

Definition at line 212 of file nasl_http.c.
References _http_req().

Definition at line 181 of file nasl_http.c.
References _http_req().
Referenced by plugin_do_run().


Definition at line 193 of file nasl_http.c.
References _http_req().

Definition at line 35 of file nasl_http.c.
References nasl_open_sock_tcp_bufsz().

Definition at line 203 of file nasl_http.c.
References _http_req().

Definition at line 221 of file nasl_http.c.
References _http_req().
