# Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

### Grasshopper

# Grasshopper-v1_1-AdminGuide

1 December, 2013

- 1
- 2
…
- 80
- 81
- 82
- 83
- 84
…
- 106
- 107

SECRET//ORCON//NOFORN
4.4 PortAvailable
Description
The “port_available” verb takes in a port value and checks to see if the port is
currently being used on the target.
Usage
network.port_available(<port value>)
Example
network.port_available(4332)
The above example checks to see if the port “4332” is being used on the
target.
Return Values
Return
Code
Description
True If the provided port is not currently in use
False If the provided port is currently in use
Invalid If there was a problem getting the port table
82
SECRET//ORCON//NOFORN

- 1
- 2
…
- 80
- 81
- 82
- 83
- 84
…
- 106
- 107