There is 2.4GHz WiFi.
There are 2 USB interfaces in tinySniffer, one is to connect USB peripheral, the other is to connect tinySniffer to USB Host (e.g. macOS, Windows or Linux computer).
There are 2 modes:
There are 2 LEDs, and they are red and green respectively.
passwd
to change passwordtinySniffer login: sniff
Password:
sniff@tinySniffer:~$ sniff -h
Usage: sniff [-h] [-i] [-u UPLOAD_FILENAME] [-s] [-r] [-R] [-F [FILTERS]]
tinySniffer starts usb capture when:
1) tinySniffer (with usb peripheral plugged) is connected to usb host (this powers on tinySniffer) (save to new file)
2) usb peripheral is unplugged and re-plugged to tinySniffer (save to new file)
3) run "sniff -r" to restart usb capture (save to new file)
4) run "sniff -R" to emulate usb peripheral unplug / replug and restart usb capture (save to new file)
optional arguments:
-h, --help show this help message and exit
-i, --info show usb capture info
-u UPLOAD_FILENAME, --upload UPLOAD_FILENAME
stop usb capture and upload captured file
-s, --stop stop usb capture
-r, --restart restart usb capture and save to new file
-R, --RESTART emulate usb peripheral unplug / replug, restart usb capture and save to new file
-F [FILTERS], --FILTERS [FILTERS]
set capture filter, support multiple filters, separated by ","
must use together with -r or -R argument to restart usb capture
supported capture filters are:
URB_ISO_OUT, URB_ISO_IN, URB_BULK_OUT, URB_BULK_IN
examples:
sniff -F URB_ISO_OUT,URB_ISO_IN -r
sniff -F URB_BULK_OUT -R
sniff -F URB_ISO_OUT,URB_ISO_IN,URB_BULK_OUT,URB_BULK_IN -R
sniff -F -R # this is to clear capture filters
sniff@tinySniffer:~$ lsusb
Bus 003 Device 002: ID 0c76:1676 JMTek, LLC.
sniff@tinySniffer:~$ sniff -i
capturing device:
3-1
capturing file:
/home/sniff/tinySniffer.pcap
capturing filters:
sniff@tinySniffer:~$ sniff -R
sniff@tinySniffer:~$ ls -l
total 1692
-rw-r--r-- 1 sniff sniff 978932 May 5 09:04 tinySniffer-1.pcap
-rw-r--r-- 1 sniff sniff 12288 May 5 09:04 tinySniffer-2.pcap
-rw-r--r-- 1 sniff sniff 741376 Mar 8 11:01 tinySniffer.pcap
sniff@tinySniffer:~$ sniff -u tinySniffer.pcap
Info: success bring down existing capture process
tinySniffer.pcap 100.00% 13.23 KB/13.23 KB
sniff@tinySniffer:~$ sniff -r
Info: no existing capture process
Info: target usb device: 3-1
Info: output file: /home/sniff/tinySniffer-3.pcap
Info: capture filters:
Daemon PID 18613
sniff@tinySniffer:~$ rm tinySniffer-1.pcap
sniff@tinySniffer:~$ rm *
usb.urb_type == URB_COMPLETE
sniff@tinySniffer:~$ sniff -i
capturing device:
1-1
capturing file:
/home/sniff/tinySniffer-6.pcap
capturing filters:
URB_BULK_IN
endpoints mapping:
our usb packets capturing is software technology, below endpoint mapping is used:
usb host tinySniffer usb peripheral
EP1IN <- EP1IN
EP2IN <- EP5IN
EP2OUT -> EP2OUT
EP3OUT -> EP3OUT
EP4OUT -> EP4OUT