OpenVAS Scanner  7.0.1~git
nmap_host Struct Reference

Store host information. More...

Collaboration diagram for nmap_host:
Collaboration graph

Data Fields

gchar * addr
 
gchar * state
 
gchar * best_os
 
gchar * tcpseq_index
 
gchar * tcpseq_difficulty
 
gchar * ipidseq
 
int distance
 
struct traceroute_hop trace [MAX_TRACE_HOPS]
 
int os_confidence
 
GSList * host_scripts
 
GSList * ports
 
GSList * os_cpes
 

Detailed Description

Store host information.

Most entries are represented as gchar* despite they represent numbers. Conversion would be overkill as these entries are read as strings and reported as strings as well.

Definition at line 257 of file nasl_builtin_nmap.c.

Field Documentation

◆ addr

◆ best_os

gchar* nmap_host::best_os

Best OS fingerprinting guess.

Definition at line 261 of file nasl_builtin_nmap.c.

Referenced by current_host_reset(), save_detected_os(), and xmltag_open_osmatch().

◆ distance

int nmap_host::distance

Hop count to the target.

Definition at line 266 of file nasl_builtin_nmap.c.

Referenced by save_traceroute_details(), and xmltag_open_distance().

◆ host_scripts

GSList* nmap_host::host_scripts

List of related host script results.

Definition at line 269 of file nasl_builtin_nmap.c.

Referenced by current_host_reset(), save_hostscripts(), and tmphost_add_nse_hostscript().

◆ ipidseq

gchar* nmap_host::ipidseq

IP ID sequence.

Definition at line 264 of file nasl_builtin_nmap.c.

Referenced by current_host_reset(), save_ipidseq_details(), and xmltag_open_ipidsequence().

◆ os_confidence

int nmap_host::os_confidence

OS detection confidence score.

Definition at line 268 of file nasl_builtin_nmap.c.

Referenced by xmltag_open_osmatch().

◆ os_cpes

GSList* nmap_host::os_cpes

List of CPEs gathered during OS fingerprinting.

Definition at line 271 of file nasl_builtin_nmap.c.

Referenced by current_host_reset(), save_detected_os(), and xmltag_close_cpe().

◆ ports

GSList* nmap_host::ports

List of ports.

Definition at line 270 of file nasl_builtin_nmap.c.

Referenced by current_host_reset(), save_open_ports(), save_portscripts(), and tmphost_add_port().

◆ state

gchar* nmap_host::state

Host aliveness.

Definition at line 260 of file nasl_builtin_nmap.c.

Referenced by current_host_reset(), save_host_state(), and xmltag_open_status().

◆ tcpseq_difficulty

gchar* nmap_host::tcpseq_difficulty

TCP sequence prediction difficulty.

Definition at line 263 of file nasl_builtin_nmap.c.

Referenced by current_host_reset(), save_tcpseq_details(), and xmltag_open_tcpsequence().

◆ tcpseq_index

gchar* nmap_host::tcpseq_index

TCP sequence index.

Definition at line 262 of file nasl_builtin_nmap.c.

Referenced by current_host_reset(), save_tcpseq_details(), and xmltag_open_tcpsequence().

◆ trace

struct traceroute_hop nmap_host::trace[MAX_TRACE_HOPS]

Traceroute results.

Definition at line 267 of file nasl_builtin_nmap.c.

Referenced by current_host_reset(), save_traceroute_details(), and xmltag_open_hop().


The documentation for this struct was generated from the following file: