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

Unicode folder names don't work in Windows #1233

Closed
neheb opened this Issue Apr 25, 2017 · 6 comments

Comments

Projects
None yet
3 participants
@neheb
Contributor

neheb commented Apr 25, 2017

Log:

C:\Users\mangix\Desktop??????????\hashcat>hashcat.exe
Usage: hashcat.exe [options]... hash|hashfile|hccapxfile [dictionary|mask|directory]...

Try --help for more help.

C:\Users\mangix\Desktop??????????\hashcat>hashcat.exe -b
hashcat (v3.5.0-18-g086a0726+) starting in benchmark mode...

C:\Users\mangix\Desktop??????????\hashcat/benchmark.pid: Invalid argument

C:\Users\mangix\Desktop??????????\hashcat/hashcat.hctune: Invalid argument

Started: Mon Apr 24 17:21:22 2017
Stopped: Mon Apr 24 17:21:22 2017

C:\Users\mangix\Desktop??????????\hashcat>

@zza123

This comment has been minimized.

Show comment
Hide comment
@zza123

zza123 May 24, 2017

Why does the situatiom appear?Can you solve it? Please help me

zza123 commented May 24, 2017

Why does the situatiom appear?Can you solve it? Please help me

@neheb

This comment has been minimized.

Show comment
Hide comment
@neheb

neheb May 24, 2017

Contributor

fopen fails since the path is UTF-16. Needs to be rewritten to use Windows APIs

Contributor

neheb commented May 24, 2017

fopen fails since the path is UTF-16. Needs to be rewritten to use Windows APIs

@zza123

This comment has been minimized.

Show comment
Hide comment
@zza123

zza123 May 24, 2017

How to use windows APIs?I am greenhand...

zza123 commented May 24, 2017

How to use windows APIs?I am greenhand...

@jsteube

This comment has been minimized.

Show comment
Hide comment
@jsteube

jsteube May 24, 2017

Member

I tried on linux with all kind of strange utf-8 characters, seems to works. So it's perhaps the zero byte in the utf-16 causing the problems.

Member

jsteube commented May 24, 2017

I tried on linux with all kind of strange utf-8 characters, seems to works. So it's perhaps the zero byte in the utf-16 causing the problems.

@jsteube

This comment has been minimized.

Show comment
Hide comment
@jsteube

jsteube Dec 2, 2017

Member

Since windows installations do not make use of "make install" we can switch back on windows to relative paths. I've pushed a fix for this issue with commit 8ec2af9

I've also add a new beta to https://hashcat.net/beta/

Please test if the issue is fixed and close it

Member

jsteube commented Dec 2, 2017

Since windows installations do not make use of "make install" we can switch back on windows to relative paths. I've pushed a fix for this issue with commit 8ec2af9

I've also add a new beta to https://hashcat.net/beta/

Please test if the issue is fixed and close it

@neheb

This comment has been minimized.

Show comment
Hide comment
@neheb

neheb Dec 2, 2017

Contributor

I'm gonna close this just because I don't use unicode filenames. The original error is fixed.

Having said that, hashcat still cannot handle Unicode files under windows. Let's say you have a file with a unicode name. Hashcat will fail to open that with ??????.txt: No such file or directory

Contributor

neheb commented Dec 2, 2017

I'm gonna close this just because I don't use unicode filenames. The original error is fixed.

Having said that, hashcat still cannot handle Unicode files under windows. Let's say you have a file with a unicode name. Hashcat will fail to open that with ??????.txt: No such file or directory

@neheb neheb closed this Dec 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment