frida debug tools

Related tags

Miscellaneous fd
Overview

fd windows下frida的调试工具 (单 exe,不需要python和nodejs)

现在他只支持USB

english click here

预编译的二进制文件在这里下载

支持列表:

  • 创建一个基于 frida-agent-example的typescript工程(拥有完美的智能提示)
  • 使用webstorm进行调试,就像在开发一样,运行,暂停,打印消息
  • 编译脚本为byte code(可以加速,或者加密?)
  • 显示所有app列表
  • 显示所有进程列表
  • 一键导出api为http或者grpc接口来调用

创建frida工程

create frida-agent-example

cd ~/src
fd create myfrida
cd myfrida
npm install
fd run _agent.js -name 通讯录

运行js到设备

run _agent.js -name 通讯录

cd ~/src
fd create myfrida
cd myfrida
npm install
webstorm run _agent.js
Run/Debug Configurations 
1.replace Node interpreter to fd
2.set Node parameters "run"
3.set Application parameters "-name 通讯录"
4.Now it's working properly

run (webstorm debug,It's like development engineering)

![](gif/run.gif

下载文件例子:

send({"type":"download","filename":"dd","append":true},new Uint8Array([0x01]).buffer)
cd ~/src
fd create myfrida
cd myfrida
npm install
fd run _agent.js -name 通讯录

编译脚本到byte

compile _agent.js -name 通讯录

cd ~/src
fd create myfrida
cd myfrida
npm install
fd compile _agent.js -name 通讯录
New file _agent.compile.js appears in the current directory

列出所有设备上的application

lsapp

fd lsapp
All applications are now listed

列出设备上所有ps

lsps

fd lsapp
All process are now listed

导出api到http或grpc

api (export api to http/grpc)

fd api api.js -name 通讯录 -address :8080
Now you can call the API in a format like the following


POST /call HTTP/1.1
Host: localhost:8081
User-Agent: Charles/4.6.1
Content-Type: text/json
Content-Length: 63

{
    "func":"add",
    "args":[1,2],
    "timeout":"30s"
}
ret:
{
	"code": 0,
	"msg": "操作成功",
	"data": 3
}

运行帮助

fd --help

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

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

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

============== 列出所有application 使用方法:lsapp

============== 列出所有进程 使用方法:lsps

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

    [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

    opened by xiaokanghub 2
  • Fix macOS

    Fix macOS "bad file descriptor" issue (empty files)

    On macOS the "O_WRONLY" flag is needed. If O_CREATE is used only, the "info.F.Write(data)" function returns error code "bad file descriptor" and the files created remain empty.

    opened by Thireus 0
  • 同样环境,其中一个app报错

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

    正常

    ./fd_macos bagbak com.ss.ios.auto                                                                                                                                                      [email protected]
    内核平台: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                                                                                                                                                  [email protected]
    内核平台:darwin cpu构架:arm64 当前系统:ios(14.2)  设备名称:iPhone888 权限:jailed
    Error reading data from TLS socket: The connection is broken
    
    opened by hello--world 0
Releases(15.1.21)
CapMonsterTool is a set of Go tools designed to simply make requests to the CapMonster Cloud API.

✨ CapMonsterTool ✨ About this module What is ✨ CapMonsterTool ✨ ? CapMonsterTool is a set of Go tools designed to simply make requests to the CapMonst

Louis Billaut 19 Jun 29, 2022
Go package providing tools for working with Library of Congress data.

go-libraryofcongress Go package providing tools for working with Library of Congress data. Documentation Tools $> make cli go build -mod vendor -o bin

San Francisco International Airport Museum 6 Jul 11, 2022
Tools created for my OSCP preparation

goscp Set of tools created during my OSCP preparation. They include: gosheller - terminal based interface for cmdasp.aspx webshell. It provides intera

null 2 Dec 3, 2021
API and a set of tools to manage Netbox configuration declaratively

declarative-netbox An experimental project to explore the idea of managing the N

Michael Kashin 17 Jan 24, 2022
Generic tools for go 1.18+

Gtools Generic tools for go 1.18+ FT (func tools) Provide func tools over iterators Iterators for functions like Filter, Map, Reduce, etc solve 3 main

null 1 Jan 12, 2022
Mixin-sticker - Mixin sticker tools for golang

mixin-sticker mixin sticker bot spider python3 spider.py usage: spider.py [-h] [

touge 1 Jan 4, 2022
Gosfdc module - a collection of packages containing the data structures from the various Salesforce APIs and Tools

Gosfdc module - a collection of packages containing the data structures from the various Salesforce APIs and Tools

Rodolphe Blancho 0 Jan 21, 2022
An interactive menu for Magisk's module installer with tools to alter Android

JD's Toolbox I'll update this with some details later, just getting the source code out for now... LICENSE The source code for JD's Toolbox is release

null 1 Jan 24, 2022
Various Dungeons and Dragons Tools. Written in go as an aid to learning the language.

dnd_tools Various Dungeons and Dragons Tools. Written in go as an aid to learning the language. Some tools are generic, while others will target eithe

SREiously 0 Jan 28, 2022
Set of scripts & tools for converting between numbers and major system encoded words.

major-system-converter Set of scripts & tools for converting between numbers and major system encoded words. Uses phonetics instead of letters to conv

null 4 Aug 9, 2022
siusiu (suite-suite harmonics) a suite used to manage the suite, designed to free penetration testing engineers from learning and using various security tools, reducing the time and effort spent by penetration testing engineers on installing tools, remembering how to use tools.

siusiu (suite-suite harmonics) a suite used to manage the suite, designed to free penetration testing engineers from learning and using various security tools, reducing the time and effort spent by penetration testing engineers on installing tools, remembering how to use tools.

Re 264 Aug 9, 2022
James is your butler and helps you to create, build, debug, test and run your Go projects

go-james James is your butler and helps you to create, build, debug, test and run your Go projects. When you often create new apps using Go, it quickl

Pieter Claerhout 53 Aug 1, 2022
Interact with Chromium-based browsers' debug port to view open tabs, installed extensions, and cookies

WhiteChocolateMacademiaNut Description Interacts with Chromium-based browsers' debug port to view open tabs, installed extensions, and cookies. Tested

Justin Bui 86 Aug 4, 2022
🔥 Continuous profiling platform — debug performance issues in your code!

Pyroscope is an open source continuous profiling platform.

Pyroscope 6.2k Aug 7, 2022
EGo lets you build, debug und run Go apps on Intel SGX - as simple as conventional Go programming!

EGo is a framework for building confidential apps in Go. Confidential apps run in always-encrypted and verifiable enclaves on Intel SGX-enabled ha

Edgeless Systems GmbH 322 Aug 1, 2022
EGo lets you build, debug und run Go apps on Intel SGX - as simple as conventional Go programming!

EGo lets you build, debug und run Go apps on Intel SGX - as simple as conventional Go programming!

Edgeless Systems GmbH 322 Aug 1, 2022
Debug Dockerized Go applications better

A tool that makes debugging of Dockerized Go applications super easy by enabling Debugger and Hot-Reload features, seamlessly. Installing go get -u gi

null 593 Aug 6, 2022
Very simple charts with some debug data for Go programs

debugcharts Go memory debug charts. This package uses Plotly chart library. It is open source and free for use. Installation go get -v -u github.com/m

Marko Kevac 477 Jul 25, 2022
Package gostackparse parses goroutines stack traces as produced by panic() or debug.Stack() at ~300 MiB/s.

gostackparse Package gostackparse parses goroutines stack traces as produced by panic() or debug.Stack() at ~300 MiB/s. Parsing this data can be usefu

Datadog, Inc. 76 Jul 25, 2022
Analyzer: debugcode finds debug codes

debugcode debugcode finds debug codes. builtinprint: finds calling builtin print or println. commentout: finds a commented out debug code without reas

GoStaticAnalysis 7 Aug 16, 2021
quick debug program running in the k8s pod

quick-debug English | 中文 What Problem To Solve As the k8s becomes more and more popular, most projects are deployed in k8s, and so is the development

Alan Wang 13 Apr 1, 2022
Peimports - based on golang's debug/pe this package gives quick access to the ordered imports of pe files with ordinal support

This code is almost entirely derived from the Go standard library's debug/pe package. It didn't provide access to ordinal based entries in the IAT and

Mike Wiacek 0 Jan 5, 2022
This script search print debug from PHP code.

go-php-print-debug This script search print debug from PHP code. Checking "print", "print_r", "var_dump", "var_export", "echo" as print debug. Exclude

kota oue 0 Jan 15, 2022
Gobby-cli - CLI application to debug gobby applications

go(bby) Interactive debugging tool for gobby applications Usage Coming soon™ Ins

Qwiri 0 Feb 8, 2022
Buildg: A tool to interactively debug Dockerfile

buildg: A tool to interactively debug Dockerfile buildg is a tool to interactively debug Dockerfile based on BuildKit. Source-level inspection Breakpo

Kohei Tokunaga 316 Aug 3, 2022
gNXI Tools - gRPC Network Management/Operations Interface Tools

gNxI Tools gNMI - gRPC Network Management Interface gNOI - gRPC Network Operations Interface A collection of tools for Network Management that use the

Google 218 Aug 9, 2022
Chanify is a safe and simple notification tools. This repository is command line tools for Chanify.

Chanify is a safe and simple notification tools. For developers, system administrators, and everyone can push notifications with API.

Chanify 897 Aug 5, 2022
Tools - This subrepository holds the source for various packages and tools that support

Go Tools This subrepository holds the source for various packages and tools that

Rohan 0 Jan 12, 2022
Go tools for audio processing & creation ?

GoAudio ? GoAudio is an audio processing library, currently supporting WAVE files, although some tools such as the synth and breakpoints are encoding

Dylan Meeus 240 Aug 5, 2022