fork(2) download
  1.  
  2. /* package whatever; // don't place package name! */
  3. //iOS Version
  4. // Android: https://i...content-available-to-author-only...e.com/7Wf3HW#
  5. import java.util.*;
  6. import java.lang.*;
  7. import java.io.*;
  8. import java.net.URLEncoder;
  9. import java.util.Random;
  10. import javax.crypto.Cipher;
  11. import javax.crypto.spec.SecretKeySpec;
  12. import javax.crypto.spec.IvParameterSpec;
  13.  
  14.  
  15. import java.util.Base64;
  16.  
  17. /* Name of the class has to be "Main" only if the class is public. */
  18. class Ideone
  19. {
  20. public static void main (String[] args) throws java.lang.Exception
  21. {
  22. String test = b("1169362.cd"); //Combination of the ID and UDID (ID ( e.g. 268163.0b5) first than UDID (e.g 56cdaef358a33ace))
  23.  
  24.  
  25. String key = test.substring(0, 16);
  26. System.out.println("key: "+key);
  27. //String real = c(test);
  28. //System.out.println("real " + real);
  29.  
  30.  
  31. 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)
  32.  
  33. String dc = decrypt(en,key);
  34. System.out.println("decrypted: " + dc);
  35.  
  36. String decrypt2 = c(dc);
  37. System.out.println("Final decrypted: " + decrypt2);
  38.  
  39.  
  40.  
  41.  
  42. }
  43.  
  44. private static String b(String s)
  45. {
  46. int i = 0;
  47. String as[] = new String[13];
  48. as[0] = "iiksdnhncvwyfmhrucwfdqraeilxyfjdovvthbgkzefbrntjrrpuofvuogujldmxqhtfjwpfcyguixdwrtqnxmutyieupqwwynewilsskvniflzfqpqubxmszkwvrhfhwrcospqqaucwjxsdttdfkapbtoziycijifgixiiw";
  49. as[1] = "bprcrdeqmdymivvooydixtwsdloqgdahusjkyohhsdvawoonktyjkvbnfrklulunddqwsffjjxjhowvwrphajiopxxatlugozemokswushaffvdzqvvmjulkmqetlaphrnybmbzrqhcyczhmruzdrazcbuasarebwxbxbwhe";
  50. as[2] = "bspojulxamjnhaglkzrygalmmxcpuijvxwjjsyithsfotlxdhrwoskadjdudlcqlbhvucclkvrwncwrkopwfxxdcmpfkagsvxvetcdfebzorlnylmfvpihensfviavdqghpikymmsbownbdirlpyxgbvpbptwyaodkjrzasx";
  51. as[3] = "lpqtcbaqbxhukfccaagpnxtpdvrpnguxzssxutzvtdodjrfkrmxelsvplkfxrwxnrrmjjidbmsezikgxzgdiqwwjidjxbixwhekuzppexzdzchfafdjogunicxabqbkefvwckogjkkgmtlnwpqmyrxdtwdvzeebkxxouexmq";
  52. as[4] = "wdgyoscucxoiqumhsrcoxyqiyjfedehkxzbbrdbemxwwhpokdnfbyeqsoczsgdbgadirgkytjursifbmtgnoklgxncrugtxhyiqcttycmmuvsvbvxmfglujcnrymvyunoopaaivtdbcezcscicyseihayfakdoxtoabjteky";
  53. as[5] = "movgcnpxgzlyqtvlxyevlcjxrudfzpurzyemvkjfggwatqyzshwbgiaqbecquyorsudlskupllnhieohgypguskypesdyiqwvcmebqrofwuvfxpvlseazzesfcrxecgmpqavyuoaueyxssinnnftpztvwdlfracsyqljweov";
  54. as[6] = "lkfzadkymzrcopeeehkfimugxxgorvxbefqfjhbzeswugcqlkiruyjavjgixaibfnxkzgmtldsekvbyekmwfywxfeiffrglefybmivqmlczgdtloejuahufmblttsdqqxwuhufjrlnizbngvnnouaretjzyguyfccxeumpmh";
  55. as[7] = "ynkrnmhheyddbastbwsdewsignocjcpepavdmclsqoywpmsrkivpglwnrhrfmfghjtjvkgjgfwtqpdfjumvtatfrxyzmbcukycfgjompnfitlcvfwazwyukqzehthnwrblgortrxbrizyhqsgtlrxclqjxbxwdvaudqpkvhr";
  56. as[8] = "ynkrnmhheyddbastbwsdewsignocjcpepavdmclsqoywpmsrkivpglwnrhrfmfghjtjvkgjgfwtqpdfjumvtatfrxyzmbcukycfgjompnfitlcvfwazwyukqzehthnwrblgortrxbrizyhqsgtlrxclqjxbxwdvaudqpkvhr";
  57. as[9] = "vljhyuiqszparjktssogdpnedhoapozjxgsyxxtszhtmscejvupwjccmjrmxfjifrxapxuhybxitcnbzgrvruqcdopcuxlxplxfkumgvmonobokiffwwdbcsselrpkgakmldxswlflakpgrneuohlflqzbidpnqpeyharhlg";
  58. as[10] = "ualsawqpldqqsqhtnicneojfjqvfvgbognfhqzgvvwtbsgjuuoidusqyvxkbmriqvbapxtrrwxjtotzhurgestvaroflpfwsfqrppehlmsjiwcxfgsqbsorqagdaybsbwinwaapjiomiutxrvsfkrtgmuwntgdhvbhsdfdmw";
  59. as[11] = "uncxogkwwbsbsouqkjmlthbrueadocgirjheptcnuupkiiittvdkcfbzjbxwefhvopxehctazhlepvoatsfunpymoxtyvhlultzdutkezaxuhnuxfxpofdnqxiekcpdwuzrebneagmmuxfmousshospucsifpcgdulexquxj";
  60. as[12] = "ncjqnuqeqfoghrqtwmmsieahqxcbmpaxtkdyjaaqgioebnrnextfhpejssxtdozgjghkeotutvgjhlixsppyxhnwxerctmjcurfgsqawhikrhbgqeeovhhkbhqxmerkeotmwivaotqvqhxcyvjccamdhkcvothgfxgvtpkos";
  61. StringBuilder stringbuilder = new StringBuilder();
  62. while (i < s.length())
  63. {
  64. int j = as.length;
  65. if ("LHMgO!X&3I09KenZST/W)lEbCD:Rizh5,N+oy>qcPxdpY_fuAU-#jw[]F<{}4k%BG;1J6?(vm2sa.rtV78Q ".indexOf(s.charAt(i)) > -1)
  66. {
  67. int k = "LHMgO!X&3I09KenZST/W)lEbCD:Rizh5,N+oy>qcPxdpY_fuAU-#jw[]F<{}4k%BG;1J6?(vm2sa.rtV78Q ".indexOf(s.charAt(i)) * 2;
  68. stringbuilder.append(as[i % j].substring(k, k + 2));
  69. } else
  70. {
  71. stringbuilder.append(s.charAt(i)).append(s.charAt(i));
  72. }
  73. i++;
  74.  
  75. }
  76. return stringbuilder.toString();
  77. }
  78.  
  79. private static String c(String s)
  80. {
  81. int i = 0;
  82. String as[] = new String[13];
  83. as[0] = "iiksdnhncvwyfmhrucwfdqraeilxyfjdovvthbgkzefbrntjrrpuofvuogujldmxqhtfjwpfcyguixdwrtqnxmutyieupqwwynewilsskvniflzfqpqubxmszkwvrhfhwrcospqqaucwjxsdttdfkapbtoziycijifgixiiw";
  84. as[1] = "bprcrdeqmdymivvooydixtwsdloqgdahusjkyohhsdvawoonktyjkvbnfrklulunddqwsffjjxjhowvwrphajiopxxatlugozemokswushaffvdzqvvmjulkmqetlaphrnybmbzrqhcyczhmruzdrazcbuasarebwxbxbwhe";
  85. as[2] = "bspojulxamjnhaglkzrygalmmxcpuijvxwjjsyithsfotlxdhrwoskadjdudlcqlbhvucclkvrwncwrkopwfxxdcmpfkagsvxvetcdfebzorlnylmfvpihensfviavdqghpikymmsbownbdirlpyxgbvpbptwyaodkjrzasx";
  86. as[3] = "lpqtcbaqbxhukfccaagpnxtpdvrpnguxzssxutzvtdodjrfkrmxelsvplkfxrwxnrrmjjidbmsezikgxzgdiqwwjidjxbixwhekuzppexzdzchfafdjogunicxabqbkefvwckogjkkgmtlnwpqmyrxdtwdvzeebkxxouexmq";
  87. as[4] = "wdgyoscucxoiqumhsrcoxyqiyjfedehkxzbbrdbemxwwhpokdnfbyeqsoczsgdbgadirgkytjursifbmtgnoklgxncrugtxhyiqcttycmmuvsvbvxmfglujcnrymvyunoopaaivtdbcezcscicyseihayfakdoxtoabjteky";
  88. as[5] = "movgcnpxgzlyqtvlxyevlcjxrudfzpurzyemvkjfggwatqyzshwbgiaqbecquyorsudlskupllnhieohgypguskypesdyiqwvcmebqrofwuvfxpvlseazzesfcrxecgmpqavyuoaueyxssinnnftpztvwdlfracsyqljweov";
  89. as[6] = "lkfzadkymzrcopeeehkfimugxxgorvxbefqfjhbzeswugcqlkiruyjavjgixaibfnxkzgmtldsekvbyekmwfywxfeiffrglefybmivqmlczgdtloejuahufmblttsdqqxwuhufjrlnizbngvnnouaretjzyguyfccxeumpmh";
  90. as[7] = "ynkrnmhheyddbastbwsdewsignocjcpepavdmclsqoywpmsrkivpglwnrhrfmfghjtjvkgjgfwtqpdfjumvtatfrxyzmbcukycfgjompnfitlcvfwazwyukqzehthnwrblgortrxbrizyhqsgtlrxclqjxbxwdvaudqpkvhr";
  91. as[8] = "ynkrnmhheyddbastbwsdewsignocjcpepavdmclsqoywpmsrkivpglwnrhrfmfghjtjvkgjgfwtqpdfjumvtatfrxyzmbcukycfgjompnfitlcvfwazwyukqzehthnwrblgortrxbrizyhqsgtlrxclqjxbxwdvaudqpkvhr";
  92. as[9] = "vljhyuiqszparjktssogdpnedhoapozjxgsyxxtszhtmscejvupwjccmjrmxfjifrxapxuhybxitcnbzgrvruqcdopcuxlxplxfkumgvmonobokiffwwdbcsselrpkgakmldxswlflakpgrneuohlflqzbidpnqpeyharhlg";
  93. as[10] = "ualsawqpldqqsqhtnicneojfjqvfvgbognfhqzgvvwtbsgjuuoidusqyvxkbmriqvbapxtrrwxjtotzhurgestvaroflpfwsfqrppehlmsjiwcxfgsqbsorqagdaybsbwinwaapjiomiutxrvsfkrtgmuwntgdhvbhsdfdmw";
  94. as[11] = "uncxogkwwbsbsouqkjmlthbrueadocgirjheptcnuupkiiittvdkcfbzjbxwefhvopxehctazhlepvoatsfunpymoxtyvhlultzdutkezaxuhnuxfxpofdnqxiekcpdwuzrebneagmmuxfmousshospucsifpcgdulexquxj";
  95. as[12] = "ncjqnuqeqfoghrqtwmmsieahqxcbmpaxtkdyjaaqgioebnrnextfhpejssxtdozgjghkeotutvgjhlixsppyxhnwxerctmjcurfgsqawhikrhbgqeeovhhkbhqxmerkeotmwivaotqvqhxcyvjccamdhkcvothgfxgvtpkos";
  96. StringBuilder stringbuilder = new StringBuilder();
  97. int i2 = 0;
  98. while (i < s.length())
  99. {
  100. int j = as.length;
  101.  
  102. String t = s.substring(i, i + 2);
  103. int l = as[i2 % j].indexOf(t);
  104.  
  105. //System.out.println("Running "+ l);
  106.  
  107.  
  108.  
  109. String dec = "LHMgO!X&3I09KenZST/W)lEbCD:Rizh5,N+oy>qcPxdpY_fuAU-#jw[]F<{}4k%BG;1J6?(vm2sa.rtV78Q ";
  110. char realchar = dec.charAt(l/2);
  111. stringbuilder.append(realchar);
  112.  
  113.  
  114. i+=2;
  115. i2++;
  116. }
  117. return stringbuilder.toString();
  118. }
  119.  
  120.  
  121.  
  122. public static String decrypt(String strToDecrypt, String key)
  123. {
  124. try
  125. {
  126. String iv = "IOS123SECRETKEYS";
  127. Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5PADDING");
  128. final SecretKeySpec secretKey = new SecretKeySpec(key.getBytes(), "AES");
  129. final IvParameterSpec ivSpec = new IvParameterSpec(iv.getBytes());
  130.  
  131.  
  132. cipher.init(Cipher.DECRYPT_MODE, secretKey,ivSpec);
  133. final String decryptedString = new String(cipher.doFinal(Base64.getDecoder().decode(strToDecrypt)));
  134. return decryptedString;
  135. }
  136. catch (Exception e)
  137. {
  138. System.out.println("e: "+e);
  139.  
  140.  
  141. }
  142. return null;
  143. }
  144.  
  145.  
  146.  
  147.  
  148. }
Success #stdin #stdout 0.57s 321984KB
stdin
Standard input is empty
stdout
key: spmbsbtpsrueoujx
decrypted: xmoqdilkbmdfsdbwvpjrrroserdfqhdirpakpzjgjgjcpknidkcyspbugaqbysueleukrhuqybkjtfucxtjrxxsrvcqqudjodpaaxikeilmqsbcxbgbqfyzeqpgapegmivynktqlxnsrwbeurtsiflybshtqfbzcuiaqvyxyruocjcpkfkgmixpfgouieeakllsdbwvppwsgcpccauvalkgxhawaffwdrheuvfcpwmpumbsfxnbjorcxsiudhajfcswmraxtpyouvyftlnfrlqbzdaadthrhoywogxytnnjzrhjclfgdpuxhlxarcpgxdoupygjxrhportpcdhrhzdsblkklecehvprtxsiobrwmauzdpbgxklecoubrwdhydaadmprhoywoqbysorehkiocsssdgmvtlxzdrkqbysorouewbrsegmadccspqhxdqbysorouewlqnepfkjzgmxxtgaqbysorouewbwuqpfgmvtxmmqxdqbysorouewlreyvfoadhsponsfqbysorouewfjeyfkitdhmxqhagqbysorouewewifjfpucbuclukzqbysorouewbwneiokjtmspmbagqbysorehpmfjlfntvhvjogjixxodfeuvetbxocpnrrekcbyflakzxebmueeurtbroaiqbnvtpqvwbvmyhaljywzesrnegmadtqzkunlmxnbjueeusrlruqybshtqwwracpvzdetvnnochnssidpktupfracpvzxylcugqpudpkfkgmnwpbraxgdzytlfywhnbwpwgdadamycarcprxdo
Final decrypted: device%3DiosY26version%3Dv1.0g26uuid%3D30873AB7-014NK4645-x4>B-61AC553D8196%26lang%3Den%26country%3DDE%26l&cal_time%3D1)58579789.39028%26packet%3Dcov.inJ4adetector.insta%26idi3D1169362.cdi26tHken%3Dg253Ce3868e2cg252064ae216bg2520a9f35500g25203df68d4bg252027eca1b)g2520c72ba56Xg2520059ae3z3g25203963f11Xg253EcJrfmiddleware0oke!%3Dc6816e518fca2a8d4b9ae64595868b2d%26usernXme%3Dlooser009>7%26password%3D4esttest