Skip to content

Instantly share code, notes, and snippets.

View 0x1881's full-sized avatar
🎯
Focusing

Mehmet Can ÜSTÜL 0x1881

🎯
Focusing
View GitHub Profile
@0x1881
0x1881 / torhasher.py
Created October 20, 2022 13:27 — forked from james-see/torhasher.py
create a hashed password for control port setting in torrc HashedControlPassword line easily with this
import os, binascii, hashlib
#supply password
secret = 'your password here you want to use' # all you need to change!
#static 'count' value later referenced as "c"
indicator = chr(96)
#used to generate salt
rng = os.urandom
#Hooking SafetyNet stuff for fun (no profit tho :( )
#Several Functions just uncomment to use or modify :)
#by T31M
import frida
import sys
PACKAGE_NAME = "com.nianticlabs.pokemongo"
process = frida.get_usb_device().attach(PACKAGE_NAME)