Skip to content

Instantly share code, notes, and snippets.

View wwhtrbbtt's full-sized avatar
🏠
Working from home

Peet wwhtrbbtt

🏠
Working from home
View GitHub Profile
const net = require('node:net');
const tls = require('node:tls');
const fs = require('node:fs');
const { Duplex } = require('node:stream');
const { Buffer } = require('node:buffer');
const createChannel = function () {
let promiseResolve;
let promise = new Promise((resolve) => {
promiseResolve = resolve;
@wwhtrbbtt
wwhtrbbtt / cloudflare-sha256-function.js
Created November 13, 2022 10:41
The SHA256 function taken from cloudflares bot protection, deobfuscated.
window.SHA256 = function (ay, aA, az) {
ay = (function (aD, aG, aF, aE) {
aD = aD.replace(/\r\n/g, '\n');
aE = '';
for (
aF = 0;
aF < aD.length;
aG = aD.charCodeAt(aF),
128 > aG
@wwhtrbbtt
wwhtrbbtt / Wifi TLS fingerprint sniffer.py
Created March 15, 2022 11:44
Sniffs "client hello" packets from wifis and displays the ja3 and server_name extension.
import logging
logging.getLogger("scapy.runtime").setLevel(logging.ERROR)
from scapy.all import *
import hashlib
load_layer("tls")
def md5(s):
@wwhtrbbtt
wwhtrbbtt / Go WASM.go
Created August 5, 2021 11:54
Golang web assembly program that utilizes AES encryption.
package main
import (
"crypto/aes"
"crypto/cipher"
"crypto/rand"
"encoding/hex"
"fmt"
"io"
random "math/rand"
# PoC of getting the profile picture of any gmail address
# go into developer settings => storage => cookies
# paste cookies
# set EMAIl to email that you want to lookup
# enjoy
import requests
import time
import hashlib
@wwhtrbbtt
wwhtrbbtt / GetNameMCData.py
Created June 28, 2021 20:15
A small script to exploit discord embeds to get data about a name from NameMC.
import discord
import asyncio
from threading import Thread
from discord_webhook import DiscordWebhook
from time import sleep
from flask import Flask, jsonify
from datetime import datetime
WEBHOOK = "<webhook>"
TOKEN = "<bot-token>"

(Unofficial) Tellonym.me API docs

Get data from profile

GET https://api.tellonym.me/profiles/name/{name}?limit=25&pos=1 (limit max: 30, pos: pagination)

New question (captcha protected)

POST https://api.tellonym.me/tells/new

import sys
import json
file = "file.ipynb"
with open(file, "r") as f:
raw = f.read()
lines = []
try:
from random import choice
from time import sleep
from os import system
class Game():
def __init__(self, width=50, height=50, timeBetweenGenerations=0.1) -> None:
self.width = width
self.height = height