Giter Site home page Giter Site logo

Comments (10)

wholegale39 avatar wholegale39 commented on June 8, 2024 3

Or, use command arguments:

-n: [Optional] Specify target process name, when spawn mode, it requires an application package name. If not specified, use frontmost application.
-p: [Optional] Specify pid when multiprocess. If not specified, dump all.
-f: [Optional] Use spawn mode, default is disable.
-s: [Optional] When spawn mode, start dump work after sleep few seconds. default is 10s.
-d: [Optional] Enable deep search maybe detected more dex, but speed will be slower.
-h: show help.

但是运行frida-dexdump提示命令不存在,需要怎么操作?望大佬解答一下

from frida-dexdump.

wholegale39 avatar wholegale39 commented on June 8, 2024

我这边APP加固后是双进程,运行python main.py后也是提示frida.PermissionDeniedError: unable to access process with pid 14667 due to system restrictions; try sudo sysctl kernel.yama.ptrace_scope=0, or run Frida as root

有什么办法可以Or, use command arguments这种方式?

from frida-dexdump.

SuperYogurt avatar SuperYogurt commented on June 8, 2024

我这边APP加固后是双进程,运行python main.py后也是提示frida.PermissionDeniedError:由于系统限制,无法使用pid 14667访问进程;试试看sudo sysctl kernel.yama.ptrace_scope=0,或者以root身份运行Frida

有什么办法可以,或者使用命令参数这种方式?

一样360加固,因该是自己fork了一个子进程。脱壳的话可以用其他方法

from frida-dexdump.

hluwa avatar hluwa commented on June 8, 2024

@wholegale39 python main.py -n com.xxxx.xxx -f

from frida-dexdump.

wholegale39 avatar wholegale39 commented on June 8, 2024

@wholegale39 python main.py -n com.xxxx.xxx -f

感谢,试了上述方法python main.py -p PID可以dump出加固后守护进程dex,不过这里面没有太多业务逻辑,尝试python main.py -p PID业务主进程,就提示return Session(self._impl.attach(self._pid_of(target)))
frida.PermissionDeniedError: unable to access process with pid 31708 due to system restrictions; try sudo sysctl kernel.yama.ptrace_scope=0, or run Frida as root

from frida-dexdump.

towy avatar towy commented on June 8, 2024

工具是不是没用了用真机也这样显示

from frida-dexdump.

SuperYogurt avatar SuperYogurt commented on June 8, 2024

工具是不是没用了用真机也这样显示

你可以尝试切换frida 的版本。我最后就是这样解决的

from frida-dexdump.

vividmuse avatar vividmuse commented on June 8, 2024

@wholegale39 python main.py -n com.xxxx.xxx -f

加了-f后还是提示(即便时间设置为1s) frida.PermissionDeniedError: 不启动app的情况下 python main.py -n com.xxxx.xxx [Except] - Unable to inject into process: Cannot found process in
File "main.py", line 161, in choose
raise Exception("Cannot found <{}> process".format(pid)) 提示这个错误

from frida-dexdump.

machao629 avatar machao629 commented on June 8, 2024

这个问题有解决方案吗

from frida-dexdump.

machao629 avatar machao629 commented on June 8, 2024

各位大佬

from frida-dexdump.

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.