mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
765 B
765 B
NS.nuke() method
Runs NUKE.exe on a server.
Signature:
nuke(host: string): boolean;
Parameters
| Parameter | Type | Description |
|---|---|---|
| host | string | Hostname of the target server. |
Returns:
boolean
True if the player runs the program successfully, and false otherwise.
Remarks
RAM cost: 0.05 GB
Running NUKE.exe on a target server gives you root access which means you can execute scripts on said server. NUKE.exe must exist on your home computer.
Example
ns.nuke("foodnstuff");