Skip to content

Commit

Permalink
Create SparkyDisabler.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
C00LC0D35 authored Apr 17, 2023
1 parent 93d46de commit 12a2c53
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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")
}
}
}

0 comments on commit 12a2c53

Please sign in to comment.