OpenVAS Libraries  9.0.3
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_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_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 *)
 
tree_cell * nasl_vendor_version (lex_ctxt *)
 

Function Documentation

◆ error_message()

tree_cell* error_message ( lex_ctxt *  )

◆ get_kb_item()

tree_cell* get_kb_item ( lex_ctxt *  )

◆ get_kb_list()

tree_cell* get_kb_list ( lex_ctxt *  )

◆ get_script_oid()

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.

◆ log_message()

tree_cell* log_message ( lex_ctxt *  )

◆ nasl_get_preference()

tree_cell* nasl_get_preference ( lex_ctxt *  )

◆ nasl_scanner_add_port()

tree_cell* nasl_scanner_add_port ( lex_ctxt *  )

◆ nasl_scanner_get_port()

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.

◆ nasl_scanner_status()

tree_cell* nasl_scanner_status ( lex_ctxt *  )

◆ nasl_vendor_version()

tree_cell* nasl_vendor_version ( lex_ctxt *  )

◆ network_targets()

tree_cell* network_targets ( lex_ctxt *  )

◆ replace_kb_item()

tree_cell* replace_kb_item ( lex_ctxt *  )

◆ safe_checks()

tree_cell* safe_checks ( lex_ctxt *  )

◆ scan_phase()

tree_cell* scan_phase ( lex_ctxt *  )

◆ script_add_preference()

tree_cell* script_add_preference ( lex_ctxt *  )

◆ script_bugtraq_id()

tree_cell* script_bugtraq_id ( lex_ctxt *  )

◆ script_category()

tree_cell* script_category ( lex_ctxt *  )

◆ script_copyright()

tree_cell* script_copyright ( lex_ctxt *  )

◆ script_cve_id()

tree_cell* script_cve_id ( lex_ctxt *  )

◆ script_dependencies()

tree_cell* script_dependencies ( lex_ctxt *  )

◆ script_exclude_keys()

tree_cell* script_exclude_keys ( lex_ctxt *  )

◆ script_family()

tree_cell* script_family ( lex_ctxt *  )

◆ script_get_preference()

tree_cell* script_get_preference ( lex_ctxt *  )

◆ script_get_preference_file_content()

tree_cell* script_get_preference_file_content ( lex_ctxt *  )

◆ script_get_preference_file_location()

tree_cell* script_get_preference_file_location ( lex_ctxt *  )

◆ script_id()

tree_cell* script_id ( lex_ctxt *  )

◆ script_mandatory_keys()

tree_cell* script_mandatory_keys ( lex_ctxt *  )

◆ script_name()

tree_cell* script_name ( lex_ctxt *  )

◆ script_oid()

tree_cell* script_oid ( lex_ctxt *  )

◆ script_require_keys()

tree_cell* script_require_keys ( lex_ctxt *  )

◆ script_require_ports()

tree_cell* script_require_ports ( lex_ctxt *  )

◆ script_require_udp_ports()

tree_cell* script_require_udp_ports ( lex_ctxt *  )

◆ script_summary()

tree_cell* script_summary ( lex_ctxt *  )

◆ script_tag()

tree_cell* script_tag ( lex_ctxt *  )

◆ script_timeout()

tree_cell* script_timeout ( lex_ctxt *  )

◆ script_version()

tree_cell* script_version ( lex_ctxt *  )

◆ script_xref()

tree_cell* script_xref ( lex_ctxt *  )

◆ security_message()

tree_cell* security_message ( lex_ctxt *  lexic)

Send a security message to the client.

Parameters
[in]lexicNASL lexer.
Returns
FAKE_CELL.

◆ set_kb_item()

tree_cell* set_kb_item ( lex_ctxt *  )