能力值:
( LV2,RANK:10 )
|
-
-
2 楼
问题补充:
进程注入的代码是下载libinject的代码,mmap附近的代码如下:
/* setting mmap parameters */
parameters[0] = 0; // addr
parameters[1] = 0x4000; // size
parameters[2] = PROT_READ | PROT_WRITE | PROT_EXEC; // prot
parameters[3] = MAP_ANONYMOUS | MAP_PRIVATE; // flags
parameters[4] = 0; //fd
parameters[5] = 0; //offset
printf( "[+] Calling mmap in target process.\n" );
ptrace_call(pid,(uint32_t)hook.remote_mmap,(uint32_t *)parameters,6,®s);
ptrace_getregs(pid,®s);
printf( "[+] Target process returned from mmap, return value=%x, pc=%x \n", regs.ARM_r0, regs.ARM_pc );
|
能力值:
( LV2,RANK:10 )
|
-
-
3 楼
解决了,程序本身没问题,问题出在su上A~~~~~~~
|
|
|