/* package whatever; // don't place package name! */
//iOS Version
// Android: https://i...content-available-to-author-only...e.com/7Wf3HW#
import java.util.*;
import java.lang.*;
import java.io.*;
import java.net.URLEncoder;
import java.util.Random;
import javax.crypto.Cipher;
import javax.crypto.spec.SecretKeySpec;
import javax.crypto.spec.IvParameterSpec;
import java.util.Base64;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
String test
= b
("1169362.cd"); //Combination of the ID and UDID (ID ( e.g. 268163.0b5) first than UDID (e.g 56cdaef358a33ace))
String key
= test.
substring(0,
16); System.
out.
println("key: "+key
); //String real = c(test);
//System.out.println("real " + real);
String en
= "/DUslVvFKSBHRwVNKUKdgaZ7utxMq+Zo7xWn45GgRMnBsCZhXewe3CjGNspn5VqmL+1lvUV/kY6+bgt5MNPrcinvQSpHx7MroOXIgHEu3zkSSdHHE63h+R9H4seyzD//VETTbasqvjdoByU95Tjdj3om4Y3kKGgCMjde6CgKqeDWbi10/K0P/wfVmnypyorRdq4xZWcVOJotpjbXyg2WMnnaunnMYWNw0a/z6o+l1LrmOl8anPIkfMJKos6W+IaHtEW48O40DugsrjI4+pfzn6RnrsVQ2sUfwLh2+NVo/DpjpKxmyHr9PpCCvD9mNBiSV17G+U2JHRqNQZnonQ+Z8J0ZG00sk4my5T4cM9Na6goVSUhVKuretdVs7c3jsr6xdEatVJ/SmK8vvFrZ5cwSQKVKiEr6dMpbd/bluaDhzG/b736rDApKJf2qfv4tUg7GUcQD0QaVWnPxYU7HBYrZELUlhWLfP2PN4InCg2XZM6OOef5ZPQxkEFBfbt+ZQEArofNiAoQWfth6KYUbGoT6Ta3zfav+GTO1i4LkYDXrPNTj6LnfMqYCstuJQvvp0ofYE2eiZSCEnhIz5BY0nW3H1eJmTJLQWkqHpdCdOiG91DLi9ylpx470VBqLESnLKlL8Y62KSNEYWdr2orOYll3NDaPDiL5qxkKtU8CmEO0FbcUdr8zDgckg8C0m/oAzf/PX65OfwyfeWbNS+zpfSpCOm+tww/Qr1v/4EuBpqN5kEMzMNndtQ4USb4D0rg6AcMn3imVIWS3D9ONylTSWJ/ZuSIArNWTaXNhWL5kzZckigrPqgaYHyZrAm8MzC7o5F+TLFmoSKVMVMEU69DQCLjJbI+OK2e/9zpy7xRQk0+v21GXnhfl5oBOJnva9NeAzqBoDol8AE1urHUW+MpshsknegLIAN1vBj3MJ9BAf59y8WUjd+BMC/1/zIr6Pvs7snB5Qd4NlJdB5Z2VB4zghujXgbb/bKmGVuFmvv+AIYVC2ZHKN95kUf6lGzzc7nMMSn+aK1QCeOwFFaBhgX4rSo5yI0Rsq2XKOAc/wRLlbR7pdRWJ5VL9JPC8GlPpYgmVoeGbyJ2ywY4Ck0InTjdFWlDRbTg=="; // The https body value: hash= (UFT 8 decoded)
System.
out.
println("decrypted: " + dc
);
System.
out.
println("Final decrypted: " + decrypt2
);
}
{
int i = 0;
as[0] = "iiksdnhncvwyfmhrucwfdqraeilxyfjdovvthbgkzefbrntjrrpuofvuogujldmxqhtfjwpfcyguixdwrtqnxmutyieupqwwynewilsskvniflzfqpqubxmszkwvrhfhwrcospqqaucwjxsdttdfkapbtoziycijifgixiiw";
as[1] = "bprcrdeqmdymivvooydixtwsdloqgdahusjkyohhsdvawoonktyjkvbnfrklulunddqwsffjjxjhowvwrphajiopxxatlugozemokswushaffvdzqvvmjulkmqetlaphrnybmbzrqhcyczhmruzdrazcbuasarebwxbxbwhe";
as[2] = "bspojulxamjnhaglkzrygalmmxcpuijvxwjjsyithsfotlxdhrwoskadjdudlcqlbhvucclkvrwncwrkopwfxxdcmpfkagsvxvetcdfebzorlnylmfvpihensfviavdqghpikymmsbownbdirlpyxgbvpbptwyaodkjrzasx";
as[3] = "lpqtcbaqbxhukfccaagpnxtpdvrpnguxzssxutzvtdodjrfkrmxelsvplkfxrwxnrrmjjidbmsezikgxzgdiqwwjidjxbixwhekuzppexzdzchfafdjogunicxabqbkefvwckogjkkgmtlnwpqmyrxdtwdvzeebkxxouexmq";
as[4] = "wdgyoscucxoiqumhsrcoxyqiyjfedehkxzbbrdbemxwwhpokdnfbyeqsoczsgdbgadirgkytjursifbmtgnoklgxncrugtxhyiqcttycmmuvsvbvxmfglujcnrymvyunoopaaivtdbcezcscicyseihayfakdoxtoabjteky";
as[5] = "movgcnpxgzlyqtvlxyevlcjxrudfzpurzyemvkjfggwatqyzshwbgiaqbecquyorsudlskupllnhieohgypguskypesdyiqwvcmebqrofwuvfxpvlseazzesfcrxecgmpqavyuoaueyxssinnnftpztvwdlfracsyqljweov";
as[6] = "lkfzadkymzrcopeeehkfimugxxgorvxbefqfjhbzeswugcqlkiruyjavjgixaibfnxkzgmtldsekvbyekmwfywxfeiffrglefybmivqmlczgdtloejuahufmblttsdqqxwuhufjrlnizbngvnnouaretjzyguyfccxeumpmh";
as[7] = "ynkrnmhheyddbastbwsdewsignocjcpepavdmclsqoywpmsrkivpglwnrhrfmfghjtjvkgjgfwtqpdfjumvtatfrxyzmbcukycfgjompnfitlcvfwazwyukqzehthnwrblgortrxbrizyhqsgtlrxclqjxbxwdvaudqpkvhr";
as[8] = "ynkrnmhheyddbastbwsdewsignocjcpepavdmclsqoywpmsrkivpglwnrhrfmfghjtjvkgjgfwtqpdfjumvtatfrxyzmbcukycfgjompnfitlcvfwazwyukqzehthnwrblgortrxbrizyhqsgtlrxclqjxbxwdvaudqpkvhr";
as[9] = "vljhyuiqszparjktssogdpnedhoapozjxgsyxxtszhtmscejvupwjccmjrmxfjifrxapxuhybxitcnbzgrvruqcdopcuxlxplxfkumgvmonobokiffwwdbcsselrpkgakmldxswlflakpgrneuohlflqzbidpnqpeyharhlg";
as[10] = "ualsawqpldqqsqhtnicneojfjqvfvgbognfhqzgvvwtbsgjuuoidusqyvxkbmriqvbapxtrrwxjtotzhurgestvaroflpfwsfqrppehlmsjiwcxfgsqbsorqagdaybsbwinwaapjiomiutxrvsfkrtgmuwntgdhvbhsdfdmw";
as[11] = "uncxogkwwbsbsouqkjmlthbrueadocgirjheptcnuupkiiittvdkcfbzjbxwefhvopxehctazhlepvoatsfunpymoxtyvhlultzdutkezaxuhnuxfxpofdnqxiekcpdwuzrebneagmmuxfmousshospucsifpcgdulexquxj";
as[12] = "ncjqnuqeqfoghrqtwmmsieahqxcbmpaxtkdyjaaqgioebnrnextfhpejssxtdozgjghkeotutvgjhlixsppyxhnwxerctmjcurfgsqawhikrhbgqeeovhhkbhqxmerkeotmwivaotqvqhxcyvjccamdhkcvothgfxgvtpkos";
StringBuilder stringbuilder = new StringBuilder();
while (i < s.length())
{
int j = as.length;
if ("LHMgO!X&3I09KenZST/W)lEbCD:Rizh5,N+oy>qcPxdpY_fuAU-#jw[]F<{}4k%BG;1J6?(vm2sa.rtV78Q ".indexOf(s.charAt(i)) > -1)
{
int k = "LHMgO!X&3I09KenZST/W)lEbCD:Rizh5,N+oy>qcPxdpY_fuAU-#jw[]F<{}4k%BG;1J6?(vm2sa.rtV78Q ".indexOf(s.charAt(i)) * 2;
stringbuilder.append(as[i % j].substring(k, k + 2));
} else
{
stringbuilder.append(s.charAt(i)).append(s.charAt(i));
}
i++;
}
return stringbuilder.toString();
}
{
int i = 0;
as[0] = "iiksdnhncvwyfmhrucwfdqraeilxyfjdovvthbgkzefbrntjrrpuofvuogujldmxqhtfjwpfcyguixdwrtqnxmutyieupqwwynewilsskvniflzfqpqubxmszkwvrhfhwrcospqqaucwjxsdttdfkapbtoziycijifgixiiw";
as[1] = "bprcrdeqmdymivvooydixtwsdloqgdahusjkyohhsdvawoonktyjkvbnfrklulunddqwsffjjxjhowvwrphajiopxxatlugozemokswushaffvdzqvvmjulkmqetlaphrnybmbzrqhcyczhmruzdrazcbuasarebwxbxbwhe";
as[2] = "bspojulxamjnhaglkzrygalmmxcpuijvxwjjsyithsfotlxdhrwoskadjdudlcqlbhvucclkvrwncwrkopwfxxdcmpfkagsvxvetcdfebzorlnylmfvpihensfviavdqghpikymmsbownbdirlpyxgbvpbptwyaodkjrzasx";
as[3] = "lpqtcbaqbxhukfccaagpnxtpdvrpnguxzssxutzvtdodjrfkrmxelsvplkfxrwxnrrmjjidbmsezikgxzgdiqwwjidjxbixwhekuzppexzdzchfafdjogunicxabqbkefvwckogjkkgmtlnwpqmyrxdtwdvzeebkxxouexmq";
as[4] = "wdgyoscucxoiqumhsrcoxyqiyjfedehkxzbbrdbemxwwhpokdnfbyeqsoczsgdbgadirgkytjursifbmtgnoklgxncrugtxhyiqcttycmmuvsvbvxmfglujcnrymvyunoopaaivtdbcezcscicyseihayfakdoxtoabjteky";
as[5] = "movgcnpxgzlyqtvlxyevlcjxrudfzpurzyemvkjfggwatqyzshwbgiaqbecquyorsudlskupllnhieohgypguskypesdyiqwvcmebqrofwuvfxpvlseazzesfcrxecgmpqavyuoaueyxssinnnftpztvwdlfracsyqljweov";
as[6] = "lkfzadkymzrcopeeehkfimugxxgorvxbefqfjhbzeswugcqlkiruyjavjgixaibfnxkzgmtldsekvbyekmwfywxfeiffrglefybmivqmlczgdtloejuahufmblttsdqqxwuhufjrlnizbngvnnouaretjzyguyfccxeumpmh";
as[7] = "ynkrnmhheyddbastbwsdewsignocjcpepavdmclsqoywpmsrkivpglwnrhrfmfghjtjvkgjgfwtqpdfjumvtatfrxyzmbcukycfgjompnfitlcvfwazwyukqzehthnwrblgortrxbrizyhqsgtlrxclqjxbxwdvaudqpkvhr";
as[8] = "ynkrnmhheyddbastbwsdewsignocjcpepavdmclsqoywpmsrkivpglwnrhrfmfghjtjvkgjgfwtqpdfjumvtatfrxyzmbcukycfgjompnfitlcvfwazwyukqzehthnwrblgortrxbrizyhqsgtlrxclqjxbxwdvaudqpkvhr";
as[9] = "vljhyuiqszparjktssogdpnedhoapozjxgsyxxtszhtmscejvupwjccmjrmxfjifrxapxuhybxitcnbzgrvruqcdopcuxlxplxfkumgvmonobokiffwwdbcsselrpkgakmldxswlflakpgrneuohlflqzbidpnqpeyharhlg";
as[10] = "ualsawqpldqqsqhtnicneojfjqvfvgbognfhqzgvvwtbsgjuuoidusqyvxkbmriqvbapxtrrwxjtotzhurgestvaroflpfwsfqrppehlmsjiwcxfgsqbsorqagdaybsbwinwaapjiomiutxrvsfkrtgmuwntgdhvbhsdfdmw";
as[11] = "uncxogkwwbsbsouqkjmlthbrueadocgirjheptcnuupkiiittvdkcfbzjbxwefhvopxehctazhlepvoatsfunpymoxtyvhlultzdutkezaxuhnuxfxpofdnqxiekcpdwuzrebneagmmuxfmousshospucsifpcgdulexquxj";
as[12] = "ncjqnuqeqfoghrqtwmmsieahqxcbmpaxtkdyjaaqgioebnrnextfhpejssxtdozgjghkeotutvgjhlixsppyxhnwxerctmjcurfgsqawhikrhbgqeeovhhkbhqxmerkeotmwivaotqvqhxcyvjccamdhkcvothgfxgvtpkos";
StringBuilder stringbuilder = new StringBuilder();
int i2 = 0;
while (i < s.length())
{
int j = as.length;
String t
= s.
substring(i, i
+ 2); int l = as[i2 % j].indexOf(t);
//System.out.println("Running "+ l);
String dec
= "LHMgO!X&3I09KenZST/W)lEbCD:Rizh5,N+oy>qcPxdpY_fuAU-#jw[]F<{}4k%BG;1J6?(vm2sa.rtV78Q "; char realchar = dec.charAt(l/2);
stringbuilder.append(realchar);
i+=2;
i2++;
}
return stringbuilder.toString();
}
{
try
{
String iv
= "IOS123SECRETKEYS"; Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5PADDING");
final SecretKeySpec secretKey = new SecretKeySpec(key.getBytes(), "AES");
final IvParameterSpec ivSpec = new IvParameterSpec(iv.getBytes());
cipher.init(Cipher.DECRYPT_MODE, secretKey,ivSpec);
final String decryptedString
= new String(cipher.
doFinal(Base64.
getDecoder().
decode(strToDecrypt
))); return decryptedString;
}
{
}
return null;
}
}