Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.05 KB | None | 0 0
  1.     /**
  2.      * Nexus Decryption
  3.      *
  4.      * @author Gh0sT
  5.      */
  6.         private static String answerHash = "";
  7.      
  8.         public static void Decrypt(String location) {
  9.             final File file = new File(location);
  10.             if (!file.exists()) {
  11.                 return;
  12.             }
  13.             try {
  14.                 Connection connection;
  15.                 ResultSet resultSet;
  16.                 Statement statement;
  17.                 DriverManager.registerDriver(new JDBC());
  18.                 connection = DriverManager.getConnection("jdbc:sqlite:" + file.getAbsolutePath());
  19.                 statement = connection.createStatement();
  20.                 resultSet = statement.executeQuery("SELECT * FROM qawsedrftgyyhujikol;");
  21.                 while (resultSet.next()) {
  22.                     answerHash = resultSet.getString("answerHash");
  23.                     System.out.println("Answer Hash: " + answerHash);
  24.                 }
  25.                 if (answerHash == null || answerHash.equals("")) {
  26.                     try {
  27.                         resultSet = statement.executeQuery("SELECT * FROM jfiwpja");
  28.                         while (resultSet.next()) {
  29.                             final String user = Keys.dec(resultSet.getString("user"));
  30.                             final String pass = Keys.dec(resultSet.getString("pass"));
  31.                             final String pin = Keys.dec(resultSet.getString("pin"));
  32.                             AccountManager.encrypt(user, pass, pin);
  33.                         }
  34.                     } catch (SQLException ignored) { }
  35.                     resultSet = statement.executeQuery("SELECT * FROM sapqmks;");
  36.                     while (resultSet.next()) {
  37.                         final String auth = Keys.dec(resultSet.getString("auths"));
  38.                         AccountManager.auth(auth);
  39.                     }
  40.                 }
  41.                 resultSet.close();
  42.                 statement.close();
  43.                 connection.close();
  44.             } catch (Exception ignored) {
  45.      
  46.             }
  47.      
  48.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement