dictionary_compact.json: https://github.com/matthewreagan/WebstersEnglishDictionary/blob/master/dictionary_compact.json
$ pip install rich
from io import BytesIO | |
class BitStream: | |
def __init__(self, data: BytesIO): | |
self.data = data | |
self.buffer = 0 | |
self.index = 0 | |
self.data.seek(0) |
import traceback | |
from collections import defaultdict | |
from dataclasses import dataclass | |
from enum import Enum, auto | |
from hydrogram import Client, filters, raw | |
from hydrogram.raw.base import RequestPeerType, Update | |
from hydrogram.raw.types import ( | |
KeyboardButtonRequestPeer, | |
MessageService, |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Ripple</title> | |
</head> | |
<body> | |
<style> | |
button { |
dictionary_compact.json: https://github.com/matthewreagan/WebstersEnglishDictionary/blob/master/dictionary_compact.json
$ pip install rich
import asyncio | |
import traceback | |
from dataclasses import dataclass | |
from collections import defaultdict | |
from typing import Coroutine, TypeVar | |
from pyrogram import Client, filters | |
from pyrogram.types import Message | |
Idea from https://youtu.be/9IULfQH7E90
// Thanks to https://ackcent.com/recovering-sqlcipher-encrypted-data-with-frida/ | |
// frida -U -l sqlcipher_dump.js -f me.lam.calculatorvault | |
Java.perform(function() { | |
function dumpDb(File, db, path) { | |
var file = File.$new(path + ".plaintext"); | |
file.delete(); | |
db.rawExecSQL("ATTACH DATABASE '" + path + ".plaintext' AS plaintext KEY '';SELECT sqlcipher_export('plaintext');DETACH DATABASE plaintext;"); | |
console.warn("\t[+] Dumped plaintext database at " + path + ".plaintext"); | |
} |
import json | |
import shutil | |
import zipfile | |
import traceback | |
import ffmpeg | |
import requests | |
from typing import List | |
from pathlib import Path | |
from apnggif import apnggif |
debug: | |
gcc -o main --std=c99 -Wall -Wextra -Werror -pedantic -g main.c && gdb ./main | |
run: | |
gcc -o main --std=c99 -Wall -Wextra -Werror -pedantic main.c && ./main |
import sys | |
import gzip | |
import json | |
if len(sys.argv) < 3: | |
print("Wrong args. Usage: python speed.py file.tgs 150%") | |
sticker = json.load(gzip.open(sys.argv[1])) | |
stretch = 100 / float(sys.argv[2].strip(" %")) |