bitburner-src/src/DarkWeb/DarkWebItems.ts

25 lines
1.4 KiB
TypeScript
Raw Normal View History

import { DarkWebItem } from "./DarkWebItem";
import { IMap } from "../types";
2022-09-13 19:18:09 +02:00
import { Programs, initPrograms } from "../Programs/Programs";
2022-09-13 19:15:36 +02:00
export const DarkWebItems: IMap<DarkWebItem> = {};
export function initDarkWebItems() {
2022-09-13 19:18:09 +02:00
initPrograms();
2022-09-13 19:15:36 +02:00
Object.assign(DarkWebItems, {
BruteSSHProgram: new DarkWebItem(Programs.BruteSSHProgram.name, 500e3, "Opens up SSH Ports."),
FTPCrackProgram: new DarkWebItem(Programs.FTPCrackProgram.name, 1500e3, "Opens up FTP Ports."),
RelaySMTPProgram: new DarkWebItem(Programs.RelaySMTPProgram.name, 5e6, "Opens up SMTP Ports."),
HTTPWormProgram: new DarkWebItem(Programs.HTTPWormProgram.name, 30e6, "Opens up HTTP Ports."),
SQLInjectProgram: new DarkWebItem(Programs.SQLInjectProgram.name, 250e6, "Opens up SQL Ports."),
ServerProfiler: new DarkWebItem(
Programs.ServerProfiler.name,
500000,
"Displays detailed information about a server.",
),
DeepscanV1: new DarkWebItem(Programs.DeepscanV1.name, 500000, "Enables 'scan-analyze' with a depth up to 5."),
DeepscanV2: new DarkWebItem(Programs.DeepscanV2.name, 25e6, "Enables 'scan-analyze' with a depth up to 10."),
AutolinkProgram: new DarkWebItem(Programs.AutoLink.name, 1e6, "Enables direct connect via 'scan-analyze'."),
FormulasProgram: new DarkWebItem(Programs.Formulas.name, 5e9, "Unlock access to the formulas API."),
});
}