Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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.