Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.io.*;
- import java.util.*;
- class J {
- public static void main(String[] a) throws Exception{
- System.in.close();
- PrintStream b = System.out,i=new PrintStream(new OutputStream(){public void write(int a){}});
- System.setOut(i);
- System.setErr(i);
- for(byte[] c = new byte[0];;){
- for(int d = 1, e = 0, f; d > 0;e++){
- if (e == c.length){
- c = Arrays.copyOf(c,e+1);
- break;
- }
- d = (f = c[e] + 1)==256?1:0;
- c[e] = (byte) (f+1);
- }
- byte[] g = Arrays.copyOf(c, c.length);
- new Thread(() -> {
- try{
- new ClassLoader(){Class a(byte[] a){
- return this.defineClass(a, 0, a.length);
- }}.a(g).getMethod("main", a.getClass()).invoke(null,a);
- b.println(Arrays.toString(g));
- } catch (Throwable h){}
- }).start();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement