-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0.9.8 Byte Based NewChunk/OldChunk exploit 4 all dimensions
**0.9.8** ***The Newest NewChunk Exploit For NewerNewChunks!*** - Added the ByteExploit to NewerNewChunks. This is enabled by default, and all other methods of newchunk detection are now disabled. This is replacing liquid flow detection. - The ByteExploit does not work in Minecraft servers where their version is less than 1.18. For those servers, disable **ByteExploit** and enable Liquid flow and BlockExploit. - The ByteExploit does not work in flat worlds. - In the End dimension the larger islands give false positives as being old. There are enough actual new chunks detected this isn't an issue though. - Chunks appear to be defined as new until the person who generated them has unrendered them. - In the nether the chunks that stay loaded due to the spawn chunk region always show up as new for some reason. - Added an option for liquidflow detection so you can turn it on and off as needed, and also an option for the new ByteExploit. - Turned Advanced mode into BlockExploitMode **General Updates** - Made **MaceKill** not send packets if the entity is invulnerable or in creative mode, to prevent it killing you because the Mace does not prevent the fall damage in those cases. - Added the **BungeeSpoofModule** from the ServerSeeker Meteor addon. Thank you to DAM for that code.
- Loading branch information
Showing
9 changed files
with
253 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
src/main/java/pwn/noobs/trouserstreak/mixin/HandshakeC2SMixin.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
package pwn.noobs.trouserstreak.mixin; | ||
|
||
import com.google.gson.Gson; | ||
import com.google.gson.JsonObject; | ||
import meteordevelopment.meteorclient.systems.modules.Modules; | ||
import meteordevelopment.meteorclient.utils.network.Http; | ||
import net.minecraft.network.packet.c2s.handshake.ConnectionIntent; | ||
import net.minecraft.network.packet.c2s.handshake.HandshakeC2SPacket; | ||
import org.spongepowered.asm.mixin.*; | ||
import org.spongepowered.asm.mixin.injection.At; | ||
import org.spongepowered.asm.mixin.injection.Inject; | ||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; | ||
import pwn.noobs.trouserstreak.modules.BungeeSpoofer; | ||
|
||
import static meteordevelopment.meteorclient.MeteorClient.mc; | ||
//credits to DAM for the sauce | ||
@Mixin(HandshakeC2SPacket.class) | ||
public abstract class HandshakeC2SMixin { | ||
@Unique | ||
private static final Gson gson = new Gson(); | ||
@Mutable | ||
@Shadow | ||
@Final | ||
private String address; | ||
|
||
@Shadow | ||
public abstract ConnectionIntent intendedState(); | ||
|
||
@Inject(method = "<init>(ILjava/lang/String;ILnet/minecraft/network/packet/c2s/handshake/ConnectionIntent;)V", at = @At("RETURN")) | ||
private void onHandshakeC2SPacket(int i, String string, int j, ConnectionIntent connectionIntent, CallbackInfo ci) { | ||
BungeeSpoofer bungeeSpoofModule = Modules.get().get(BungeeSpoofer.class); | ||
if (!bungeeSpoofModule.isActive()) return; | ||
if (this.intendedState() != ConnectionIntent.LOGIN) return; | ||
String spoofedUUID = mc.getSession().getUuidOrNull().toString(); | ||
|
||
String URL = "https://api.mojang.com/users/profiles/minecraft/" + mc.getSession().getUsername(); | ||
|
||
Http.Request request = Http.get(URL); | ||
String response = request.sendString(); | ||
if (response != null) { | ||
JsonObject jsonObject = gson.fromJson(response, JsonObject.class); | ||
|
||
if (jsonObject != null && jsonObject.has("id")) { | ||
spoofedUUID = jsonObject.get("id").getAsString(); | ||
} | ||
} | ||
|
||
this.address += "\u0000" + bungeeSpoofModule.spoofedAddress.get() + "\u0000" + spoofedUUID; | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
src/main/java/pwn/noobs/trouserstreak/modules/BungeeSpoofer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package pwn.noobs.trouserstreak.modules; | ||
|
||
import meteordevelopment.meteorclient.settings.Setting; | ||
import meteordevelopment.meteorclient.settings.SettingGroup; | ||
import meteordevelopment.meteorclient.settings.StringSetting; | ||
import meteordevelopment.meteorclient.systems.modules.Module; | ||
import pwn.noobs.trouserstreak.Trouser; | ||
//credits to DAM for the sauce | ||
public class BungeeSpoofer extends Module { | ||
private final SettingGroup specialGroup = settings.createGroup("Credits to DAMcraft, maker of ServerSeeker."); | ||
|
||
public Setting<String> spoofedAddress = specialGroup.add(new StringSetting.Builder() | ||
.name("spoofed-address") | ||
.description("The spoofed IP address that will be sent to the server.") | ||
.defaultValue("127.0.0.1") | ||
.filter((text, c) -> (text + c).matches("^[0-9a-f\\\\.:]{0,45}$")) | ||
.build() | ||
); | ||
|
||
public BungeeSpoofer() { | ||
super(Trouser.Main, "BungeeSpoof", "Allows you to join servers with an exposed bungeecord backend. ONLY ENABLE THIS IF YOU ACTUALLY WANT TO JOIN A BUNGEESPOOFABLE SERVER!"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.