1.7 KiB
Home > bitburner > Darknet > heartbleed
Darknet.heartbleed() method
Uses an exploit to extract log data from a server by sending a malformed heartbeat request. Retrieves the most recent logs on the server. This can be used to get more feedback on authentication attempts. The retrieved logs are removed from the server, unless the "peek" flag is set to true in the provided HeartbleedOptions.
Servers will periodically produce logs themselves, as well, which sometimes are useful, but most times are not.
The speed of capture scales with the number of threads used. See formulas.dnet.getHeartbleedTime for more information.
Signature:
heartbleed(host: string, options?: HeartbleedOptions): Promise<DarknetResult & { logs: string[] }>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
host |
string |
Hostname/IP of the target server. Must be directly connected to the current server. |
|
options |
(Optional) Optional HeartbleedOptions to modify how the exploit works. |
Returns:
Promise<DarknetResult & { logs: string[] }>
A promise that resolves to a DarknetResult object, plus the scraped logs.
Remarks
RAM cost: 0.6 GB