helpers.discover - vladzaharia/bitburner GitHub Wiki
▸ main(ns): Promise<void>
Get all available and crackable hosts via Terminal, to a default depth of 5.
export
example Discover hosts to depth of 5.
run /helpers/discover.jsexample Discover hosts to passed in depth.
run /helpers/discover.js [depth]| Name | Type | Description |
|---|---|---|
ns |
NS |
The Netscript object. |
Promise<void>