This commit is contained in:
2022-09-14 09:22:47 +02:00
parent 34254586b5
commit 017f853a03
5 changed files with 17 additions and 6 deletions
+2
View File
@@ -81,7 +81,9 @@
"ftpcrack",
"Hacknet",
"httpworm",
"Netburners",
"relaysmtp",
"run4theh111z",
"sqlinject",
"tprint"
]
+12 -5
View File
@@ -1,16 +1,23 @@
/** @param {import(".").NS } ns */
// import { EXCLUDE_SERVERS } from "./constants.js";
export const EXCLUDE_SERVERS = ['home'];
export const EXCLUDE_SERVERS = [
'home',
'CSEC',
'avmnite-02h',
'I.I.I.I',
'run4theh111z'
];
for (let index = 0; index < 25; index++) {
EXCLUDE_SERVERS.push(`home-${index}`);
}
EXCLUDE_SERVERS.push('CSEC');
EXCLUDE_SERVERS.push('avmnite-02h');
EXCLUDE_SERVERS.push('I.I.I.I');
const COMPLETED_FACTIONS = [
'CyberSec',
'Netburners',
'NiteSec'
'NiteSec',
'The Black Hand',
'Aevum',
'Sector-12'
];
+1
View File
@@ -27,5 +27,6 @@ export async function main(ns) {
while (true) {
ns.print(`Running scan`);
await scanServer('home');
ns.sleep(50);
}
}
+1 -1
View File
@@ -128,6 +128,6 @@ export async function main(ns) {
if (portData != 'NULL PORT DATA') ns.write(logFile, portData, 'a');
}
await ns.sleep(50);
await ns.sleep(1000);
}
}
File diff suppressed because one or more lines are too long