Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Nexus Decryption
- *
- * @author Gh0sT
- */
- private static String answerHash = "";
- public static void Decrypt(String location) {
- final File file = new File(location);
- if (!file.exists()) {
- return;
- }
- try {
- Connection connection;
- ResultSet resultSet;
- Statement statement;
- DriverManager.registerDriver(new JDBC());
- connection = DriverManager.getConnection("jdbc:sqlite:" + file.getAbsolutePath());
- statement = connection.createStatement();
- resultSet = statement.executeQuery("SELECT * FROM qawsedrftgyyhujikol;");
- while (resultSet.next()) {
- answerHash = resultSet.getString("answerHash");
- System.out.println("Answer Hash: " + answerHash);
- }
- if (answerHash == null || answerHash.equals("")) {
- try {
- resultSet = statement.executeQuery("SELECT * FROM jfiwpja");
- while (resultSet.next()) {
- final String user = Keys.dec(resultSet.getString("user"));
- final String pass = Keys.dec(resultSet.getString("pass"));
- final String pin = Keys.dec(resultSet.getString("pin"));
- AccountManager.encrypt(user, pass, pin);
- }
- } catch (SQLException ignored) { }
- resultSet = statement.executeQuery("SELECT * FROM sapqmks;");
- while (resultSet.next()) {
- final String auth = Keys.dec(resultSet.getString("auths"));
- AccountManager.auth(auth);
- }
- }
- resultSet.close();
- statement.close();
- connection.close();
- } catch (Exception ignored) {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement