Our official Dev API | GhostLeaks
Welcome at the GhostLeaks
We bringing a new era of leaks

Our official Dev API

  • Hey Guest!

    Our hosting provider or CloudFlare won't reply to any DMCA takedown notice!

    If you wish TakeDown of your resource then,
    Contact us at discord: TheSpace#0829


    Please allow up to a week for a discord reply!
  • Hey Guest !

    In order to be able to download resources,
    You need to register. Register by the Button at upside at right.

    Thanks for reading me :)
  • Hey Guest !

    Please don't use randomly generated or written names (example: dfdfasdf)
    We'll ban users with those names because they're Spam-Like.
    To prevent this! Please use normal names while registration!

𝓣𝓱𝓮𝓢𝓹𝓪𝓬𝓮

I'm thinking about many things ❤
Staff member
Owner
Halloween
Dec 25, 2020
656
78
50
GhostLeaks.eu <3
ghostleaks.eu
Hey! :)


You can use this API to make an automated license system, which will work only for our members
If you wanna make your own resource in java which will be connected at our Bans then use this code:

Code:
package your.package.here;

import java.util.*;
import java.net.*;
import java.io.*;

public class YourClassName
{
    static ArrayList<String> result;
  
    static {
        YourClassName.result = new ArrayList<String>();
    }
  
    public static void onEnable() throws IOException {
        System.out.println(" [GhostLeaks] -> Your user ID is:  %%__USER__%% ");
        System.out.println(" [GhostLeaks] -> Resource ID is:  %%__RESOURCE__%% ");
        System.out.println("");
        System.setProperty("http.agent", "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2");
        final URL Handler = new URL("http://api.ghostleaks.eu/v2/bans.php?user_id=%%__USER__%%");
        final BufferedReader in = new BufferedReader(new InputStreamReader(Handler.openStream()));
        String inputLine;
        while ((inputLine = in.readLine()) != null) {
            if (inputLine.equals("kill") || inputLine.equals("ERR")) {
                System.out.println(" [GhostLeaks] Please contact GhostLeaks.eu!");
                System.out.println(" [GhostLeaks] Error: 0x0");
                System.exit(0);
            }
            if (inputLine.equals("GOOD")) {
                System.out.println(" [GhostLeaks] Responce: GOOD");
            }
        }
        YourClassName.result.add(inputLine);
        in.close();
    }
}

Explanation of %%__USER__%% and %%__RESOURCE__%% Placeholder


Placeholder %%__USER__%% is used to get the downloader's ID | It is Automatically injected by our Injector
Placeholder %%__RESOURCE__%% is used to get the resource's ID | It is Automatically injected by our Injector



This code automatically gets obfuscated!
Remember! This code must be at the onEnable() method!
Without it, it won't work!

This is coded by @TheSpace and @ProAnimator
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.