Update DecryptXOR.java
This commit is contained in:
parent
bd754f04e6
commit
49f80a53be
1 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,7 @@ import org.apache.commons.codec.binary.Base64;
|
||||||
|
|
||||||
public class DecryptXOR {
|
public class DecryptXOR {
|
||||||
|
|
||||||
private static final String[] SAVES = {"CCGameManager.dat"};
|
private static final String[] SAVES = {"CCGameManager.dat"};
|
||||||
private static final int XOR_KEY = 11;
|
private static final int XOR_KEY = 11;
|
||||||
|
|
||||||
private static byte[] xor(byte[] data, int key) {
|
private static byte[] xor(byte[] data, int key) {
|
||||||
|
@ -43,6 +43,8 @@ public class DecryptXOR {
|
||||||
return bos.toByteArray();
|
return bos.toByteArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
System.out.println("hi");
|
||||||
|
|
||||||
public static void decryptAndWriteFiles() throws IOException {
|
public static void decryptAndWriteFiles() throws IOException {
|
||||||
String appDataPath = System.getenv("LOCALAPPDATA") + "\\GeometryDash\\";
|
String appDataPath = System.getenv("LOCALAPPDATA") + "\\GeometryDash\\";
|
||||||
for (String save : SAVES) {
|
for (String save : SAVES) {
|
||||||
|
|
Loading…
Reference in a new issue