mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
962 B
962 B
Home > bitburner > Darknet > getServerAuthDetails
Darknet.getServerAuthDetails() method
Returns the server's authentication protocol details.
Signature:
getServerAuthDetails(host?: string): ServerAuthDetails & { isOnline: boolean };
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
host |
string |
(Optional) Hostname/IP of the server to analyze. Defaults to the running script's server if not specified. |
Returns:
ServerAuthDetails & { isOnline: boolean }
An object containing the server's authentication protocol details.
Remarks
RAM cost: 0.1 GB