diff --git a/src/main/java/net/ccbluex/liquidbounce/features/module/modules/exploit/disablers/other/SparkyDisabler.kt b/src/main/java/net/ccbluex/liquidbounce/features/module/modules/exploit/disablers/other/SparkyDisabler.kt new file mode 100644 index 0000000000..f69cb3dbda --- /dev/null +++ b/src/main/java/net/ccbluex/liquidbounce/features/module/modules/exploit/disablers/other/SparkyDisabler.kt @@ -0,0 +1,23 @@ +package net.ccbluex.liquidbounce.features.module.modules.exploit.disablers.other + +import net.ccbluex.liquidbounce.features.module.modules.exploit.disablers.DisablerMode +import net.ccbluex.liquidbounce.event.PacketEvent +import net.ccbluex.liquidbounce.utils.PacketUtils +import net.ccbluex.liquidbounce.event.WorldEvent +import net.minecraft.network.play.client.C17PacketCustomPayload +import net.minecraft.network.PacketBuffer +import java.util.* + +class Sparky : DisablerMode("SparkyBackdoor") { + + override fun onPacket(event: PacketEvent) { + val packet = event.packet + if (packet is C17PacketCustomPayload) { + val C17 = C17PacketCustomPayload() + C17.setChannel("40413eb1") + C17.setData(PacketBuffer(Unpooled.wrappedBuffer(byteArrayOf(8, 52, 48, 52, 49, 51, 101, 98, 49)))) + PacketUtils.sendPacketNoEvent(C17) + disabler.debugMessage("Sent sussy wussy packet") + } + } +}