usage: frida [options] target
positional arguments:
args extra arguments and/or target
options:
-h, --help 展示参数解释(帮助)
-D ID, --device ID 通过设备ID连接
-U, --usb 连接USB设备
-R, --remote 连接远程 frida-server
-H HOST, --host HOST 通过HOST连接远程frida-server
--certificate CERTIFICATE
TLS证书文件路径
--origin ORIGIN 设置 header 为“Origin”来连接远程frida-server
--token TOKEN authenticate with HOST using TOKEN
--keepalive-interval INTERVAL
set keepalive interval in seconds, or 0 to disable (defaults to -1 to auto-select based on
transport)--p2p 与目标建立点对点连接
--stun-server ADDRESS
set STUN server ADDRESS to use with --p2p--relay address,username,password,turn-{udp,tcp,tls}add relay to use with --p2p-f TARGET, --file TARGET
指定app包名
-F, --attach-frontmost
连接当前打开的app
-n NAME, --attach-name NAME
attach to NAME
-N IDENTIFIER, --attach-identifier IDENTIFIER
attach to IDENTIFIER
-p PID, --attach-pid PID
attach to PID
-W PATTERN, --await PATTERN
await spawn matching PATTERN
--stdio{inherit,pipe}
stdio behavior when spawning (defaults to “inherit”)--aux option set aux option when spawning, such as “uid=(int)42” (supported types are: string, bool, int)--realm{native,emulated}
realm to attach in--runtime{qjs,v8} script runtime to use
--debugenable the Node.js compatible script debugger
--squelch-crash if enabled, will not dump crash report to console
-O FILE, --options-file FILE
text file containing additional command line options
--version show program`s version number and exit-l SCRIPT, --load SCRIPT
load SCRIPT
-P PARAMETERS_JSON, --parameters PARAMETERS_JSON
parameters as JSON, same as Gadget
-C USER_CMODULE, --cmodule USER_CMODULE
load CMODULE
--toolchain{any,internal,external}
CModule toolchain to use when compiling from source code
-c CODESHARE_URI, --codeshare CODESHARE_URI
load CODESHARE_URI
-e CODE, --eval CODE evaluate CODE
-q quiet mode (no prompt) and quit after -l and -e-t TIMEOUT, --timeout TIMEOUT
seconds to wait before terminating in quiet mode
--pause leave main thread paused after spawning program
-o LOGFILE, --output LOGFILE
output to log file--eternalize eternalize the script before exit
--exit-on-error exit with code 1 after encountering any exception in the SCRIPT
--kill-on-exit kill the spawned program when Frida exits
--auto-perform wrap entered code with Java.perform
--auto-reload Enable auto reload of provided scripts and c module (on by default, will be required in the
future)
--no-auto-reload Disable auto reload of provided scripts and c module