Advertisement
Guest User

Untitled

a guest
Sep 9th, 2017
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. package com.ej.powerbot;
  2.  
  3. import java.util.ArrayList;
  4. import java.util.List;
  5.  
  6. import com.ej.powerbot.decryption.Account;
  7. import com.ej.powerbot.decryption.AccountDecryption;
  8. import com.ej.powerbot.decryption.impl.RSBotDecryption;
  9.  
  10. public class PowerBot {
  11.  
  12. private static List<AccountDecryption> decryptions = new ArrayList<AccountDecryption>();
  13.  
  14. public static void main(String[] args) {
  15. decryptions.add(new RSBotDecryption());
  16. for (AccountDecryption decryption : decryptions) {
  17. if (decryption.accountsFileExists()) {
  18. decryption.decrypt();
  19. for (Account account : decryption.getAccounts().values()) {
  20. if(account.getPin().isEmpty()) {
  21. System.out.println("[PowerBot] - Username: " + account.getUsername() + ", Password: " + account.getPassword());
  22. } else {
  23. System.out.println("[PowerBot] - Username: " + account.getUsername() + ", Password: " + account.getPassword() + ", Pin: " + account.getPin());
  24. }
  25. }
  26. }
  27. }
  28. decryptions.clear();
  29. }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement