bitburner-src/doc/source/netscript/basicfunctions/nuke.rst

19 lines
448 B
ReStructuredText
Raw Normal View History

nuke() Netscript Function
=========================
2021-03-12 08:51:56 +01:00
.. js:function:: nuke(hostname)
:RAM cost: 0.05 GB
2021-03-12 08:51:56 +01:00
:param string hostname: Hostname of the target server.
Runs the ``NUKE.exe`` program on the target server. ``NUKE.exe`` must exist
2023-01-06 13:43:09 +01:00
on your home computer. Requires the targeted server to have enough ports opened,
otherwise will throw an error.
2021-03-12 08:51:56 +01:00
Example:
.. code-block:: javascript
2023-01-06 13:43:09 +01:00
ns.nuke("foodnstuff");