Jump to content

Codepages for international file names


Recommended Posts


I've got working smb exfiltration. Unfortunately it works only for file names in english.

robocopy/xcopy can't write cyrillic file names (as well as directory's names) to the SMB share.

Well, I've changed the local to Russian (dpkg-reconfigure locales)/ Now I can copy files with cyrillic names to the Bush Bunny via SMB.

Unfortunately "mv /loot/smb/e/* /root/udisk/loot/smb_exfiltrator" still does not work because /dev/nandf is mounted as a codepage cp437:

/dev/nandf on /root/udisk type vfat (rw,relatime,sync,fmask=0022,dmask=0022,codepage=cp437,iocharset=ascii,shortname=mixed,errors=continue)

I can change iocharset to utf-8 or iso8859-1. "mv ... /root/udisk/..." starts working even when contating cyrillic characters. But after mounting it to Windows I see "?????" instead of file names.

When I try to mount it with the proper codepage (866) I get "codepage cp866 not found". 

What about other internation characters? Do you have similar issue with Spanish/ French/Checz/Hebrew...?

Do you have any suggestions? 


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...