mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-09 17:23:53 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
1.0 KiB
1.0 KiB
Home > bitburner > Singularity > getDarkwebPrograms
Singularity.getDarkwebPrograms() method
Get a list of programs offered on the dark web.
Signature:
getDarkwebPrograms(): string[];
Returns:
string[]
- a list of programs available for purchase on the dark web, or [] if Tor has not been purchased
Remarks
RAM cost: 1 GB * 16/4/1
This function allows the player to get a list of programs available for purchase on the dark web. Players MUST have purchased Tor to get the list of programs available. If Tor has not been purchased yet, this function will return an empty list.
Example 1
// NS1
getDarkwebPrograms();
// returns ['BruteSSH.exe', 'FTPCrack.exe'...etc]
Example 2
// NS2
ns.getDarkwebPrograms();
// returns ['BruteSSH.exe', 'FTPCrack.exe'...etc]