Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

12 total results found

Reverse engineering

I will place some of my RE knowledge here

LLDB

LLDB
Reverse Engineering
RE
ARM

Android

Windows

ADB cheatsheet

Android

LLDB

Android

BAT Cheatsheet

Windows

Cheat sheet

LLDB

Basic commands Command Example Comment re re re wr Read the registers Write to registers b  b 0x00000076cb964ed0 b libc.so`sendto breakpoint set -s libc.so -n send setting up a breakpoint watchpoint `w s e -s 1...

Get Foreground Activity

Android ADB cheatsheet

inside a .bat file: @adb shell "dumpsys activity activities | grep ResumedActivity"@adb shell "dumpsys activity | grep mCurrentFocus"@adb shell "dumpsys activity top | grep 'ACTIVITY' | tail -n 1"

LLDB Initialization

Android LLDB

Example of a script to run LLDB on remote android server, receives an argument - process name (can also be package name) @echo ========Pushing lldb-server to target========@adb push <PATH_TO: lldb-server>@adb shell "ls -al /data/local/tmp/lldb-server"@adb s...

Using FOR command to extract PID from TASKLIST

Windows BAT Cheatsheet

Put this in a .bat file, and you could use it like that:BAT_FILE.bat <PROCESS_NAME> <COMMAND> for /F "tokens=2,* delims=, " %%i IN ('tasklist ^| findstr %1') DO <MY_COMMAND> %%i %2 This is useful when writing an injector, and looking to inject to a s...

Run tcpdump and forward to wireshark

Android ADB cheatsheet

From a linux (WSL) host adb shell su -c "tcpdump -U -w - " | "C:\Program Files\Wireshark\Wireshark.exe" -k -i -   From a windows machine, SSH to a WSL host, which is connected to the Android Phone   plink -ssh -l <USER> -pw "<PASSWORD>" -batch <HOST> "a...