[bug] Emoji in filename breaks get command in smbclient-ng, (root cause in impacket)
Opened this issue ยท 3 comments
0xSegmented commented
When using smbclientng, and there is a file that contains a emoji in it's filename, for example: 'Fixed issue ๐ .msg', smbclientng results in being stuck. It is not possible to skip the file either, the entire smbclientng program hangs.
The 'get' command is ran on *.msg:
get *.msg
[..]
[error] [!] SMB Error: SMB SessionError: STATUS_OBJECT_NAME_NOT_FOUND(The object name is not found.)
[1;92mโบ[0m[[1;94m\\10.0.0.1\test\docu\[0m]>
'19931232 Fixed issue ๐ .msg' โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ 0.0% โข 0.0/123.1 kB โข ? โข -:--:--
[1;92mโบ[0m[[1;94m\\10.0.0.1\test\docu\[0m]>
'19931232 Fixed issue ๐ .msg' โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ 0.0% โข 0.0/123.1 kB โข ? โข -:--:--
[1;92mโบ[0m[[1;94m\\10.0.0.1\test\docu\[0m]>
Pressing ctrl + c
does not seem to kill it too.
0xSegmented commented
Checked if the impacket dependency is the problem. Seems like impacket filters the emoji titles out? Couldn't find it using smbclient
from impacket.
p0dalirius commented
That is weird, I did not know that.
I will look into it
p0dalirius commented