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"}
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 |
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. |
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"}
#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++ ) |