This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import requests | |
import platform | |
import sys | |
import os | |
import lzma | |
import shlex | |
import json | |
from datetime import datetime |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from Crypto.PublicKey import RSA | |
from anynet import tls | |
from struct import unpack, calcsize | |
from binascii import hexlify, unhexlify | |
from requests import request | |
from os import makedirs, remove | |
from subprocess import run, PIPE | |
from os.path import basename, exists | |
from shutil import rmtree | |
from glob import glob |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from glob import glob | |
from struct import unpack | |
import json | |
import sys | |
def readint(f): | |
return unpack("<I", f.read(4))[0] | |
if __name__ == "__main__": | |
if len(sys.argv) < 3: |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from struct import pack | |
from json import loads | |
import sys | |
def i2b(n, b, o="little"): | |
return int(n).to_bytes(b, byteorder=o) | |
def b2i(b, o="little"): | |
return int.from_bytes(b, byteorder=o) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
from glob import glob | |
from subprocess import run, PIPE | |
from os.path import basename | |
from os import remove | |
from shutil import rmtree | |
def text_scan(text, pattern, flags=0): | |
return re.findall(pattern, text, re.MULTILINE | re.IGNORECASE) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from struct import pack, unpack, calcsize | |
from json import dumps | |
from os.path import basename | |
import sys | |
def readint(f): | |
return unpack("<I", f.read(4))[0] | |
def readstc(f, s): | |
s = "<" + s |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.