任意进程可调试

iOS逆向期间:

  • 想要实现:任意进程可调试

    • 否则,Xcode去调试,就会报错:

      Could not attach to pid : xxx
      
      attach failed (Not allowed to attach to process.  Look in the console messages (Console.app), near the debugserver entries, when the attach failed.  The subsystem that denied the attach permission will likely have logged an informative message about why it was denied.)
      
      • xcode_not_allowed_attach
  • 方法
    • 概述
      • 全局
        • 部分越狱工具越狱后,系统全局自动支持app可调式
          • 部分机型用unc0ver越狱后,自带:app可调式
          • A12+的机型,用XinaA15越狱后,自带:app可调式
        • 借助于插件实现
          • XcodeRootDebug
            • 前提:已给debugserver加了可调试权限并重签名,并放到iPhone中对应位置
      • 针对特定app
        • 加可调试权限再(用codesign或ldid)重签名
        • jailbreakd_client加可调试权限
    • 详见

results matching ""

    No results matching ""