Welcome on MasterOf13FPS! MasterOf13FPS

Register today or sign up if you are already a member and never miss any cool content again :)

Stop using Pastebin login system

  • Thread starter Gelöschtes Mitglied 70
  • Start date
G

Gelöschtes Mitglied 70

Guest
Stop using Pastebin login system.

So after checking the source code of Summer (see post here) I've seen the Login class and the method they implemented to make a login.

It's doing a request to the following URL: https://pastebin.com/raw/Cr1WmBHL
Apparently people are still using Pastebin as their login method, I will make a repository on GitHub about a better way to make logins for any Java application.

Here's the code I used to get the URL (not complicated):
Java:
public static void main(String[] args) {
    byte[] b = new byte[33];
    b[0] = (byte) (-1519888652 >>> 16);
    b[1] = (byte) (-1499710909 >>> 7);
    b[2] = (byte) (-828415761 >>> 21);
    b[3] = (byte) (-1757937663 >>> 15);
    b[4] = (byte) (-1177741728 >>> 18);
    b[5] = (byte) (1237802352 >>> 13);
    b[6] = (byte) (590325931 >>> 16);
    b[7] = (byte) (-287523597 >>> 10);
    b[8] = (byte) (1759534201 >>> 17);
    b[9] = (byte) (-490524823 >>> 17);
    b[10] = (byte) (-562884165 >>> 16);
    b[11] = (byte) (1348250533 >>> 3);
    b[12] = (byte) (1992710125 >>> 12);
    b[13] = (byte) (-1846244983 >>> 2);
    b[14] = (byte) (1678354079 >>> 10);
    b[15] = (byte) (1507568094 >>> 14);
    b[16] = (byte) (1863791152 >>> 15);
    b[17] = (byte) (531683568 >>> 6);
    b[18] = (byte) (-1240713251 >>> 7);
    b[19] = (byte) (919792360 >>> 20);
    b[20] = (byte) (99468281 >>> 21);
    b[21] = (byte) (-1185220782 >>> 23);
    b[22] = (byte) (818897277 >>> 23);
    b[23] = (byte) (-1244726287 >>> 13);
    b[24] = (byte) (1659967939 >>> 20);
    b[25] = (byte) (1938614375 >>> 5);
    b[26] = (byte) (-210612658 >>> 5);
    b[27] = (byte) (-1643374438 >>> 7);
    b[28] = (byte) (-1932134323 >>> 14);
    b[29] = (byte) (-1352738283 >>> 9);
    b[30] = (byte) (1648543392 >>> 16);
    b[31] = (byte) (1480036907 >>> 6);
    b[32] = (byte) (1978974491 >>> 12);
    StringBuilder str = new StringBuilder();
    for (int i : b) {
        str.append((char) i);
    }
    System.out.println(str);
}
 
Last edited:
but pastebin still seems better at some point. like if you are having a non too famous client then renting for a URL is prob really expensive
 
but pastebin still seems better at some point. like if you are having a non too famous client then renting for a URL is prob really expensive

I can totally agree, but I think Summer is popular enough to not use a Pastebin login.

Some domains are like 10$/year so that's less than 1$ per month. If you want to host that's a bit higher but a very simple web hosting costs like 4$/month.

If your client gets popular enough I think deciding to make your infrastructure better would definitely be an option.
 
[QUOTE = "Krypton, post: 61702, member: 70"]
I can totally agree, but I think Summer is popular enough to not use a Pastebin login.

Some domains are like 10 $ / year so that's less than 1 $ per month. If you want to host that's a bit higher but a very simple web hosting costs like 4 $ / month.

If your client gets popular enough I think deciding to make your infrastructure better would definitely be an option.
[/QUOTE]
yes I agree
 
Last edited by a moderator:
Stop using Pastebin login system.

So after checking the source code of Summer (see post here) I've seen the Login class and the method they implemented to make a login.

It's doing a request to the following URL: https://pastebin.com/raw/Cr1WmBHL
Apparently people are still using Pastebin as their login method, I will make a repository on GitHub about a better way to make logins for any Java application.

Here's the code I used to get the URL (not complicated):
Java:
public static void main(String[] args) {
    byte[] b = new byte[33];
    b[0] = (byte) (-1519888652 >>> 16);
    b[1] = (byte) (-1499710909 >>> 7);
    b[2] = (byte) (-828415761 >>> 21);
    b[3] = (byte) (-1757937663 >>> 15);
    b[4] = (byte) (-1177741728 >>> 18);
    b[5] = (byte) (1237802352 >>> 13);
    b[6] = (byte) (590325931 >>> 16);
    b[7] = (byte) (-287523597 >>> 10);
    b[8] = (byte) (1759534201 >>> 17);
    b[9] = (byte) (-490524823 >>> 17);
    b[10] = (byte) (-562884165 >>> 16);
    b[11] = (byte) (1348250533 >>> 3);
    b[12] = (byte) (1992710125 >>> 12);
    b[13] = (byte) (-1846244983 >>> 2);
    b[14] = (byte) (1678354079 >>> 10);
    b[15] = (byte) (1507568094 >>> 14);
    b[16] = (byte) (1863791152 >>> 15);
    b[17] = (byte) (531683568 >>> 6);
    b[18] = (byte) (-1240713251 >>> 7);
    b[19] = (byte) (919792360 >>> 20);
    b[20] = (byte) (99468281 >>> 21);
    b[21] = (byte) (-1185220782 >>> 23);
    b[22] = (byte) (818897277 >>> 23);
    b[23] = (byte) (-1244726287 >>> 13);
    b[24] = (byte) (1659967939 >>> 20);
    b[25] = (byte) (1938614375 >>> 5);
    b[26] = (byte) (-210612658 >>> 5);
    b[27] = (byte) (-1643374438 >>> 7);
    b[28] = (byte) (-1932134323 >>> 14);
    b[29] = (byte) (-1352738283 >>> 9);
    b[30] = (byte) (1648543392 >>> 16);
    b[31] = (byte) (1480036907 >>> 6);
    b[32] = (byte) (1978974491 >>> 12);
    StringBuilder str = new StringBuilder();
    for (int i : b) {
        str.append((char) i);
    }
    System.out.println(str);
}
agreed, we were not expecting to have many beta users, in the future for bigger projects no pastebin will be used for auth
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top