Skip to content

Instantly share code, notes, and snippets.

View betterclient's full-sized avatar
🤓
nerd

betterclient

🤓
nerd
  • no company lolololololol
  • Class.forName("java.io.PrintStream").getDeclaredMethod("println", Class.forName("java.lang.String")).invoke(Class.forName("java.lang.System").getDeclaredField("out").get(null), "Turkey");
  • 15:57 (UTC +03:00)
  • https://discord.gg/J2K5yggRUb
View GitHub Profile
@betterclient
betterclient / Reflect.java
Created April 21, 2023 09:40
Reflection Utility (Uses ASM)
import org.objectweb.asm.ClassReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.ArrayList;
import java.util.Enumeration;