Giter Site home page Giter Site logo

Comments (7)

zhengjim avatar zhengjim commented on August 23, 2024

adb shell进去看下 frida-server服务还在嘛?

from camille.

shen771 avatar shen771 commented on August 23, 2024

frida-server在的,magisk的hide也关掉了

from camille.

zhengjim avatar zhengjim commented on August 23, 2024

那直接在目录下运行这个能hook嘛?
frida -U -l script.js -f com.tencent.mm --no-pause

from camille.

shen771 avatar shen771 commented on August 23, 2024

可以的,屏幕上微信也启动了

$ frida -U -l script.js -f com.tencent.mm --no-pause
____
/ _ | Frida 15.1.1 - A world-class dynamic instrumentation toolkit
| (| |
> _ | Commands:
/
/ |_| help -> Displays the help system
. . . . object? -> Display information about 'object'
. . . . exit/quit -> Exit
. . . .
. . . . More info at https://frida.re/docs/home/
Spawning com.tencent.mm...
Spawned com.tencent.mm. Resuming main thread!
[Pixel::com.tencent.mm]->

from camille.

zhengjim avatar zhengjim commented on August 23, 2024

那应该没问题才对,有点奇怪。或者你试试创建个py文件。

import frida

print(frida.get_local_device())
print(frida.get_usb_device())
print(frida.get_remote_device())

运行下看看这些值。

from camille.

shen771 avatar shen771 commented on August 23, 2024

$ python test.py com.tencent.mm -t 3
Device(id="local", name="Local System", type='local')
Traceback (most recent call last):
File "C:\Users\admin\camille\test.py", line 4, in
print(frida.get_usb_device())
File "C:\Users\admin\AppData\Roaming\Python\Python39\site-packages\frida_init_.py", line 89, in get_usb_device
return get_device_matching(lambda d: d.type == 'usb', timeout, **kwargs)
File "C:\Users\admin\AppData\Roaming\Python\Python39\site-packages\frida_init_.py", line 97, in get_device_matching
return get_device_manager().get_device_matching(predicate, timeout, **kwargs)
File "C:\Users\admin\AppData\Roaming\Python\Python39\site-packages\frida\core.py", line 26, in wrapper
return f(*args, **kwargs)
File "C:\Users\admin\AppData\Roaming\Python\Python39\site-packages\frida\core.py", line 58, in get_device_matching
return Device(self._impl.get_device_matching(lambda d: predicate(Device(d)), raw_timeout))
frida.InvalidArgumentError: device not found

from camille.

zhengjim avatar zhengjim commented on August 23, 2024

你将程序106行的get_usb_device 换成get_remote_device试试 。或者改get_usb_device(timeout= 1000)。

from camille.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.