Skip to content

Instantly share code, notes, and snippets.

View DataPools's full-sized avatar

DataPools DataPools

View GitHub Profile
@DataPools
DataPools / get_master_token.py
Created January 5, 2021 17:43
Uses https://github.com/leikoilja/glocaltokens to get android id and master token. Ensure you have done "pip install glocaltokens" first. Fill in the username and password variables and run using python3 get_master_token.py.
from glocaltokens.client import GLocalAuthenticationTokens
# Using google username and password
client = GLocalAuthenticationTokens(
# Do not include @gmail.com in your email. For example, if your email was bob@gmail.com, you would just write bob.
username='<Insert Email Here>',
password='<Insert Password Here>'
)
# Get android ID
print('[*] Android ID:', client._get_android_id())
{
"active": true,
"atCapacity": false,
"showId": 5716,
"showType": "hq",
"startTime": "2018-07-05T04:00:00.000Z",
"nextShowTime": null,
"nextShowPrize": null,
"nextShowVertical": null,
"upcoming": [
@DataPools
DataPools / EditMethod.java
Last active July 21, 2023 03:36
Method to edit a method inside a .jar file using Javassist
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
import java.nio.file.FileSystem;
import java.nio.file.FileSystems;
import java.nio.file.Files;
import java.nio.file.Path;
// This is a periodically updated blocklist, edited to remove profanity
*.arkhamnetwork.org
*.arkhamhosting.com
*.playmc.mx
*.herowars.org
*.eulablows.host
*.eccgamers.com
*.hiexcel.win
*.himojangsup.top
*.hippiess.bid