save
This commit is contained in:
@@ -81,7 +81,9 @@
|
||||
"ftpcrack",
|
||||
"Hacknet",
|
||||
"httpworm",
|
||||
"Netburners",
|
||||
"relaysmtp",
|
||||
"run4theh111z",
|
||||
"sqlinject",
|
||||
"tprint"
|
||||
]
|
||||
|
||||
+12
-5
@@ -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'
|
||||
];
|
||||
@@ -27,5 +27,6 @@ export async function main(ns) {
|
||||
while (true) {
|
||||
ns.print(`Running scan`);
|
||||
await scanServer('home');
|
||||
ns.sleep(50);
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -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
Reference in New Issue
Block a user