OpenVAS Libraries  8.0.7
Functions
nasl_scanner_glue.h File Reference

Go to the source code of this file.

Functions

tree_cell * script_timeout (lex_ctxt *)
 
tree_cell * script_id (lex_ctxt *)
 
tree_cell * script_oid (lex_ctxt *)
 
tree_cell * script_cve_id (lex_ctxt *)
 
tree_cell * script_bugtraq_id (lex_ctxt *)
 
tree_cell * script_xref (lex_ctxt *)
 
tree_cell * script_tag (lex_ctxt *)
 
tree_cell * script_name (lex_ctxt *)
 
tree_cell * script_version (lex_ctxt *)
 
tree_cell * script_description (lex_ctxt *)
 
tree_cell * script_copyright (lex_ctxt *)
 
tree_cell * script_summary (lex_ctxt *)
 
tree_cell * script_category (lex_ctxt *)
 
tree_cell * script_family (lex_ctxt *)
 
tree_cell * script_dependencies (lex_ctxt *)
 
tree_cell * script_require_keys (lex_ctxt *)
 
tree_cell * script_mandatory_keys (lex_ctxt *)
 
tree_cell * script_exclude_keys (lex_ctxt *)
 
tree_cell * script_require_ports (lex_ctxt *)
 
tree_cell * script_require_udp_ports (lex_ctxt *)
 
tree_cell * nasl_get_preference (lex_ctxt *)
 
tree_cell * script_add_preference (lex_ctxt *)
 
tree_cell * script_get_preference (lex_ctxt *)
 
tree_cell * script_get_preference_file_content (lex_ctxt *)
 
tree_cell * script_get_preference_file_location (lex_ctxt *)
 
tree_cell * safe_checks (lex_ctxt *)
 
tree_cell * scan_phase (lex_ctxt *)
 
tree_cell * network_targets (lex_ctxt *)
 
tree_cell * get_script_oid (lex_ctxt *)
 Return the OID of the current script. More...
 
tree_cell * get_kb_item (lex_ctxt *)
 
tree_cell * get_kb_fresh_item (lex_ctxt *)
 
tree_cell * get_kb_list (lex_ctxt *)
 
tree_cell * set_kb_item (lex_ctxt *)
 
tree_cell * replace_kb_item (lex_ctxt *)
 
tree_cell * security_message (lex_ctxt *)
 Send a security message to the client. More...
 
tree_cell * log_message (lex_ctxt *)
 
tree_cell * error_message (lex_ctxt *)
 
tree_cell * nasl_scanner_get_port (lex_ctxt *)
 
tree_cell * nasl_scanner_add_port (lex_ctxt *)
 
tree_cell * nasl_scanner_status (lex_ctxt *)
 

Function Documentation

tree_cell* error_message ( lex_ctxt *  )
tree_cell* get_kb_fresh_item ( lex_ctxt *  lexic)

XXX Deprecated call.

tree_cell* get_kb_item ( lex_ctxt *  )
tree_cell* get_kb_list ( lex_ctxt *  )
tree_cell* get_script_oid ( lex_ctxt *  lexic)

Return the OID of the current script.

Parameters
[in]lexicNASL lexer.
Returns
lex cell containing the OID as a string.
tree_cell* log_message ( lex_ctxt *  )
tree_cell* nasl_get_preference ( lex_ctxt *  )
tree_cell* nasl_scanner_add_port ( lex_ctxt *  )
tree_cell* nasl_scanner_get_port ( lex_ctxt *  lexic)

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.

tree_cell* nasl_scanner_status ( lex_ctxt *  )
tree_cell* network_targets ( lex_ctxt *  )
tree_cell* replace_kb_item ( lex_ctxt *  )
tree_cell* safe_checks ( lex_ctxt *  )
tree_cell* scan_phase ( lex_ctxt *  )
tree_cell* script_add_preference ( lex_ctxt *  )
tree_cell* script_bugtraq_id ( lex_ctxt *  )
tree_cell* script_category ( lex_ctxt *  )
tree_cell* script_copyright ( lex_ctxt *  )
tree_cell* script_cve_id ( lex_ctxt *  )
tree_cell* script_dependencies ( lex_ctxt *  )
tree_cell* script_description ( lex_ctxt *  )
tree_cell* script_exclude_keys ( lex_ctxt *  )
tree_cell* script_family ( lex_ctxt *  )
tree_cell* script_get_preference ( lex_ctxt *  )
tree_cell* script_get_preference_file_content ( lex_ctxt *  )
tree_cell* script_get_preference_file_location ( lex_ctxt *  )
tree_cell* script_id ( lex_ctxt *  )
tree_cell* script_mandatory_keys ( lex_ctxt *  )
tree_cell* script_name ( lex_ctxt *  )
tree_cell* script_oid ( lex_ctxt *  )
tree_cell* script_require_keys ( lex_ctxt *  )
tree_cell* script_require_ports ( lex_ctxt *  )
tree_cell* script_require_udp_ports ( lex_ctxt *  )
tree_cell* script_summary ( lex_ctxt *  )
tree_cell* script_tag ( lex_ctxt *  )
tree_cell* script_timeout ( lex_ctxt *  )
tree_cell* script_version ( lex_ctxt *  )
tree_cell* script_xref ( lex_ctxt *  )
tree_cell* security_message ( lex_ctxt *  lexic)

Send a security message to the client.

Parameters
[in]lexicNASL lexer.
Returns
FAKE_CELL.
tree_cell* set_kb_item ( lex_ctxt *  )