mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-04 21:43:48 +01:00
15 lines
385 B
ReStructuredText
15 lines
385 B
ReStructuredText
getServerSecurityLevel() Netscript Function
|
|
===========================================
|
|
|
|
.. js:function:: getServerSecurityLevel(hostname)
|
|
|
|
:RAM cost: 0.1 GB
|
|
:param string hostname: Hostname of target server.
|
|
:returns: The security level of the target server.
|
|
|
|
Example:
|
|
|
|
.. code-block:: javascript
|
|
|
|
ns.getServerSecurityLevel("foodnstuff"); // returns: 3.45
|