Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/strazzere/usb-accessory-gadget
Frida gadget for dumping traffic between an apk and usb device
https://github.com/strazzere/usb-accessory-gadget
Last synced: about 1 month ago
JSON representation
Frida gadget for dumping traffic between an apk and usb device
- Host: GitHub
- URL: https://github.com/strazzere/usb-accessory-gadget
- Owner: strazzere
- Created: 2022-07-19T22:53:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-27T20:11:08.000Z (about 2 years ago)
- Last Synced: 2024-08-02T01:18:18.120Z (4 months ago)
- Language: TypeScript
- Size: 83 KB
- Stars: 18
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-rainmana - strazzere/usb-accessory-gadget - Frida gadget for dumping traffic between an apk and usb device (TypeScript)
README
# Usb-Accessory-Gadget
Gadget for debugging anything written to the USB Accessory.
## How to inject
Rebuild APK and ensure it loads the [frida gadget](https://frida.re/docs/gadget/#:~:text=Frida's%20Gadget%20is%20a%20shared,using%20a%20tool%20like%20insert_dylib) or inject via a rooted device, config and script builts from `npm build`.
### How to compile & load for debugging
```sh
$ npm install
$ frida -U -p ${pid} --no-pause -l _agent.js
```### Development workflow
To continuously recompile on change, keep this running in a terminal:
```sh
$ npm run watch
```And use an editor like Visual Studio Code for code completion and instant
type-checking feedback.