2019-03-03 04:08:54 +01:00
|
|
|
nuke() Netscript Function
|
|
|
|
=========================
|
|
|
|
|
2021-03-12 08:51:56 +01:00
|
|
|
.. js:function:: nuke(hostname)
|
2019-03-03 04:08:54 +01:00
|
|
|
|
2021-03-07 10:13:37 +01:00
|
|
|
:RAM cost: 0.05 GB
|
2021-03-12 08:51:56 +01:00
|
|
|
:param string hostname: Hostname of the target server.
|
2019-03-03 04:08:54 +01:00
|
|
|
|
2021-07-02 23:27:59 +02:00
|
|
|
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.
|
2019-03-03 04:08:54 +01:00
|
|
|
|
2021-03-12 08:51:56 +01:00
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
.. code-block:: javascript
|
2019-03-03 04:08:54 +01:00
|
|
|
|
2023-01-06 13:43:09 +01:00
|
|
|
ns.nuke("foodnstuff");
|