getServerNumPortsRequired() Netscript Function

getServerNumPortsRequired(hostname/ip)
Arguments:
  • hostname/ip (string) – Hostname or IP of target server
RAM cost:

0.1 GB

Returns the number of open ports required to successfully run NUKE.exe on the specified server.