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