Exploit Gugustus 202 lines

Gugustus Disabler

Source: iroot3/mc-client-sources  ยท  Analysis via GLM-5.2

FULL CODE REPRESENTATION โ€” Complete source displayed below. Client framework code is included for full context.
AI-GENERATED ANALYSIS

Packets Used by This Module

โ€” Annotations generated by GLM-5.2 (zai-org/GLM-5.2:fastest). Verify against original source.
# Disabler Module Analysis (Gugustus)
## Packets Used | Packet | Direction | Purpose in Module | |--------|-----------|-------------------| | C00PacketKeepAlive | Cโ†’S | PingSpoof delay queue; cancelable via `keepAlive` toggle | | CustomC00PacketKeepAlive | (Wrapper) | Custom wrapper storing key + scheduled send-time for PingSpoof | | C01PacketPing | Cโ†’S (Status) | Cancelable via `ping` toggle | | C02PacketUseEntity | Cโ†’S | UniversoCraft: clears `disabling` flag on attack | | C03PacketPlayer | Cโ†’S | UniversoCraft flag trigger; Spectate branch | | C03PacketPlayer.C06PacketPlayerPosLook | Cโ†’S | HAC flag (Yโˆ’11) and AAC5 flag (Yโˆ’1E159 / Z+10) | | C0BPacketEntityAction | Cโ†’S | NoSprint cancels START_SPRINTING; `entityAction` toggle cancels all | | C0FPacketConfirmTransaction | Cโ†’S | UniversoCraft uid spoof; MinemenStrafe every 3 ticks; `confirmTransaction` toggle cancels | | C13PacketPlayerAbilities | Cโ†’S | RoyalPixels sends fly-enabled; `playerAbilities` toggle cancels | | S02PacketChat | Sโ†’C | Imported (unused in visible body) | | S07PacketRespawn | Sโ†’C | UniversoCraft: sets `disabling=true` on respawn | | S08PacketPlayerPosLook | Sโ†’C | Imported (unused in visible body) |
## MCP Classes Used | Class | Package | Role | |-------|---------|------| | `Packet` | `net.minecraft.network` | Generic packet supertype for `EventSendPacket` payload | | `PacketBuffer` | `net.minecraft.network` | Imported (unused in visible body) | | `C00PacketKeepAlive` | `net.minecraft.network.play.client` | KeepAlive key echo | | `C01PacketPing` | `net.minecraft.network.status.client` | Status-phase ping | | `C02PacketUseEntity` | `net.minecraft.network.play.client` | Entity interaction | | `C03PacketPlayer` | `net.minecraft.network.play.client` | Player position/look base | | `C03PacketPlayer.C06PacketPlayerPosLook` | `net.minecraft.network.play.client` | Full pos+look flying packet | | `C0BPacketEntityAction` | `net.minecraft.network.play.client` | Sprint/sneak action | | `C0FPacketConfirmTransaction` | `net.minecraft.network.play.client` | Window transaction ack | | `C13PacketPlayerAbilities` | `net.minecraft.network.play.client` | Player abilities sync | | `S02PacketChat` | `net.minecraft.network.play.server` | Chat message (import only) | | `S07PacketRespawn` | `net.minecraft.network.play.server` | Respawn packet | | `S08PacketPlayerPosLook` | `net.minecraft.network.play.server` | Server-side rubberband (import only) | | `Unpooled` | `io.netty.buffer` | Netty buffer factory (import only) |
## Line-by-Line Annotation | Line | Code | Annotation | |------|------|------------| | 1 | `package net.augustus.modules.misc;` | Module package declaration โ€” `misc` category grouping. | | 2 | *(blank)* | โ€” | | 3 | `import java.awt.Color;` | AWT color for module HUD tint. | | 4 | `import java.util.ArrayList;` | Used for `keepAlivePackets` queue and `toRemove` list. | | 5 | *(blank)* | โ€” | | 6 | `import io.netty.buffer.Unpooled;` | Netty buffer helper โ€” imported but unused in visible body. | | 7 | `import net.augustus.events.*;` | Augustus event types: `EventUpdate`, `EventRender3D`, `EventSendPacket`, `EventWorld`. | | 8 | `import net.augustus.modules.Categorys;` | Enum for module categories. | | 9 | `import net.augustus.modules.Module;` | Base class for all toggles. | | 10 | `import net.augustus.notify.GeneralNotifyManager;` | Notify API โ€” imported but unused in visible body. | | 11 | `import net.augustus.settings.BooleanValue;` | Toggle setting type. | | 12 | `import net.augustus.settings.DoubleValue;` | Numeric setting type (used for `delay`). | | 13 | `import net.augustus.utils.PlayerUtil;` | Player utility โ€” imported but unused in visible body. | | 14 | `import net.augustus.utils.RandomUtil;` | Provides `nextLong` for PingSpoof jitter. | | 15 | `import net.augustus.utils.custompackets.CustomC00PacketKeepAlive;` | Custom wrapper carrying key + scheduled send time. | | 16 | `import net.lenni0451.eventapi.reflection.EventTarget;` | Annotation marking event handler methods. | | 17 | `import net.minecraft.network.Packet;` | Generic packet supertype. | | 18 | `import net.minecraft.network.PacketBuffer;` | Imported but unused in visible body. | | 19 | `import net.minecraft.network.play.client.*;` | Wildcard import for all C0x client play packets. | | 20 | `import net.minecraft.network.play.server.S02PacketChat;` | Imported but unused in visible body. | | 21 | `import net.minecraft.network.play.server.S08PacketPlayerPosLook;` | Imported but unused in visible body. | | 22 | `import net.minecraft.network.status.client.C01PacketPing;` | Status-phase ping packet. | | 23 | *(blank)* | โ€” | | 24 | `public class Disabler extends Module {` | Module entry point โ€” extends Augustus `Module`. | | 25 | `private final ArrayList keepAlivePackets = new ArrayList<>();` | Queue of deferred keep-alives for PingSpoof. | | 26 | `private final int counter = 0;` | Unused counter field (likely vestigial). | | 27 | `public BooleanValue pingSpoof = new BooleanValue(0, "PingSpoof", this, false);` | Toggle: delay keep-alives to spoof high ping. | | 28 | `public BooleanValue royalPixels = new BooleanValue(8, "RoyalPixels", this, false);` | Toggle: RoyalPixels anticheat bypass via abilities packet. | | 29 | `public BooleanValue minemenStrafe = new BooleanValue(9, "MinemenStrafe", this, false);` | Toggle: drop C0F every 3rd tick (Minemen Club). | | 30 | `public BooleanValue universoCraft = new BooleanValue(7, "UniversoCraft", this, false);` | Toggle: UniversoCraft transaction-uid desync. | | 31 | `public BooleanValue spectate = new BooleanValue(0, "Spectate", this, false);` | Toggle: spectate-mode disabler (branch truncated). | | 32 | `public BooleanValue keepAlive = new BooleanValue(2, "C00PacketKeepAlive", this, false);` | Toggle: cancel all C00 keep-alives. | | 33 | `public BooleanValue ping = new BooleanValue(3, "C01PacketPing", this, false);` | Toggle: cancel all C01 pings. | | 34 | `public BooleanValue entityAction = new BooleanValue(4, "C0BPacketEntityAction", this, false);` | Toggle: cancel all C0B entity actions. | | 35 | `public BooleanValue playerAbilities = new BooleanValue(5, "C13PacketPlayerAbilities", this, false);` | Toggle: cancel all C13 abilities packets. | | 36 | `public BooleanValue confirmTransaction = new BooleanValue(7, "C0FPacketConfirmTransaction", this, false);` | Toggle: cancel all C0F transaction acks. | | 37 | `public BooleanValue ncpTimer = new BooleanValue(132, "NCPTimerSemi", this, false);` | Toggle: NCP timer bypass via micro Y-shift. | | 38 | `//public BooleanValue vulcanStrafe = ...` | Commented-out Vulcan strafe bypass. | | 39 | `//public BooleanValue vulcanCombat = ...` | Commented-out Vulcan autoclicker bypass. | | 40 | `//public BooleanValue spamSprint = ...` | Commented-out sprint-spam toggle. | | 41 | `public BooleanValue hac = new BooleanValue(696969, "HAC", this, false);` | Toggle: HAC bypass via periodic Yโˆ’11 flag. | | 42 | `public BooleanValue noSprint = new BooleanValue(7, "NoSprint", this, false);` | Toggle: cancel START_SPRINTING actions. | | 43 | `public BooleanValue blcSpoof = new BooleanValue(7, "BLC-Spoof", this, false);` | Toggle: BLC client spoof (no handler in visible body). | | 44 | `public BooleanValue aac5 = new BooleanValue(7, "AAC5", this, false);` | Toggle: AAC5 bypass via extreme Y offset. | | 45 | `public BooleanValue antiVanillaEumel = new BooleanValue(7, "NoFlag", this, false);` | Toggle: anti-flag (no handler in visible body). | | 46 | `public BooleanValue debug = new BooleanValue(1536, "Debug", this, false);` | Toggle: debug mode (no handler in visible body). | | 47 | *(blank)* | โ€” | | 48 | `public DoubleValue delay = new DoubleValue(1, "Delay", this, 1000.0, 1.0, 4000.0, 0);` | PingSpoof delay in ms (1โ€“4000, default 1000). | | 49 | `public BooleanValue onWorld = new BooleanValue(123, "DisableOnWorld", this, false);` | Toggle: auto-disable on world load. | | 50 | `@EventTarget` | Marks `onWorld` as event handler. | | 51 | `public void onWorld(EventWorld eventWorld) {` | World-load event handler. | | 52 | `if(onWorld.getBoolean()) {` | Check toggle. | | 53 | `setToggled(false);` | Disable module. | | 54 | `}` | โ€” | | 55 | `}` | โ€” | | 56 | `private boolean disabling;` | UniversoCraft state flag โ€” true while transaction spoofing is active. | | 57 | *(blank)* | โ€” | | 58 | `public Disabler() {` | Constructor. | | 59 | `super("Disabler", new Color(73, 127, 163), Categorys.MISC);` | Registers module with name, color, MISC category. | | 60 | `}` | โ€” | | 61 | *(blank)* | โ€” | | 62 | `@Override` | Override marker. | | 63 | `public void onEnable() {` | Enable callback. | | 64 | `super.onEnable();` | Parent enable logic. | | 65 | `this.keepAlivePackets.clear();` | Reset PingSpoof queue. | | 66 | `}` | โ€” | | 67 | *(blank)* | โ€” | | 68 | `@Override` | Override marker. | | 69 | `public void onDisable() {` | Disable callback. | | 70 | `super.onDisable();` | Parent disable logic. | | 71 | `if (!this.keepAlivePackets.isEmpty()) {` | Guard for queue cleanup. | | 72 | `this.keepAlivePackets.clear();` | Drop any pending keep-alives (no flush). | | 73 | `}` | โ€” | | 74 | `}` | โ€” | | 75 | *(blank)* | โ€” | | 76 | `@EventTarget` | Marks `onEventUpdate` as event handler. | | 77 | `public void onEventUpdate(EventUpdate eventUpdate) {` | Tick handler โ€” runs each client tick. | | 78 | `if (ncpTimer.getBoolean()) {` | NCP timer branch. | | 79 | `mc.thePlayer.setPosition(mc.thePlayer.posX, mc.thePlayer.posY - 0.017, mc.thePlayer.posZ);` | Micro Y-shift to bypass NCP timer heuristic. | | 80 | `mc.thePlayer.motionY = 0.019;` | Tiny upward motion to maintain hover. | | 81 | `}` | โ€” | | 82 | `if (hac.getBoolean()) {` | HAC branch. | | 83 | `if(mc.thePlayer.ticksExisted % 10 == 0) {` | Fire every 10 ticks. | | 84 | `mc.thePlayer.sendQueue.addToSendQueue(new C03PacketPlayer.C06PacketPlayerPosLook(mc.thePlayer.posX, mc.thePlayer.posY - 11, mc.thePlayer.posZ, mc.thePlayer.cameraYaw, mc.thePlayer.cameraPitch, true));` | class="packet" โ€” Sends a fake pos-look 11 blocks below to confuse HAC. | | 85 | `}` | โ€” | | 86 | `}` | โ€” | | 87 | `if (aac5.getBoolean()) {` | AAC5 branch. | | 88 | `if (!mc.isIntegratedServerRunning()) {` | Only on remote servers. | | 89 | `mc.thePlayer.sendQueue.addToSendQueue(new C03PacketPlayer.C06PacketPlayerPosLook(mc.thePlayer.posX, mc.thePlayer.posY - 1.0E159, mc.thePlayer.posZ + 10, 0, 0, true));` | class="packet" โ€” Sends absurd Y/Z to trigger AAC5 setoff. | | 90 | `mc.thePlayer.sendQueue.addToSendQueue(new C03PacketPlayer.C06PacketPlayerPosLook(mc.thePlayer.posX, mc.thePlayer.posY, mc.thePlayer.posZ, 0, 0, true));` | class="packet" โ€” Immediately follows with a valid pos-look to land safely. | | 91 | `}` | โ€” | | 92 | `}` | โ€” | | 93 | `if (this.royalPixels.getBoolean()) {` | RoyalPixels branch. | | 94 | `C13PacketPlayerAbilities capabilities = new C13PacketPlayerAbilities();` | class="packet" โ€” Constructs abilities packet. | | 95 | `capabilities.setAllowFlying(true);` | class="packet" โ€” Marks allow-flying bit. | | 96 | `capabilities.setFlying(true);` | class="packet" โ€” Marks currently-flying bit. | | 97 | `mc.thePlayer.sendQueue.addToSendQueue(capabilities);` | class="packet" โ€” Sends spoofed abilities to RoyalPixels AC. | | 98 | `}` | โ€” | | 99 | `}` | โ€” | | 100 | *(blank)* | โ€” | | 101 | `@EventTarget` | Marks `onEventRender3D` as event handler. | | 102 | `public void onEventRender3D(EventRender3D eventRender3D) {` | Render-tick handler โ€” used for PingSpoof flush timing. | | 103 | `if (this.pingSpoof.getBoolean() && mc.thePlayer != null && !this.keepAlivePackets.isEmpty()) {` | PingSpoof active and queue non-empty. | | 104 | `ArrayList toRemove = new ArrayList<>();` | Collect packets whose scheduled time has elapsed. | | 105 | *(blank)* | โ€” | | 106 | `for(CustomC00PacketKeepAlive packet : this.keepAlivePackets) {` | Iterate queued keep-alives. | | 107 | `if (packet.getTime() < System.currentTimeMillis()) {` | Time to release? | | 108 | `mc.thePlayer.sendQueue.addToSendQueueDirect(new C00PacketKeepAlive(packet.getKey()));` | class="packet" โ€” Sends real C00 with stored key, bypassing event pipeline. | | 109 | `toRemove.add(packet);` | Mark for removal. | | 110 | `}` | โ€” | | 111 | `}` | โ€” | | 112 | *(blank)* | โ€” | | 113 | `this.keepAlivePackets.removeIf(toRemove::contains);` | Purge sent packets. | | 114 | `}` | โ€” | | 115 | `}` | โ€” | | 116 | *(blank)* | โ€” | | 117 | `@EventTarget` | Marks `onEventSendPacket` as event handler. | | 118 | `public void onEventSendPacket(EventSendPacket eventSendPacket) {` | Outbound packet interceptor. | | 119 | `Packet packet = eventSendPacket.getPacket();` | class="packet" โ€” Captures outbound packet reference. | | 120 | `if (this.universoCraft.getBoolean()) {` | UniversoCraft branch. | | 121 | `if (packet instanceof net.minecraft.network.play.server.S07PacketRespawn) {` | class="packet" โ€” Detects server-initiated respawn. | | 122 | `this.disabling = true;` | Begin transaction spoofing window. | | 123 | `} else if (packet instanceof net.minecraft.network.play.client.C02PacketUseEntity) {` | class="packet" โ€” Detects entity-use (attack). | | 124 | `this.disabling = false;` | End spoofing window on combat. | | 125 | `} else if (packet instanceof net.minecraft.network.play.client.C03PacketPlayer && mc.thePlayer.ticksExisted <= 10) {` | class="packet" โ€” Early-tick C03 re-arms spoofing. | | 126 | `this.disabling = true;` | Re-enable spoofing. | | 127 | `} else if (packet instanceof C0FPacketConfirmTransaction && this.disabling && mc.thePlayer.ticksExisted < 350) {` | class="packet" โ€” Transaction within spoof window. | | 128 | `((C0FPacketConfirmTransaction)packet).setUid((mc.thePlayer.ticksExisted % 2 == 0) ? Short.MIN_VALUE : Short.MAX_VALUE);` | class="packet" โ€” Corrupts transaction UID to MIN/MAX alternately. | | 129 | `}` | โ€” | | 130 | `}` | โ€” | | 131 | `if (this.noSprint.getBoolean() && packet instanceof C0BPacketEntityAction) {` | class="packet" โ€” NoSprint branch on entity action. | | 132 | `if(((C0BPacketEntityAction)packet).getAction() == C0BPacketEntityAction.Action.START_SPRINTING) {` | class="packet" โ€” Inspects action type. | | 133 | `eventSendPacket.setCanceled(true);` | class="packet" โ€” Cancels sprint-start packet. | | 134 | `}` | โ€” | | 135 | `}` | โ€” | | 136 | `if (this.pingSpoof.getBoolean() && packet instanceof C00PacketKeepAlive) {` | class="packet" โ€” PingSpoof intercepts keep-alive. | | 137 | `C00PacketKeepAlive c00PacketKeepAlive = (C00PacketKeepAlive)packet;` | class="packet" โ€” Casts to concrete type. | | 138 | `this.keepAlivePackets` | class="packet" โ€” Begins queue insertion. | | 139 | `.add(` | class="packet" โ€” Continues insertion. | | 140 | `new CustomC00PacketKeepAlive(` | class="packet" โ€” Wraps key with delayed send time. | | 141 | `c00PacketKeepAlive.getKey(), (long)((double)System.currentTimeMillis() + this.delay.getValue() + (double)RandomUtil.nextLong(0L, 200L))` | class="packet" โ€” Schedules send = now + delay + 0โ€“200ms jitter. | | 142 | `)` | class="packet" โ€” โ€” | | 143 | `);` | class="packet" โ€” โ€” | | 144 | `eventSendPacket.setCanceled(true);` | class="packet" โ€” Cancels original keep-alive (deferred). | | 145 | `}` | โ€” | | 146 | *(blank)* | โ€” | | 147 | `if (this.minemenStrafe.getBoolean() && packet instanceof C0FPacketConfirmTransaction && mc.thePlayer.ticksExisted % 3 == 0) {` | class="packet" โ€” MinemenStrafe drops C0F every 3rd tick. | | 148 | `eventSendPacket.setCanceled(true);` | class="packet" โ€” Cancels transaction. | | 149 | `}` | โ€” | | 150 | *(blank)* | โ€” | | 151 | `if (packet instanceof C00PacketKeepAlive && this.keepAlive.getBoolean()) {` | class="packet" โ€” Plain keep-alive cancel toggle. | | 152 | `eventSendPacket.setCanceled(true);` | class="packet" โ€” Cancels. | | 153 | `}` | โ€” | | 154 | *(blank)* | โ€” | | 155 | `if (packet instanceof C01PacketPing && this.ping.getBoolean()) {` | class="packet" โ€” Plain C01 ping cancel toggle. | | 156 | `eventSendPacket.setCanceled(true);` | class="packet" โ€” Cancels. | | 157 | `}` | โ€”
โ† Back to Packet Reference  ยท  Analysis Index  ยท  Original Source โ†—