Skip to content

Instantly share code, notes, and snippets.

angler/mda89d/uname.txt:Linux 3.10.73-g9b6596d
angler/mdb08k/uname.txt:Linux 3.10.73-gcf36678
angler/mdb08l/uname.txt:Linux 3.10.73-gcf36678
angler/mdb08m/uname.txt:Linux 3.10.73-gcf36678
angler/mhc19i/uname.txt:Linux 3.10.73-g3b5cc28
angler/mhc19q/uname.txt:Linux 3.10.73-g8c0675f
angler/mmb29m/uname.txt:Linux 3.10.73-g9741316
angler/mmb29n/uname.txt:Linux 3.10.73-g9741316
angler/mmb29p/uname.txt:Linux 3.10.73-g9741316
angler/mmb29q/uname.txt:Linux 3.10.73-gda330d0
@strazzere
strazzere / gist:506a592b44c9d228d697
Last active May 9, 2023 16:13
Attaching to fast loading JNI/native code from an Android app without debugging the Dalvik code
The original issue was that some applications (ex. packers) launch the JNI/native code too fast for a person
to attach an IDA Pro instance to the process. The original solution was wrapping the jni code with your own
"surrogate" application so you could load it slower.
New process is to launch the Android/Dalvik activity with the debugger flag;
# adb shell am start -D com.play.goo_w/com.android.netservice.MainActivity
Which will cause the "Waiting for debugger..." mode to start. This starts the process, allowing you to
attach IDA Pro to the process for the native code.
@nitaku
nitaku / README.md
Last active April 3, 2025 20:42
Minimal JSON HTTP server in python

A minimal HTTP server in python. It sends a JSON Hello World for GET requests, and echoes back JSON for POST requests.

python server.py 8009
Starting httpd on port 8009...
curl http://localhost:8009
{"received": "ok", "hello": "world"}
@flashlib
flashlib / RSA非对称数据加密算法使用示例
Created August 19, 2013 03:08
RSA非对称数据加密算法使用示例
#include <stdio.h>
#include <string.h>
#include <openssl/rsa.h>
#include <openssl/applink.c>
void print_buf_hex( unsigned char *buf, int len )
{
int i;
for( i = 0; i < len; i++ )