mirror of
https://gitlab.com/MisterBiggs/bitburner-scripts.git
synced 2025-08-05 13:01:30 +00:00
spider now works wonderfully
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
script = "advhack.script";
|
||||
|
||||
nuke("foodnstuff");
|
||||
servers = scan();
|
||||
nuked = ["darkweb", "home"];
|
||||
nuked = ["home"];
|
||||
|
||||
i = 0;
|
||||
while (i < servers.length) {
|
||||
@@ -54,18 +54,38 @@ while (true) {
|
||||
|
||||
i = 0;
|
||||
while (i < tonuke.length) {
|
||||
if (getServerNumPortsRequired(tonuke[i]) > 3) {
|
||||
i++;
|
||||
continue;
|
||||
}
|
||||
if (getHackingLevel() < getServerRequiredHackingLevel(tonuke[i])) {
|
||||
i++;
|
||||
continue;
|
||||
}
|
||||
|
||||
brutessh(tonuke[i]);
|
||||
ftpcrack(tonuke[i]);
|
||||
ftpcrack(tonuke[i]);
|
||||
ports = 0;
|
||||
if (fileExists("BruteSSH.exe")) {
|
||||
brutessh(tonuke[i]);
|
||||
ports++;
|
||||
}
|
||||
if (fileExists("FTPCrack.exe")) {
|
||||
ftpcrack(tonuke[i]);
|
||||
ports++;
|
||||
}
|
||||
if (fileExists("relaySMTP.exe")) {
|
||||
relaysmtp(tonuke[i]);
|
||||
ports++;
|
||||
}
|
||||
if (fileExists("HTTPWorm.exe")) {
|
||||
httpworm(tonuke[i]);
|
||||
ports++;
|
||||
}
|
||||
if (fileExists("SQLInject.exe")) {
|
||||
sqlinject(tonuke[i]);
|
||||
ports++;
|
||||
}
|
||||
if (getServerNumPortsRequired(tonuke[i]) > ports) {
|
||||
i++;
|
||||
continue;
|
||||
}
|
||||
|
||||
// ftpcrack(tonuke[i]);
|
||||
nuke(tonuke[i]);
|
||||
|
||||
scp(script, tonuke[i]);
|
||||
|
Reference in New Issue
Block a user