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 string | |
| import hashlib | |
| import dataclasses | |
| CHAR_POOL = ( | |
| string.ascii_lowercase + | |
| string.ascii_uppercase + | |
| string.digits + | |
| "~!@#$%^&*()_-=+{}[]|;:'<>?/" |
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 | |
| # ssl.py doesn't use SNI by default for some reason, which can | |
| # cause some people to be confused when the certificate-getting | |
| # function returns an erroneous certificate sometimes. | |
| # | |
| # This patch changes the original code in ssl.py: | |
| # | |
| # with create_connection(addr) as sock: # yes, your file has a double space too. |
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 os | |
| import sys | |
| import time | |
| import asyncio | |
| import tempfile | |
| import threading | |
| import functools | |
| import contextlib |
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 os | |
| import sys | |
| import random | |
| import requests | |
| from bs4 import BeautifulSoup | |
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 random | |
| import functools | |
| from tkinter import * | |
| from tkinter.ttk import * | |
| from tkinter.scrolledtext import ScrolledText | |
| a = '''A:Α | |
| a:а |
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 gzip | |
| import base64 | |
| import hashlib | |
| import secrets | |
| import itertools | |
| MORSE_CODE = { | |
| 'A':'.-', 'B':'-...', | |
| 'C':'-.-.', 'D':'-..', 'E':'.', |
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 os | |
| import re | |
| import shlex | |
| import string | |
| import zipfile | |
| import argparse | |
| import subprocess | |
| from pathlib import Path |
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 | |
| import sqlite3 | |
| import secrets | |
| from hmac import compare_digest | |
| from functools import partial, wraps | |
| from cryptography.hazmat.primitives.ciphers.aead import AESGCM | |
| from cryptography.hazmat.primitives.kdf.scrypt import Scrypt | |
| from cryptography.hazmat.backends import default_backend |
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 asyncio | |
| from functools import partial | |
| PORTS = (1234, 4321, 54321, 12345) | |
| async def handle_socket(output_queue, reader, writer): | |
| try: | |
| addr = writer.get_extra_info('peername') |
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 os | |
| import sys | |
| import datetime | |
| from functools import partial | |
| from socket import gaierror, timeout | |
| import bs4 |