Files
bitburner-src/markdown/bitburner.darknet.probe.md
Michael Ficocelli 6073964768 DARKNET: Darkweb Expansion Project & Bitnode (#2139)
This is BN15. It is a really big change; see the PR for all the details.
2026-02-03 03:40:36 -08:00

1.1 KiB

Home > bitburner > Darknet > probe

Darknet.probe() method

Returns a list of all darknet servers connected to the script's current server. For example, if called from a script running on home, it will return ["darkweb"]. It will return an empty list if there are no darknet servers connected to the current server.

Note that there is no guarantee about the order of servers in the returned list.

Signature:

probe(returnByIP?: boolean): string[];

Parameters

Parameter

Type

Description

returnByIP

boolean

(Optional) Optional. Controls whether the function returns IPs instead of hostnames. Defaults to false.

Returns:

string[]

An array of strings containing the hostnames/IPs of all servers connected to the current server.

Remarks

RAM cost: 0.2 GB