xSRTsect Posted June 29, 2016 Posted June 29, 2016 (edited) Difficulty : 1Language : Java compiled to Dalvik Byte-CodePlatform : AndroidOS Version : API level >=19.Packer / Protector : None Description : This should be the start of a Android reversing series. -> You should code a keygen, preferrably to be able to run inside Android (no self-keygens). Screenshot : Solvers: -> Jasi2169 ->crystalboy dalvik1.zip Edited July 7, 2016 by xSRTsect
fairylovehn127 Posted June 29, 2016 Posted June 29, 2016 public boolean isOk(String paramString1, String paramString2) { IncrementalChange localIncrementalChange = $change; if (localIncrementalChange != null) { return ((Boolean)localIncrementalChange.access$dispatch("isOk.(Ljava/lang/String;Ljava/lang/String;)Z", new Object[] { this, paramString1, paramString2 })).booleanValue(); } String str1 = ""; String str2 = ""; String str3 = ""; String str4 = ""; byte[] arrayOfByte1 = dksn.st0n3(paramString1.getBytes()); byte[] arrayOfByte2 = dksn.st0n3(arrayOfByte1); byte[] arrayOfByte3 = dksn.st0n3(arrayOfByte2); byte[] arrayOfByte4 = dksn.st0n3(arrayOfByte3); for (int i = 0; i < 16; i++) { if ((i % 5 == 0) && (i != 0)) { str1 = str1 + "-"; } StringBuilder localStringBuilder1 = new StringBuilder().append(str1); Object[] arrayOfObject1 = new Object[1]; arrayOfObject1[0] = Integer.valueOf(0xFF & arrayOfByte1[i]); str1 = String.format("%X", arrayOfObject1); if ((i % 5 == 0) && (i != 0)) { str2 = str2 + "-"; } StringBuilder localStringBuilder2 = new StringBuilder().append(str2); Object[] arrayOfObject2 = new Object[1]; arrayOfObject2[0] = Integer.valueOf(0xFF & arrayOfByte2[i]); str2 = String.format("%X", arrayOfObject2); if ((i % 5 == 0) && (i != 0)) { str3 = str3 + "-"; } StringBuilder localStringBuilder3 = new StringBuilder().append(str3); Object[] arrayOfObject3 = new Object[1]; arrayOfObject3[0] = Integer.valueOf(0xFF & arrayOfByte3[i]); str3 = String.format("%X", arrayOfObject3); if ((i % 5 == 0) && (i != 0)) { str4 = str4 + "-"; } StringBuilder localStringBuilder4 = new StringBuilder().append(str4); Object[] arrayOfObject4 = new Object[1]; arrayOfObject4[0] = Integer.valueOf(0xFF & (arrayOfByte3[i] ^ arrayOfByte4[i])); str4 = String.format("%X", arrayOfObject4); } return paramString2.equals(str1 + "-" + str2 + "-" + str3 + "-" + str4) == true; }
skypeaful Posted June 29, 2016 Posted June 29, 2016 My patched apk: http://rgho.st/7QXzv78g5 Password: tuts4you I use my phone for patching so It's hard to research to make keygen without PC
Jasi2169 Posted June 30, 2016 Posted June 30, 2016 (edited) here it is i solved (i have coded keygen already but i will upload with some code changes 2mrow) i mean i will edit my post Edited June 30, 2016 by Jasi2169
Solution Jasi2169 Posted July 1, 2016 Solution Posted July 1, 2016 here is keygen attached nice challenge,i like gold when comes to android n .net Bug :- about and verify buttons has same onclick event listener ,both leads to same event so one button shud be removed (used alertdialog builder api for about just suggestion ) zippyshare download :- http://www102.zippyshare.com/v/ivB501oT/file.html mirror is attached DaLvIkSoN#1 - KeyGenMe Keymaker By Jasi2169.apk 4
crystalboy Posted July 6, 2016 Posted July 6, 2016 Arghhhhhhh i was a bit late this time! By the way here is my solution: Keygen apk attached included AndroidStudio project with source code. DaLvIkSoN#1 KeyGenMe - Keygen By crystalboy [SnD].apk DaLvIkSoN1Keygen_source_by_crystalboy.zip 3
xSRTsect Posted July 7, 2016 Author Posted July 7, 2016 I am glad you enjoyed the challenge. There will be more, and the difficulty level should increase.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now