Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to mount file paths with Chinese characters in Linux #1582

Closed
JerAxxxxxxx opened this issue Jul 21, 2023 · 0 comments · Fixed by #1583
Closed

Unable to mount file paths with Chinese characters in Linux #1582

JerAxxxxxxx opened this issue Jul 21, 2023 · 0 comments · Fixed by #1583
Assignees
Labels
bug Unexpected problem or unintended behavior medium Medium priority item

Comments

@JerAxxxxxxx
Copy link
Contributor

Configuration

impacket version: 0.10.0
Python version: 3.10
Target OS: Linux

Debug Output With Command String

mount -t cifs -o rw,soft,nolock,iocharset='utf8',user='tom',password='123',vers='2.0',mapchars '//192.168.0.1/my_test/中文' '/tmp/test'

mount error(11): Resource temporarily unavailable
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)


# smb log
[-] processRequest (0x10,'latin-1' codec can't encode characters in position 0-3: ordinal not in range(256))

PCAP

Additional context

@alexisbalbachan alexisbalbachan self-assigned this Aug 17, 2023
@alexisbalbachan alexisbalbachan added the bug Unexpected problem or unintended behavior label Aug 17, 2023
@anadrianmanrique anadrianmanrique added the medium Medium priority item label Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected problem or unintended behavior medium Medium priority item
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants