Files
bitburner-src/markdown/bitburner.darknet.heartbleed.md
Michael Ficocelli 6073964768 DARKNET: Darkweb Expansion Project & Bitnode (#2139)
This is BN15. It is a really big change; see the PR for all the details.
2026-02-03 03:40:36 -08:00

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

HeartbleedOptions

(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