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 dataclasses | |
| import enum | |
| import getpass | |
| import secrets | |
| import struct | |
| class AuthenticationFailure(ValueError): | |
| """Wrong password.""" |
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/python3 -B | |
| #coding:ascii | |
| # SG Version: 1.0.1.0 | |
| ######################################################### | |
| # # | |
| # Update this and run with "-U" flag to upgrade # | |
| \ | |
| ELASTIC_VERSION = '7.15.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
| import ast | |
| import math | |
| import cmath | |
| import itertools | |
| import functools | |
| import statistics | |
| import tkinter as tk |
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 os | |
| import getpass | |
| import datetime | |
| from cryptography import x509 | |
| from cryptography.x509.oid import NameOID | |
| from cryptography.hazmat.primitives import hashes | |
| from cryptography.hazmat.primitives import serialization |
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
| #!python3.8 | |
| # NOTE: This version is incomplete and will refuse to run properly. See previous version for stable, working code. | |
| import csv | |
| import mmap | |
| import time | |
| import shutil |
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 mmap | |
| from pathlib import Path | |
| from functools import partial | |
| from hashlib import blake2b as _blake2b # BLAKE is faster than SHA! | |
| #from hashlib import sha256 | |
| HASH_SIZE = 16 | |
| HASH_FUNCTION = partial(_blake2b, digest_size=HASH_SIZE) |
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 itertools | |
| import tkinter as tk | |
| class Tile(tk.Label): | |
| default = ' ' | |
| def __init__(self, master=None, **kwargs): | |
| super().__init__(master, **kwargs) | |
| self.config( |
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.8 | |
| import sqlite3 | |
| import itertools | |
| import threading | |
| import webbrowser | |
| from pathlib import Path | |
| from functools import partial |
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 secrets | |
| import hashlib | |
| import tkinter as tk | |
| from tkinter.ttk import Progressbar | |
| import concurrent.futures | |
| def scrypt(pw, salt=None): | |
| assert isinstance(pw, bytes) | |
| if salt is None: |
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
| #!python3.8 | |
| import math | |
| import random | |
| import secrets | |
| import itertools | |
| import threading | |
| import functools | |
| from types import SimpleNamespace |