Skip to content

Instantly share code, notes, and snippets.

View brnoleal's full-sized avatar

Bruno Leal brnoleal

View GitHub Profile
https://brnoleal.notion.site/Android-Tools-CLI-09cbc53ac3ed4119bf3cbf1c8b3952c7
/*
Made By @ApkUnpacker on 29-6-2022
Uploaded on 3-7-2022 ( so i can remember that i faced 4 days internet ban in my area and in free time made this. lol)
*/
var ProName = ProcessName();
function ProcessName() {
var openPtr = Module.getExportByName('libc.so', 'open');
var open = new NativeFunction(openPtr, 'int', ['pointer', 'int']);
var readPtr = Module.getExportByName('libc.so', 'read');
var read = new NativeFunction(readPtr, 'int', ['int', 'pointer', 'int']);
/* Android ssl certificate pinning bypass script for various methods
by Maurizio Siddu
Run with:
frida -U -f [APP_ID] -l frida_multiple_unpinning.js --no-pause
*/
setTimeout(function() {
Java.perform(function() {
console.log('');
########### Android Certificate ###########
## Create and send a new root certificate to android
openssl x509 -inform DER -in cacert.der -out cacert.pem
subject_hash_id=$(openssl x509 -inform PEM -subject_hash_old -in cacert.pem | head -1)
cp cacert.pem $subject_hash_id.0
adb root
adb shell "su 0 -c mount -o rw,remount /"
Adb
ADB = Android Debug Bridge
It's a software-interface for the android system, which can be used to connect an android device with a computer using an USB cable or a wireless connection. It can be used to execute commands on the phone or transfer data between the device and the computer.
The tool is part of the Android SDK (Android Software Development Kit) and is located in the subdirectory platform-tools.
adb help // List all comands
Adb Server
@brnoleal
brnoleal / SimpleHTTPServerWithUpload.py
Created June 14, 2022 13:30 — forked from touilleMan/SimpleHTTPServerWithUpload.py
Simple Python Http Server with Upload - Python3 version
#!/usr/bin/env python3
"""Simple HTTP Server With Upload.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
see: https://gist.github.com/UniIsland/3346170
"""

Keybase proof

I hereby claim:

  • I am bfleal on github.
  • I am brunoleal (https://keybase.io/brunoleal) on keybase.
  • I have a public key whose fingerprint is C109 3FD9 205B 54BC 1CDA A629 2259 CDD9 FEFB 7512

To claim this, I am signing this object: