Giter VIP home page Giter VIP logo

fd-back's Introduction

fd

简要介绍

  • English can use chrome translation or click english doc
  • frida 运行时(不需要python,只有单一个文件)
  • fd 使用fd前请确认手机上有frida-server
  • **优雅的使用webstorm开发(拥有智能完美的智能提示,内置了一些调试库) **
  • **支持资源嵌入,CModule嵌入 **

a brief introdction

  • frida runtime (no python required, only a single file)
  • fd need you phone require frida-server

什么是frida:

  • 世界顶级全平台逆向动态调试框架
  • 使用javascript脚本动态hook,trace本机指令
  • 详细文档地址: https://frida.re/

什么是fd:

  • 单文件的frida运行时(客户端),他不需要python和nodejs支持,使用golang开发
  • 主要作为frida运行时使用,例如导出api
  • fd支持 远程主机,指定devi,frida中的-H功能,相信查看文档阅读图文教程
  • fd内置了ios脱壳工具bagbak,详细查看文档阅读图文教程
  • fd 支持在webstorm中直接开发,详细查看文档阅读图文教程
  • fd 支持 api 一键导出http接口 详细查看文档阅读图文教程

开始使用

  • ios脱壳:

1. 打开 Cydia 
2. 添加软件源: https://build.frida.re
3. 搜索: frida 并且安装
4. 根据系统下载fd: https://github.com/a97077088/fd/releases
5. 数据线链接到电脑
6. fd bagbak 通讯录 //通讯录需要手动打开并且置于前台,fd仅以附加模式工作
7. 或者: fd bagbak com.apple.MobileAddressBook //通讯录需要手动打开并且置于前台,fd仅以附加模式工作
//Contacts.app现在出现在你的目录
  • 安卓显示所有app:

1. 打开 Magisk 
2. 安装: MagiskFrida
3. 根据系统下载fd: https://github.com/a97077088/fd/releases
4. 数据线链接到电脑
5. fd lsapp
//app列表应该显示在你的机器上
  • 显示本机所有进程:

1. 根据系统下载fd: https://github.com/a97077088/fd/releases
2. 数据线链接到电脑
3. fd lsps -devi=local
//ps列表应该显示在你的机器上
  • 使用webstorm开发:

1. 根据系统下载fd: https://github.com/a97077088/fd/releases
2. fd create testproject
3. cd myfrida
4.npm install
5.打开webstorm 点击:Run/Debug Configurations 
    1.设置 Node interpreter 为 fd
    2.设置 Node parameters "run"
    3.设置 Application parameters "-name 通讯录"
6.点击webstorm的运行按钮
//现在他就像在开发应用一样方便调试

fd具体功能

fd 使用了哪些框架:

  • 核心基础部分基于 frida 世界顶级全平台逆向动态调试框架 项目地址
  • 核心部分基于 frida-go 他是纯golang绑定的frida-core客户端 a97077088/frida-go
  • 跨平台动态库来自 [ying32/dylib],他兼容三个平台的动态库(https://github.com/ying32/dylib)
  • tempdll技术提取自 [ying32/govcl],这是一个强大的golang原生ui库
  • 使用google开发的 golang语言 开发

运行帮助

fd --help

============== 列出所有设备 使用方法:lsdev

============== 创建工程 使用方法:create pdir

============== 脚本调试 使用方法:run 1.js -name 通讯录
  -devi string
        设备
  -jsbyte
        是否使用编译过的js 字节码
  -name string
        调试进程名称,比如 通讯录,(lsps的结果中可以看到)
  -pid uint
        进程pid

============== 脚本编译 使用方法:compile 1.js -name 通讯录
  -devi string
        设备
  -name string
        app屏幕上看到的名字,比如 通讯录,(lsps的结果中可以看到)

============== 列出所有application 使用方法:lsapp
  -devi string
        设备

============== 列出所有进程 使用方法:lsps
  -devi string
        设备

============== api导出 使用方法:api 1.js -name 通讯录
  -address string
        接口监听地址 (default ":8080")
  -devi string
        设备
  -grpc
        导出grpc接口(暂时还不支持)
  -http
        导出http接口 (default true)
  -jsbyte
        是否使用编译过的js 字节码
  -name string
        app屏幕上看到的名字,比如 通讯录,(lsps的结果中可以看到)
  -path string
        api监听路径 (default "/call")

============== bagbak(ipa脱壳) 使用方法:bakbag 通讯录
  -devi string
        设备
  -pid uint
        进程id

fd-back's People

Contributors

aadog avatar dependabot[bot] avatar thireus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fd-back's Issues

脱壳速度极其慢

对于有大量小资源文件(1-10k size)的app,脱壳速度慢的无法忍受。
stdout 的原因?

同样环境,其中一个app报错

正常

./fd_macos bagbak com.ss.ios.auto                                                                                                                                                      apple@hellodeiPad
内核平台:darwin cpu构架:arm64 当前系统:ios(14.2)  设备名称:iPhone888 权限:jailed
2022/04/06 15:04:40 dump start
2022/04/06 15:04:40 preparer:
正在脱壳:AutoMobile.app/AutoMobile 大小:210M

错误

./fd_macos bagbak bitauto.application                                                                                                                                                  apple@hellodeiPad
内核平台:darwin cpu构架:arm64 当前系统:ios(14.2)  设备名称:iPhone888 权限:jailed
Error reading data from TLS socket: The connection is broken

Frida 16 不支持

Frida 16.0.1 MacOS

显示报错
Unable to communicate with remote frida-server; please ensure that major versions match and that the remote Frida has the feature you are trying to use

ios安装以后无法使用

14.3的越狱设备,是否有更详细的使用方法,我安装完以后使用手机的终端fd 他说fd不存在

[Windows 10]砸壳失败

Frida Version: 15.0.13
Python Version: 3.6
fd Version: 15.0.13
错误如下:
(base) E:\ReProject>fd bagbak 爱思极速版
内核平台:darwin cpu构架:arm64 当前系统:ios(12.4.8) 设备名称:iPhoneg 权限:jailed
Connection closed

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.