mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-02-18 10:53:43 +01:00
Analyze now outputs if a server has a backdoor installed or not
This commit is contained in:
@ -315,6 +315,7 @@ export class Terminal implements ITerminal {
|
|||||||
this.print("Root Access: " + (hasAdminRights ? "YES" : "NO"));
|
this.print("Root Access: " + (hasAdminRights ? "YES" : "NO"));
|
||||||
this.print("Can run scripts on this host: " + (hasAdminRights ? "YES" : "NO"));
|
this.print("Can run scripts on this host: " + (hasAdminRights ? "YES" : "NO"));
|
||||||
if (currServ instanceof Server) {
|
if (currServ instanceof Server) {
|
||||||
|
this.print("Backdoor: " + (currServ.backdoorInstalled ? "YES" : "NO"));
|
||||||
const hackingSkill = currServ.requiredHackingSkill;
|
const hackingSkill = currServ.requiredHackingSkill;
|
||||||
this.print("Required hacking skill for hack() and backdoor: " + (!isHacknet ? hackingSkill : "N/A"));
|
this.print("Required hacking skill for hack() and backdoor: " + (!isHacknet ? hackingSkill : "N/A"));
|
||||||
const security = currServ.hackDifficulty;
|
const security = currServ.hackDifficulty;
|
||||||
|
Reference in New Issue
Block a user