1、IDA Pro 7.5
2、Pixel 2 XL 安卓10
找到 IDA目录下的文件夹dbgsrv中的android_server,然后推到手机 /data/local/tmp目录
PS D:\IDA\dbgsrv> adb push .\android_server
/
data
local
tmp
.\android_server:
1
file
pushed,
0
skipped.
32.6
MB
s (
786868
bytes
in
0.023s
)
然后切换到对应目录,给予777权限并启动,android_server默认端口23946
PS C:\Users\Admin> adb shell
taimen:
$ su
# cd /data/local/tmp/
127
|taimen:
# chmod 777 android_server
重要:安卓
10
IDA Pro
7.5
要用这种方式启动android_server
# IDA_LIBC_PATH=/apex/com.android.runtime/lib/bionic/libc.so /data/local/tmp/android_server
IDA Android
32
-
bit remote debug server(ST) v7.
5.26
.
Hex
Rays (c)
2004
2020
Listening on
0.0
:
23946.
..
转发端口
PS C:\Users\Admin> adb forward tcp:
23946
tcp:
adb shell am start
D
n com.example.javandk1
.MainActivity
jdb
connect com.sun.jdi.SocketAttach:hostname
=
localhost,port
8600
接下来就可以动态调试了
console.log(
"wx:spiderskill"
欢迎大家前来交流
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课