Skip to content

Instantly share code, notes, and snippets.

View Hashtag-AMIN's full-sized avatar
🦅
Learning

Hashtag_AMIN Hashtag-AMIN

🦅
Learning
View GitHub Profile
@Hashtag-AMIN
Hashtag-AMIN / RootBeerNative-universal-Bypass.js
Created August 28, 2025 19:34
ByPass universal Root detection RootBeer for hooking with frida
Java.perform(function () {
var rootBeerNative = Java.use("com.scottyab.rootbeer.RootBeerNative");
rootBeerNative.checkForRoot.implementation = function(objArr) {
return 0
}
})
// adb shell pm list package -3 ==> find third party app(app.name) for hook
// frida -U -l .\RootBeerNative-universal-Bypass.js -f app.name
@Hashtag-AMIN
Hashtag-AMIN / Restart_Tor.py
Last active August 28, 2025 19:35
Restart Tor service for get new IP Address
import subprocess, sys, time
def restart_tor():
try:
if 'linux' in sys.platform:
subprocess.run(['systemctl', 'restart', 'tor'], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, check=True)
elif 'win32'in sys.platform:
subprocess.run(['sc', 'stop', 'tor'], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, check=True)
time.sleep(0.5)