Skip to content

Trouble capturing to file #38

@Ownasaurus

Description

@Ownasaurus

First of all, thanks so much for this project! I am trying to use this on a fresh Raspberry Pi 4b to log some USB traffic. After using the install-from-release.sh script, I was able to run it successfully, with -v to select the appropriate VID. The data is being passed through properly. -l works great, allowing me to see a live stream of packets. However what I would really like to do is log to a file. Unfortunately the -w option is not working for me. Am I doing something wrong, or is there a bug?

Here is some information which may be relevant:

Linux raspberrypi 5.10.60-v7l+ #1449 SMP Wed Aug 25 15:00:44 BST 2021 armv7l GNU/Linux
sudo usb-mitm -d -v 20d6 -w ~pi/dump.pcap
...
error opening library /usr/lib/USBProxy/PacketFilter_PcapLogger.so: cannot open shared object file: No such file or directory
pi@raspberrypi:~ $ ls /usr/lib/USBProxy/
DeviceProxy_Callback.so      PacketFilter_Callback.so
DeviceProxy_LibUSB.so        PacketFilter_KeyLogger.so
DeviceProxy_Loopback.so      PacketFilter_MassStorage.so
DeviceProxy_TCP.so           PacketFilter_Power.so
HostProxy_GadgetFS.so        PacketFilter_ROT13.so
HostProxy_TCP.so             PacketFilter_StreamLog.so
Injector_UDPHID.so           PacketFilter_UDPHID.so
Injector_UDP.so              PacketFilter_ZeroMQ.so

Thanks for your time, and thanks for a great project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions