mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
1.1 KiB
1.1 KiB
Home > bitburner > Darknet > packetCapture
Darknet.packetCapture() method
Spends some time listening for unsecured network traffic on an adjacent server. If you are lucky, the server password may be somewhere in all the noise. The target server must be directly connected to the server that the script is running on.
Using multiple threads speeds up the capture process.
Signature:
packetCapture(host: string): Promise<DarknetResult & { data: string }>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
host |
string |
Hostname/IP of the server to listen to. |
Returns:
Promise<DarknetResult & { data: string }>
A promise that resolves to a DarknetResult object, plus the captured data.
Remarks
RAM cost: 6 GB