April 2005
Intermediate to advanced
344 pages
11h 59m
English
The open_sock_tcp()
function accepts an optional parameter
called transport which you can set to indicate a
specific transport layer, which is set to
ENCAPS_IP to signify a pure TCP socket. The
following lists other types of Nessus transports you can use:
ENCAPS_SSLv23
SSL v23 connection. This allows v2 and v3 servers to specify and use their preferred version.
ENCAPS_SSLv2
Old SSL version.
ENCAPS_SSLv3
Latest SSL version.
ENCAPS_TLSv1
TLS version 1.0.
The get_port_transport( ) function takes in a
socket number as an argument, and returns its encapsulation, which
contains one of the constants specified in the preceding list.
Read now
Unlock full access