mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-11 18:23:54 +01:00
19 lines
448 B
ReStructuredText
19 lines
448 B
ReStructuredText
nuke() Netscript Function
|
|
=========================
|
|
|
|
.. js:function:: nuke(hostname)
|
|
|
|
:RAM cost: 0.05 GB
|
|
:param string hostname: Hostname of the target server.
|
|
|
|
Runs the ``NUKE.exe`` program on the target server. ``NUKE.exe`` must exist
|
|
on your home computer. Requires the targeted server to have enough ports opened,
|
|
otherwise will throw an error.
|
|
|
|
|
|
Example:
|
|
|
|
.. code-block:: javascript
|
|
|
|
ns.nuke("foodnstuff");
|