Jump to content

Codepages for international file names


Aritus

Recommended Posts

Hi,

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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