This file contains hidden or 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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
This file contains hidden or 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
| public class Def15 extends CacheNode { | |
| public boolean aBool2430 = false; | |
| public void unpack(RSBuf var1, byte var2) { | |
| while (true) { | |
| int opc = var1.get(); | |
| if (opc == 0) { | |
| return; | |
| } |
This file contains hidden or 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
| public class Def32 extends CacheNode { | |
| int anInt2184 = 1971236605; | |
| public int anInt2187 = 0; | |
| public int anInt2188 = -1137279401; | |
| public int anInt2192 = 1494000227; | |
| public int anInt2193 = 1072750162; | |
| int anInt2194 = -1330443429; | |
| int anInt2195 = 363726675; | |
| public int anInt2196 = 0; | |
| int anInt2197 = -830054301; |
This file contains hidden or 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
| public class Def33 extends CacheNode { | |
| public int anInt2397; | |
| public int anInt2398 = -611158405; | |
| public int anInt2399 = -388477803; | |
| public int anInt2402 = -358848418; | |
| int anInt2403 = -1564341323; | |
| int anInt2404 = 120847117; | |
| public int anInt2407 = -680779849; | |
| public int anInt2408 = 1871238621; | |
| public int anInt2409 = -1658862602; |
This file contains hidden or 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
| import java.awt.Component; | |
| import java.awt.Image; | |
| import java.awt.MediaTracker; | |
| import java.awt.Toolkit; | |
| import java.awt.image.PixelGrabber; | |
| public final class Def32Object extends DummyParentForNode { | |
| public int anInt2831; | |
| public int anInt2832; | |
| public int anInt2834; |
This file contains hidden or 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
| public final class Def32Object2 extends Scrambled { | |
| public Def32Object2(byte[] var1) { | |
| super(var1); | |
| } | |
| final void method3484(byte[] var1, int var2, int var3, int var4, int var5, int var6) { | |
| int var7 = var2 + var3 * anInt2537; | |
| int var11 = anInt2537 - var4; | |
| int var8 = 0; | |
| int var10 = 0; |
This file contains hidden or 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
| @Override | |
| public Applet fetchApplet() { | |
| Logger.infoF("[%s] API fetchApplet from %s", Loader.class.getSimpleName(), Context.getInstance().getServerProviderInfo().getClientClass()); | |
| try { | |
| final Context context = Context.getInstance(); | |
| final ASMClassLoader classLoader = context.getASMClassLoader(); | |
| final Class<?> clientClass = classLoader.loadClass(Context.getInstance().getServerProviderInfo().getClientClass()); | |
| Logger.info("Loader", "attempting to create new Instance for "+Context.getInstance().getServerProviderInfo().getClientClass()+" | found "+clientClass); | |
| Object instance = clientClass.newInstance(); | |
| Logger.infoF("[%s] Successfully created instance of client class : %s", "Loader", Context.getInstance().getServerProviderInfo().getClientClass()); |
This file contains hidden or 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
| [INFO] ------------------------------------------------------------------------ | |
| [ERROR] FATAL ERROR | |
| [INFO] ------------------------------------------------------------------------ | |
| [INFO] org.codehaus.plexus.component.configurator.BasicComponentConfigurator cannot be cast to org.codehaus.plexus.component.configurator.ComponentConfigurator | |
| [INFO] ------------------------------------------------------------------------ | |
| [INFO] Trace | |
| java.lang.ClassCastException: org.codehaus.plexus.component.configurator.BasicComponentConfigurator cannot be cast to org.codehaus.plexus.component.configurator.ComponentConfigurator | |
| at org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1351) | |
| at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:724) | |
| at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:468) |
This file contains hidden or 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
| @Override | |
| public ClassSpec specify(ClassNode cn) { | |
| // new | |
| matchBuilder = MatchBuilder.create() | |
| .superMatch(HookContainer.NODE_SUB.getInternalName()) | |
| .methodRange(0, 4) | |
| .constructorRange(1, 1) | |
| .method("(IIIIIII"); |
This file contains hidden or 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
| try { | |
| Field appletField_Y = clientInstance.getClass().getSuperclass().getDeclaredField("Y"); // applet's 'y' = E.class | |
| appletField_Y.setAccessible(true); | |
| Class<?> frameClass = classLoader.loadClass("com.b.a.E"); // jframe | |
| Constructor<?> frameClassConstructor = frameClass.getConstructors()[0]; | |
| frameClassConstructor.setAccessible(true); | |
| Frame frameInstance = (Frame) frameClassConstructor.newInstance(clientInstance, 500, 500, false, false); // old / usual |
OlderNewer