Skip to content

Instantly share code, notes, and snippets.

View xtekky's full-sized avatar
🚩
final exams

Tekky xtekky

🚩
final exams
View GitHub Profile
@xtekky
xtekky / userinfo.py
Created June 19, 2022 22:07
Get Discord User info
import requests, json
token = 'DISCORD_USER_TOKEN'
ids = 'TARGET_ID'
response = requests.get(
url = f'https://discord.com/api/v9/users/{ids}',
headers = {
'authorization': token,
}
@xtekky
xtekky / hyperobf.py
Created June 20, 2022 00:59
Hyperion Obfuscator
#script made by Tekky#9999 | .gg/onlp
#obfuscation API made by billythegoat356 | .gg/plague
import requests, sys
class Obfuscator:
def __init__(self, clean, addbuiltins, shell, safemode, ultrasafemode):
self.addbuiltins = addbuiltins
self.clean = clean
import httpx, threading, time, random
config = {
"tokens": open("./tokens.txt", "r+").read().splitlines(),
"threads": 50,
"invite": "",
}
class Joiner:
import ssl
import socket
import OpenSSL
from difflib import SequenceMatcher
class SSLPinner:
def __init__(self, host):
self.host = host
import requests, re, json
url = "https://www.tiktok.com/@xtekky"
session = requests.Session()
headers = {
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Safari/537.36",
"cookie": "s_v_web_id=verify_l5ty4mso_8MIREfeF_mb4H_4ABM_88D4_QtL4OD1q1PIr"
}
__json = """{
"test": 123
}"""
max_index = 0
for x in __json.split("\n"):
index = x.find(":")
if index > max_index:
max_index = index
@xtekky
xtekky / tiktok_sessionid_gen.py
Created October 18, 2022 08:10
TikTok Sessid Gen
import requests, time, uuid
from urllib.parse import urlencode
def __get_sessid():
params = urlencode({
"scene" : "normal",
"os_api" : 25,
"device_type" : "SM-N976N",
"ssmix" : "a",
"dpi" : 320,
@xtekky
xtekky / tiktok_feed.py
Created October 18, 2022 08:24
TikTok Get Feed NO PROTOBUF
import requests, time, uuid
from urllib.parse import urlencode
def __get_feed(settings: dict, sessid: str):
params = urlencode({
**settings,
"os_api" : 25,
"device_type" : "SM-N976N",
"ssmix" : "a",
@xtekky
xtekky / aes.py
Created October 30, 2022 18:24
Python decrypt/encrypt aes with iv
import base64
import hashlib
from Crypto.Cipher import AES
class Aes(object):
def __init__(self, key: str, iv: str):
self.bs = AES.block_size
self.key = hashlib.sha256(key.encode()).digest()
self.iv = iv.encode()
@xtekky
xtekky / flask_boilerplate.py
Created November 3, 2022 19:57
Flask ready to go boilerplate
# by @io
import secrets
import os
from flask import (
Flask,
render_template,
send_file
)