Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.
SECRET//ORCON//NOFORN
4.1 ConnectTo
Description
The “connect_to” verb takes in either an IP address or a host name and checks
to see if it is accessible from the target.
Usage
network.connect_to(<host data>)
Example
network.connect_to(10.10.10.10)
The above example attempts a connection to the IP address “10.10.10.10”.
Return Values
Return
Code
Description
True If the connection to the provided host is successful
False If the connection to the provided host is not successful
Invalid If there was an error setting up the connection
79
SECRET//ORCON//NOFORN