Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tacesrever/frida-tsplugin
typescript autocomplete plugin for frida's java warpper
https://github.com/tacesrever/frida-tsplugin
Last synced: about 1 month ago
JSON representation
typescript autocomplete plugin for frida's java warpper
- Host: GitHub
- URL: https://github.com/tacesrever/frida-tsplugin
- Owner: tacesrever
- License: mit
- Created: 2020-03-29T20:38:40.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-02-18T10:31:27.000Z (10 months ago)
- Last Synced: 2024-08-01T17:35:38.847Z (4 months ago)
- Language: JavaScript
- Size: 141 KB
- Stars: 35
- Watchers: 3
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hacking-lists - tacesrever/frida-tsplugin - typescript autocomplete plugin for frida's java warpper (JavaScript)
README
# frida-tsplugin
AutoComplete plugin for frida's java warpper.![](./example.png)
# Usage
## install
```
$ git clone https://github.com/tacesrever/frida-tsplugin.git
$ cd frida-tsplugin
$ npm install
```
## load
with frida ^14.0.0:
```
$ frida -U -l agent/tsplugin.js target
$ adb forward tcp:28042 tcp:28042
```
or you can edit the port in agent/tsplugin.ts and compile it by frida-compile.add plugin in `frida-agent-example/tsconfig.json` after setup [frida-agent-example](https://github.com/oleavr/frida-agent-example):
```
{
"compilerOptions": {
...
,
"plugins": [{
"name": path to tsplugin,
"host"?: ip of target device, default is "127.0.0.1"(use adb forward tcp:port tcp:port)
"port"?: listen port in tsplugin.ts, default is 28042
"logfile"?: path to logfile
}]
}
}
```
## debugif nothing happen after load, you can:
- Ensure plugin is loaded
> set logfile path mentioned above, if the logfile didn't created, the plugin may fail to load.
> press F1, type 'Ty' then click Typescript: Open TS Server log, find 'frida-tsplugin' to see if plguin load sucessed.
>
- Ensure frida-tsplugin's typescript version same as vscode's.
> check typescript version in vscode's install dir `Microsoft VS Code( Insiders)/resources/app/extensions/node_modules/typescript/package.json` and in frida-tsplugin/package.json's dependencies, if not same, you should run `npm i typescript@version from vscode` then `tsc -p .` under frida-tsplugin.
- Ensure agent service is on
> open http://127.0.0.1:28042/getJavaClassInfo?className=java.lang.String to see if any content. The target app may need be in the foreground with phone's screen on for service to response.