gh2o / rvi_capture

rvictl for Linux and Windows: capture packets sent/received by iOS devices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

decode error

cmp-cc opened this issue · comments

Python version 3.8.8
D:\Software-Repository\use\Wireshark>py ./rvi_capture.py - | wireshark -k -i -

capturing to ...
** (wireshark:6808) 15:58:52.396921 [Capture MESSAGE] -- Capture Start ...
** (wireshark:6808) 15:58:52.630311 [Capture MESSAGE] -- Capture started
** (wireshark:6808) 15:58:52.630729 [Capture MESSAGE] -- File: "C:\Users\ADMINI~1\AppData\Local\Temp\wireshark_-C53SU1.pcapng"
2627 packets captured.
Traceback (most recent call last):
File "./rvi_capture.py", line 382, in
main()
File "./rvi_capture.py", line 372, in main
packet_dumper.run(packet_callback)
File "./rvi_capture.py", line 274, in run
for pkt in self.pkt_iter:
File "./rvi_capture.py", line 207, in iter
yield ctp(chunk)
File "./rvi_capture.py", line 227, in _chunk_to_packet
comm = comm.rstrip(b'\0').decode('ascii')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 0: ordinal not in range(128)
** (wireshark:6808) 15:59:20.850844 [Capture MESSAGE] -- Capture stopped.