Wireshark ignored `some` character in filename when exporting SMB objects.
Wireshark would ignore
some character (for example, chinese word
测试 - test) in filename when exporting SMB objects.
Steps to reproduce
(How one can reproduce the issue - this is very important)
Dump SMB traffic when transferring some files with non-english filename. In my case, I create 3 text file. You can get cap file from here
Open SMB traffic cap file,
Export Objects >
SMB..., you will find
시험 turn into
Save ALL and choice any dir to save files, you will get 3 files with url encoded filename.
It is impossible to recover filename because non-english character lost.
tshark give the same result.
What is the current bug behavior?
(What actually happens)
Wireshark export SMB objects with broken filename.
What is the expected correct behavior?
(What you should see instead)
Create corrsponding dir and save files with correct filename.
Or Save files with right url encoded filename.
Sample capture file
(If possible attach a sample capture file, not screenshot of dissection, showing this issue)
Relevant logs and/or screenshots
(Paste any relevant logs here)
(Paste any relevant screenshots here)
3.4.0 (v3.4.0-0-g9733f173ea5e) Compiled (64-bit) with Qt 5.15.1, with libpcap, with GLib 2.52.3, with zlib 1.2.11, with SMI 0.4.8, with c-ares 1.15.0, with Lua 5.2.4, with GnuTLS 3.6.3 and PKCS #11 support, with Gcrypt 1.8.3, with MIT Kerberos, with MaxMind DB resolver, with nghttp2 1.39.2, with brotli, with LZ4, with Zstandard, with Snappy, with libxml2 2.9.9, with QtMultimedia, with automatic updates using WinSparkle 0.5.7, with AirPcap, with SpeexDSP (using bundled resampler). Running on 64-bit Windows 10 (2004), build 19041, with Intel(R) Core(TM) i5-9600KF CPU @ 3.70GHz (with SSE4.2), with 16316 MB of physical memory, with locale Chinese (Simplified)_China.utf8, with light display mode, without HiDPI, with Npcap version 1.00, based on libpcap version 1.9.1, with GnuTLS 3.6.3, with Gcrypt 1.8.3, with brotli 1.0.2, without AirPcap, binary plugins supported (21 loaded). Built using Microsoft Visual Studio 2019 (VC++ 14.27, build 29112).