Network Encapsulation
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.
Get Network Security Tools now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.