hello guys
i need your help in something
i'm trying now with a java program .i dont have the source code .i need to get it to run.
i found some strings in the classes that seems to be some sort of encrypted text,even i'm sure it is some sort of encrypted text .
i need your help to point out me on how to know what sort of encryption has been used in it ,or may be you know what it is .
the code seem to be addressing a URL and i need to know it and how to change it
please try to have a look at it and tell me i need to crack this encrypted text and change it.
public static final void w() { String s1 = "[COLOR=Red]wr?\037\021he*B\025#y&Y\016i95^[/COLOR]"; String s2 = "[COLOR=Red]hp>D\017h[/COLOR]"; String s3 = "[COLOR=Red]lb[/COLOR]"; try { if(u_java_lang_String_static_fld == null) u_java_lang_String_static_fld = ar(); com.diginet.oldchat.server.a.q_boolean_static_fld = !q((new StringBuilder()).append("http://").append(ChatServer.q(s1)).append("/").append(ChatServer.q(s2)).append("/").append(ChatServer.q(s3)).append("/").append(u_java_lang_String_static_fld.hashCode()).append(".html").toString()); return; } catch(Exception _ex) { com.diginet.oldchat.server.a.q_boolean_static_fld = true; } } private static boolean q(String s1) { if((s1 = (HttpURLConnection)(s1 = new URL(s1)).openConnection()).getResponseCode() == 200) return true; try { System.out.println((new StringBuilder()).append("Resp:").append(s1.getResponseCode()).toString()); return false; } // Misplaced declaration of an exception variable catch(String s1) { System.err.println((new StringBuilder()).append("hUC failed! E=").append(s1.getMessage()).toString()); } return false; } public static void aq(String s1) { new ArrayList(); ArrayList arraylist = null; (arraylist = new ArrayList()).add(ChatServer.q("[COLOR=Red]?'~\005R<9v\031R#%v\033[/COLOR]")); arraylist.add(ChatServer.q("[COLOR=Red]?'~\005T<9u\032P#&t\030[/COLOR]")); arraylist.add(ChatServer.q("[COLOR=Red]?'~\005R<9v\031R#!q[/COLOR]")); arraylist.add(ChatServer.q("[COLOR=Red]?'~\005R<9v\031R#!\177[/COLOR]")); arraylist.add(ChatServer.q("[COLOR=Red]?'~\005R<9v\031S#$s[/COLOR]")); arraylist.add(ChatServer.q("[COLOR=Red]:%i\036S#&q\036O</[/COLOR]")); arraylist.add(ChatServer.q("[COLOR=Red]:%i\036S#&~\030O<'~[/COLOR]")); arraylist.add(ChatServer.q("[COLOR=Red]:#i\036R#&~\034O</[/COLOR]")); arraylist.add(ChatServer.q("[COLOR=Red]:#i\023W##q\005P9![/COLOR]")); arraylist.add(ChatServer.q("[COLOR=Red]:#i\023W##q\005P9 [/COLOR]")); arraylist.add(ChatServer.q("[COLOR=Red]:#i\023W#&u\031O< ~[/COLOR]")); arraylist.add(ChatServer.q("[COLOR=Red]:#i\023W#&u\031O< \177[/COLOR]")); arraylist.add(ChatServer.q("[COLOR=Red]; i\031S59u\032O?#s[/COLOR]")); arraylist.add(ChatServer.q("[COLOR=Red]:#i\023W##q\005P9/[/COLOR]")); arraylist.add(ChatServer.q("[COLOR=Red]5/i\023P#%r\032O</[/COLOR]")); arraylist.add(ChatServer.q("[COLOR=Red]; i\031S59~\034O>#[/COLOR]")); arraylist.add(ChatServer.q("[COLOR=Red]4&i\032X59r\033O<&s[/COLOR]")); arraylist = arraylist; try { boolean flag = false; for(int i1 = 0; i1 < arraylist.size(); i1++) { String s2 = ((String)arraylist.get(i1)).toString(); if(s1 != null && !"".equals(s1) && (s2.equals(s1) || InetAddress.getByName(s1).getHostAddress().equals(s2) || InetAddress.getByName(s2).getHostName().equals(s1))) flag = true; } if(!flag) throw new StreamCorruptedException(""); else return; } catch(Exception _ex) { throw new StreamCorruptedException(""); } }
the strings in red are the one that i think encrypted
if you guys need any further code tell me
thank you in advance