摘要: Q: I don't understand why my exploit is not working. I need your help. download : http://pwnable.kr/bin/wtf download : http://pwnable.kr/bin/wtf.py Ru 阅读全文
posted @ 2018-04-10 06:43 jeremyatchina 阅读(575) 评论(0) 推荐(0) 编辑
摘要: On Android phone set follow fork mode [parent|child] On PC `~/utils/android ndk r12b/prebuilt/linux x86_64/bin/gdb q ex "target remote :8888" ex "sour 阅读全文
posted @ 2017-12-26 11:39 jeremyatchina 阅读(170) 评论(0) 推荐(0) 编辑
摘要: To resolve this issue you can add Defaults env_keep += "http_proxy https_proxy" to your /etc/sudoers file in order to keep those variables when switch 阅读全文
posted @ 2017-12-26 11:37 jeremyatchina 阅读(130) 评论(0) 推荐(0) 编辑
摘要: `adb shell "su c 'cat /proc/kmsg'" | tee kernel.log` `adb shell su c "echo 0 /proc/sys/kernel/kptr_restrict"` 阅读全文
posted @ 2017-12-26 11:36 jeremyatchina 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 1. Downloading toolchain and setup. git clone https://android.googlesource.com/platform/prebuilts/gcc/linux x86/arm/arm eabi 4.7/ 2. Downloading kerne 阅读全文
posted @ 2017-12-26 11:33 jeremyatchina 阅读(193) 评论(0) 推荐(0) 编辑
摘要: Prerequisites Assuming that we already downloaded the android ndk r12b and sdk. w4118@w4118:~/utils$ ls android ndk r12b android sdk linux bin goldfis 阅读全文
posted @ 2017-12-26 11:29 jeremyatchina 阅读(857) 评论(0) 推荐(0) 编辑
摘要: UAF due to using hlist_add_behind() without checking. There is a pair locker(mutex_lock) at delete_note(), but isn’t at edit_note_time(). And it doesn 阅读全文
posted @ 2017-04-07 22:11 jeremyatchina 阅读(826) 评论(0) 推荐(0) 编辑
摘要: 簡單寫一下思路 這個東西需要namespace方面的支援, 首先open socket , 一連串路徑(packet_set_ring()->init_prb_bdqc()->prb_setup_retire_blk_timer()->prb_init_blk_timer()->prb_init_b 阅读全文
posted @ 2016-12-22 01:21 jeremyatchina 阅读(640) 评论(0) 推荐(0) 编辑
摘要: 在编译中要加 -lpthread或-pthread参数(不同版本的gcc可能不一样,man gcc可以查阅对应参数)。 例如:在加了头文件#include <pthread.h>之后执行 pthread.c文件,需要使用如下命令: gcc -lpthread -o thread thread.c 或 阅读全文
posted @ 2016-10-21 17:13 jeremyatchina 阅读(249) 评论(0) 推荐(0) 编辑
摘要: // <![CDATA[ #include <stdio.h> #include <stdlib.h> typedef union data { unsigned long vi; double vd; } data; void main() { data a; a.vd = 22.0; print 阅读全文
posted @ 2016-09-27 23:32 jeremyatchina 阅读(137) 评论(0) 推荐(0) 编辑