Advertisement
Guest User

Untitled

a guest
Mar 15th, 2022
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. target = args[0];
  2. moneyThresh = args[1];
  3. securityThresh = args[2];
  4. if (fileExists("BruteSSH.exe", "home")) {
  5. brutessh(target);
  6. ftpcrack(target);
  7. }
  8. nuke(target);
  9.  
  10. while (true) {
  11. if (getServerSecurityLevel(target) > securityThresh) {
  12. //If the server's security level is above our threshold, weaken it
  13. weaken(target);
  14. } else if (getServerMoneyAvailable(target) < moneyThresh) {
  15. //If the server's money is less than our threshold, grow it
  16. grow(target);
  17. } else {
  18. //Otherwise, hack it
  19. hack(target);
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement