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 gmpy2 import mpfr | |
from rich.console import Console | |
from rich.table import Table | |
class Resistor: | |
def __init__(self, resistance): | |
self.resistance = mpfr(resistance) | |
class Circuit: | |
def __init__(self, *wires): |
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 sys | |
import numpy as np | |
from time import sleep | |
from PIL import Image | |
from requests import session | |
colors = [ | |
(255, 255, 255), |
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 | |
from bs4 import BeautifulSoup | |
from requests import head, get | |
from os import remove | |
from subprocess import run | |
from argparse import ArgumentParser | |
from platform import architecture | |
from shutil import copy |
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 struct | |
import subprocess | |
import os | |
import base64 | |
import shutil | |
import argparse | |
import binascii | |
import requests |
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 | |
from struct import pack, unpack, calcsize | |
from Crypto.Cipher import AES | |
from Crypto.Hash import SHA1 | |
from binascii import hexlify, unhexlify | |
from io import BytesIO | |
from os.path import join | |
from os import makedirs | |
import sys |
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 | |
from struct import pack, unpack, calcsize | |
from Crypto.Cipher import AES | |
from Crypto.Hash import SHA1 | |
from binascii import hexlify, unhexlify | |
from os.path import join, exists | |
from os import makedirs, remove | |
import sys |
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 hashlib import pbkdf2_hmac | |
from binascii import hexlify, unhexlify | |
from Crypto.Hash import MD5 | |
import sys | |
SECRET = b'\xfd\x04\x01\x05\x06\x0b\x11\x1c-I' | |
def hexify(s): | |
return hexlify(s).decode("utf-8") |
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 unpack, calcsize | |
from zlib import decompress | |
from io import BytesIO | |
from os import makedirs, scandir | |
from os.path import dirname, join | |
PACKS_PATH = r"u either know it or u dont" | |
def readint(f, type="I"): | |
return unpack(f"<{type}", f.read(calcsize(type)))[0] |
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 subprocess import run, Popen, PIPE | |
from psutil import Process | |
from time import sleep | |
from tempfile import NamedTemporaryFile | |
import sys | |
import re | |
import ctypes | |
enable_reg = br"""Windows Registry Editor Version 5.00 |
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 base64 import b64decode, b64encode | |
from binascii import hexlify | |
from requests import post, get | |
from json import loads, dumps | |
from Crypto.Cipher import AES | |
from os import makedirs | |
from os.path import join, exists, dirname | |
from zipfile import ZipFile | |
from io import BytesIO |