Closed RKX1209 closed 6 years ago
that should probably go in r2-extras
@RKX1209 r2 supports opening PCAP files with a plugin from extras. And USB sniffers able to produce PCAP files. So you may want to try to extend it or create a script/plugin on top of it.
Nowadays i would probably use r2frida for this
On 19 May 2018, at 13:09, Anton Kochkov notifications@github.com wrote:
@RKX1209 r2 supports opening PCAP files with a plugin from extras. And USB sniffers able to produce PCAP files. So you may want to try to extend it or create a script/plugin on top of it.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Hmm. I want to implement Nintendo Switch debugger for radare2. It requires usb connection between r2 and switch to exchange debug packets. So I'd like to add capability of usb communication with some third party library like libusb. What do you think?
you can do that with an IO plugin using libusb, but this must go into extras
On 21 May 2018, at 05:57, Ren Kimura notifications@github.com wrote:
Hmm. I want to implement Nintendo Switch debugger for radare2. It requires usb connection between r2 and switch to exchange debug packets. So I'd like to add capability of usb communication with some third party library like libusb. What do you think?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/radare/radare2/issues/10128#issuecomment-390546760, or mute the thread https://github.com/notifications/unsubscribe-auth/AA3-lvbYigtBstuXTGw3BoMaD3gRE7pLks5t0jstgaJpZM4UFkv2.
Sure Thx!
@RKX1209 you can check the implementation of remote GDB io and debug plugins as an example. It basically uses the similar network capabilities.
There are easier plugins to look at. R2frida dor example also uses debug.io to run debug commands thru the io interface
On 21 May 2018, at 12:28, Anton Kochkov notifications@github.com wrote:
@RKX1209 you can check the implementation of remote GDB io and debug plugins as an example. It basically uses the similar network capabilities.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Does radare2 have the capability to sniff usb communication like libusbsniff? It can be useful for debugging over usb connection to embedded systems.