Results 1 to 10 of 10
- 12-14-2012, 11:42 PM #1
Banned
- Join Date
- Dec 2012
- Posts
- 8
- Rep Power
- 0
J2me help
hello guys,
i'm trying to crack a j2me .jar chat to make my own chat using their client
but i found something who stopping me
they put this as their Gateway
and i need to find the way how to compile my Gateway ip in this way so i can put it too to work,Java Code:76672h6Fm6Fy6D72E873377b69c66e74b77-61272765d73j2Em6386F76D8
here is their i think crypttography decompiled with Java Decompiler
sorry cuz i don't know j2me so much
i hope someone gonna help me :)Java Code:package com.projectgoth.Roshan; import java.io.IOException; import java.io.OutputStream; import java.io.UnsupportedEncodingException; import java.util.Random; import java.util.Vector; public final class a { private static Random a; public static long a; public static String a; public static short a; public static String b; public static int a; public static String c; public static String d; public static boolean a; public static String e; public static String f; public static String g = a("73877f69v66j74977*61&72765=738"); public static String h = "687474703A2F2F7777772E6D696733332E636F6D"; public static String a(String paramString) { String str2 = ""; for (int i = 0; i < paramString.length(); i += 3) { String str1 = paramString.substring(i, i + 2); str2 = str2 + (char)Integer.parseInt(str1, 16); } return str2; } public static String a(String paramString1, String paramString2, String paramString3) { String str = ""; int j = paramString2.length(); paramString3.length(); int i; if ((i = paramString1.indexOf(paramString2)) < 0) return ""; paramString2 = (paramString2 = paramString1.substring(i + j)).indexOf(paramString3); if ((i >= 0) && (paramString2 >= 0)) str = paramString1.substring(i + j, i + j + paramString2); return str; } // ERROR // public static int a(String paramString) { // Byte code: // 0: aload_0 // 1: invokevirtual 65 java/lang/String:getBytes ()[B // 4: astore_0 // 5: new 20 java/io/ByteArrayInputStream // 8: dup // 9: aload_0 // 10: invokespecial 51 java/io/ByteArrayInputStream:<init> ([B)V // 13: astore_0 // 14: new 21 java/io/DataInputStream // 17: dup // 18: aload_0 // 19: invokespecial 52 java/io/DataInputStream:<init> (Ljava/io/InputStream;)V // 22: astore_1 // 23: aload_1 // 24: invokevirtual 54 java/io/DataInputStream:readInt ()I // 27: istore_2 // 28: aload_1 // 29: invokevirtual 53 java/io/DataInputStream:close ()V // 32: aload_0 // 33: invokevirtual 56 java/io/InputStream:close ()V // 36: goto +8 -> 44 // 39: dup // 40: astore_0 // 41: invokevirtual 55 java/io/IOException:printStackTrace ()V // 44: iload_2 // 45: ireturn // 46: dup // 47: astore_2 // 48: invokevirtual 55 java/io/IOException:printStackTrace ()V // 51: aload_1 // 52: invokevirtual 53 java/io/DataInputStream:close ()V // 55: aload_0 // 56: invokevirtual 56 java/io/InputStream:close ()V // 59: goto +30 -> 89 // 62: dup // 63: astore_2 // 64: invokevirtual 55 java/io/IOException:printStackTrace ()V // 67: goto +22 -> 89 // 70: astore_2 // 71: aload_1 // 72: invokevirtual 53 java/io/DataInputStream:close ()V // 75: aload_0 // 76: invokevirtual 56 java/io/InputStream:close ()V // 79: goto +8 -> 87 // 82: dup // 83: astore_0 // 84: invokevirtual 55 java/io/IOException:printStackTrace ()V // 87: aload_2 // 88: athrow // 89: iconst_2 // 90: ireturn // // Exception table: // from to target type // 28 36 39 java/io/IOException // 23 28 46 java/io/IOException // 51 59 62 java/io/IOException // 23 28 70 finally // 46 51 70 finally // 71 79 82 java/io/IOException } public static String b(String paramString) { Random localRandom; (localRandom = new Random()).setSeed(System.currentTimeMillis()); String str1 = ""; for (int i = 0; i < paramString.length(); i++) { int j = localRandom.nextInt(); String str2 = "" + j; str1 = str1 + Integer.toHexString(paramString.charAt(i)) + str2.substring(str2.length() - 1, str2.length()); } return str1; } public static String a(String paramString, int paramInt) { try { paramString = paramString.substring(7); paramInt = "" + (char)paramInt + '\000' + '\000'; if ((paramInt = paramString.indexOf(paramInt)) < 0) return ""; int i = paramString.charAt(paramInt + 4); int j = paramString.charAt(paramInt + 5); if ((i = (i << 8) + j) < 0) return ""; return paramString = paramString.substring(paramInt + 6, paramInt + 6 + i); } catch (Exception localException) { } return ""; } public static int a(int paramInt1, int paramInt2) { paramInt1 = paramInt2 + 1; if ((paramInt1 = jdField_a_of_type_JavaUtilRandom.nextInt() % paramInt1) < 0) paramInt1 = -paramInt1; return paramInt1 + 0; } private static String a(int paramInt) { if ((paramInt = Integer.toHexString(paramInt)).length() != 4) { int i = 4 - paramInt.length(); for (int j = 0; j < i; j++) paramInt = "0" + paramInt; } return paramInt; } public static String c(String paramString) { String str2 = ""; for (int i = 0; i < paramString.length(); i += 2) { String str1 = paramString.substring(i, i + 2); str2 = str2 + (char)Integer.parseInt(str1, 16); } return str2; } public static void a(String paramString) { try { jdField_a_of_type_Long = System.currentTimeMillis(); j.a.write(paramString.getBytes()); j.a.flush(); return; } catch (IOException localIOException) { (paramString = localIOException).printStackTrace(); } } public static String d(String paramString) { return paramString = c(new StringBuffer().append("0202c34e210000").append(a(6 + paramString.length())).append("00010000").append(a(paramString.length())).toString()) + paramString; } public static byte[] a() { String str; return (str = c("020002000700000000")).getBytes(); } public static String e(String paramString) { return paramString = c(new StringBuffer().append("0202c34e220000").append(a(6 + paramString.length())).append("00010000").append(a(paramString.length())).toString()) + paramString; } public static String f(String paramString) { return paramString = c(new StringBuffer().append("0202c34e230000").append(a(6 + paramString.length())).append("00010000").append(a(paramString.length())).toString()) + paramString; } public static String g(String paramString) { StringBuffer localStringBuffer = new StringBuffer(); byte[] arrayOfByte; try { arrayOfByte = paramString.getBytes("UTF-8"); } catch (UnsupportedEncodingException localUnsupportedEncodingException) { arrayOfByte = paramString.getBytes(); } for (int i = 0; i < arrayOfByte.length; i++) if ((((paramString = arrayOfByte[i]) >= 48) && (paramString <= 57)) || ((paramString >= 65) && (paramString <= 90)) || ((paramString >= 97) && (paramString <= 122)) || (paramString == 46) || (paramString == 45) || (paramString == 42) || (paramString == 95)) localStringBuffer.append((char)paramString); else localStringBuffer.append("%").append(Integer.toHexString(0xFF & paramString)); return localStringBuffer.toString(); } public static String[] a(String paramString1, String paramString2, int paramInt) { if ((paramString2 == null) || (paramString2.length() == 0)) return new String[] { paramString1 }; if (paramString1 == null) return new String[0]; int i = 2147483647; int j = 1; if (paramInt < 0) { i = 2147483647; j = 0; } else if (paramInt > 0) { i = paramInt - 1; j = 0; } paramInt = new StringBuffer(); Vector localVector = new Vector(); paramString1 = paramString1.toCharArray(); int k = 0; int n = 0; for (int i1 = 0; i1 < paramString1.length; i1++) { String str; if ((i1 + paramString2.length() <= paramString1.length) && (n < i) && ((str = new String(paramString1, i1, paramString2.length())).equals(paramString2))) { localVector.addElement(paramInt.toString()); paramInt.setLength(0); m = 1; n++; i1 = i1 + paramString2.length() - 1; } else { paramInt.append(paramString1[i1]); m = 0; } } if ((paramInt.length() > 0) || ((m != 0) && (j == 0))) localVector.addElement(paramInt.toString()); String[] arrayOfString = new String[localVector.size()]; for (int m = 0; m < arrayOfString.length; m++) arrayOfString[m] = ((String)localVector.elementAt(m)); return arrayOfString; } static { jdField_a_of_type_JavaUtilRandom = new Random(); jdField_a_of_type_Long = 0L; jdField_a_of_type_JavaLangString = ""; jdField_a_of_type_Short = 0; b = ""; jdField_a_of_type_Int = 0; c = ""; d = ""; jdField_a_of_type_Boolean = false; e = "lahore"; f = "a"; a("2F57367792F16936E66486507872E3706682705"); } }
- 12-15-2012, 12:13 AM #2
Re: J2me help
Moved from New to Java.
Do you have the developers' permission to reverse engineer their software?
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 12-15-2012, 12:56 AM #3
Banned
- Join Date
- Dec 2012
- Posts
- 8
- Rep Power
- 0
- 12-15-2012, 01:04 AM #4
Re: J2me help
Please keep technical discussions on the forum.
PM received:db
Originally Posted by atef201080 Why do they call it rush hour when nothing moves? - Robin Williams
- 12-15-2012, 01:04 AM #5
- 12-15-2012, 01:07 AM #6
Banned
- Join Date
- Dec 2012
- Posts
- 8
- Rep Power
- 0
- 12-15-2012, 01:33 AM #7
Re: J2me help
You seriously expect a stranger on a programming forum to help you with something which is at the very least unethical, and may well be illegal?
That's not going to happen.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 12-15-2012, 01:38 AM #8
Banned
- Join Date
- Dec 2012
- Posts
- 8
- Rep Power
- 0
Re: J2me help
i expected its a java helping forums who has some ppl who can help :D
please help me bro :D
- 12-15-2012, 03:52 AM #9
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,604
- Rep Power
- 5
Re: J2me help
So, you've used the words 'crack' and 'decompile', and said "no, I don't have permission" - as I understand it you've come to a reputable forum to ask for help in stealing someone else's code. You are asking unpaid volunteers to help you steal and quite possibly break the law, and that is NOT the purpose of these forums. If I've misunderstood, then I suggest you prove otherwise, and make it good (but not here). Thread locked.
Last edited by doWhile; 12-15-2012 at 03:55 AM.
- 12-15-2012, 07:00 AM #10
Similar Threads
-
J2me
By henna in forum CLDC and MIDPReplies: 17Last Post: 03-26-2012, 01:13 PM -
J2me
By vinay21987 in forum Threads and SynchronizationReplies: 0Last Post: 05-05-2011, 09:35 AM -
Sending J2ME application by blue tooth (by J2ME application). Very URGENT!!!
By maruffaiz in forum CLDC and MIDPReplies: 0Last Post: 04-22-2009, 01:30 PM -
J2me
By Renjini in forum CLDC and MIDPReplies: 1Last Post: 08-14-2008, 10:58 AM -
J2me
By kuttyniti@gmail.com in forum Sun Java Wireless ToolkitReplies: 0Last Post: 11-24-2007, 06:27 AM


1Likes
LinkBack URL
About LinkBacks


Bookmarks