whiteshulker7
New member
- Joined
- May 16, 2024
- Messages
- 11
- Reaction score
- 7
- Points
- 3
This client is actual dog.
Download: https://workupload.com/file/vdP42UgEwsJ
Password: actual_d0g
If you have the latest version of the client, send it here.
Source:
Download: https://workupload.com/file/vdP42UgEwsJ
Password: actual_d0g
If you have the latest version of the client, send it here.
Source:
Java:
import com.sun.net.httpserver.HttpServer;
import com.sun.net.httpserver.HttpHandler;
import com.sun.net.httpserver.HttpExchange;
import javax.crypto.Cipher;
import javax.crypto.SecretKey;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.SecretKeySpec;
import java.io.IOException;
import java.io.OutputStream;
import java.lang.reflect.Field;
import java.net.InetSocketAddress;
import java.net.URI;
import java.util.Arrays;
import java.util.Base64;
import maggotGuard.ai;
public class Launch {
private static final String AES_KEY = "sg/1NriwlFaCEqjJAkyVsg==";
private static final String INIT_VECTOR = "Dh5M7pwzivP3x+oWV0QF2Q==";
public static void main(String[] args) throws Exception {
// Run custom backend
HttpServer server = HttpServer.create(new InetSocketAddress(8080), 0);
server.createContext("/", new GetHandler());
server.setExecutor(null);
server.start();
// Load unpacked dll
System.load(System.getProperty("user.dir") + "\\dog_unpacked.dll");
try {
// Decrypt strings
Class.forName("maggotGuard.Je");
Field ws_a = Class.forName("maggotGuard.WS").getDeclaredField("b");
// Change destination to localhost
ws_a.setAccessible(true);
String[] ws = (String[]) ws_a.get(null);
ws[4] = "http://127.0.0.1:8080";
} catch (Exception e) {
System.err.println("Failed to change destination");
System.exit(0);
}
// Start the client
ai.main(concat(new String[] {"--version", "mcp", "--accessToken", "0", "--assetsDir", "assets", "--assetIndex", "1.8", "--userProperties", "{}", "--uid=0007"}, args));
}
// Minecraft's concat method
public static <T> T[] concat(T[] first, T[] second) {
T[] result = Arrays.copyOf(first, first.length + second.length);
System.arraycopy(second, 0, result, first.length, second.length);
return result;
}
// Handles all client requests
static class GetHandler implements HttpHandler {
@Override
public void handle(HttpExchange exchange) throws IOException {
if ("GET".equals(exchange.getRequestMethod())) {
URI requestURI = exchange.getRequestURI();
String response = "";
switch (requestURI.getPath()) {
case "/getLaunchInformation":
response = "whiteshulker7:whiteshulker7:whiteshulker7";
break;
case "/getToken":
response = encrypt("00000007:" + AES_KEY + ":" + INIT_VECTOR);
break;
case "/getUserInfo":
response = encrypt("whiteshulker7:0007");
break;
case "/getClientPing":
response = encrypt("whiteshulker7");
break;
}
exchange.getResponseHeaders().set("Content-Type", "application/json");
exchange.sendResponseHeaders(200, response.getBytes().length);
OutputStream os = exchange.getResponseBody();
os.write(response.getBytes());
os.close();
} else {
exchange.sendResponseHeaders(405, -1);
}
}
// Client expects content encrypted
private String encrypt(String s) {
try {
Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding");
cipher.init(Cipher.ENCRYPT_MODE, getKey(), getIV());
byte[] bytes = cipher.doFinal(s.getBytes());
return Base64.getEncoder().encodeToString(bytes);
} catch(Exception e) {
return "";
}
}
// Gets their secret key
private SecretKey getKey() {
byte[] key = Base64.getDecoder().decode(AES_KEY);
return new SecretKeySpec(key, 0, key.length, "AES");
}
// Gets their init vector
private IvParameterSpec getIV() {
byte[] key = Base64.getDecoder().decode(INIT_VECTOR);
return new IvParameterSpec(key);
}
}
}