qiucx 发表于 2021-2-8 21:45

frada如何过frida.get_remote_device().attach的错误

运行小米有品的时候,出现下面这错误,是不是有反frida代码?app没有壳,但是ak反编译还是有问题。

【开始hook - 安卓】 com.xiaomi.youpin
载入:utils.js
【开始Hook】.....


Traceback (most recent call last):
File "main.py", line 58, in <module>
    hk.hooking()
File "main.py", line 36, in hooking
    process = frida.get_remote_device().attach(self.arg)
File "C:\anaconda\lib\site-packages\frida\core.py", line 26, in wrapper
    return f(*args, **kwargs)
File "C:\anaconda\lib\site-packages\frida\core.py", line 156, in attach
    return Session(self._impl.attach(self._pid_of(target), *args, **kwargs))
File "C:\anaconda\lib\site-packages\frida\core.py", line 180, in _pid_of
    return self.get_process(target).pid
File "C:\anaconda\lib\site-packages\frida\core.py", line 26, in wrapper
    return f(*args, **kwargs)
File "C:\anaconda\lib\site-packages\frida\core.py", line 106, in get_process
    matching =
frida.TransportError: unexpected lack of content trying to read a line

漁滒 发表于 2021-2-8 23:56

这个APP我之前记得好像是有双进程保护的

syrmb 发表于 2021-2-9 02:09

这是要找啥参数
页: [1]
查看完整版本: frada如何过frida.get_remote_device().attach的错误