Skip to content

Instantly share code, notes, and snippets.

View leonardosnt's full-sized avatar
:shipit:
I may be slow to respond.

Leonardo Santos leonardosnt

:shipit:
I may be slow to respond.
View GitHub Profile
package teste;
import org.bukkit.Bukkit;
import com.sk89q.worldedit.Vector;
import com.sk89q.worldedit.bukkit.BukkitUtil;
import com.sk89q.worldedit.util.Location;
overkill
sharpshooter
dexterity
cardio
exercise
diving
parkour
sneakybeaky
vitality
immunity
ronle
ZoJzmeVBoAv9Sskw76emgksMMFiLn4NM
float f = Methods.from(this).find("xisde").invoke();
//Normal
java.lang.reflect.Method md = getClass().getDeclaredMethod("xisde");
md.setAccessible(true);
float x = (float) md.invoke(this);
int f = Methods
.from(this)
int i = 23;
String str = Integer.toString(i);
Compilado para
ILOAD 1
INVOKESTATIC java/lang/Integer.toString (I)Ljava/lang/String;
ASTORE 2
@leonardosnt
leonardosnt / Fix.java
Last active September 20, 2016 20:19
File origi = new File("C:\\Users\\Leonardo\\Documents\\Servers\\Eraldia\\plugins\\dtlTraders.jar");
File jarFile = new File("C:\\Users\\Leonardo\\Documents\\Servers\\Eraldia\\plugins\\dtlTraders-patched.jar");
java.nio.file.Files.copy(origi.toPath(), jarFile.toPath(), StandardCopyOption.REPLACE_EXISTING);
File patchedDir = new File("C:\\Users\\Leonardo\\Documents\\Servers\\Eraldia\\plugins\\patched");
patchedDir.mkdir();
JarFile jar = new JarFile(jarFile);
#include <stdlib.h>
#include "jni.h"
void nativeFoo();
int main(void) {
JNIEnv* env;
JavaVM* jvm;
JavaVMInitArgs vm_args;
JavaVMOption* options = new JavaVMOption[1];
@leonardosnt
leonardosnt / app.js
Last active November 19, 2016 05:50
/*
* Copyright (C) 2015-2016 leonardosnt
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
/*
* Copyright (C) 2016 Leonardosc
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
/*
* Copyright (C) 2015-2016 leonardosnt
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,