yara-x icon indicating copy to clipboard operation
yara-x copied to clipboard

Unicode Filename Bug

Open schrodyn opened this issue 5 months ago • 2 comments

Running yara-x on a set of files and I get this error due to the filename character encoding.

/ssdpool/scratch/Kimsuki APT Phrack/work/mnt/hgfs/Desktop/111/2/01_행자부 웹보안API(ORG) - 권유미 인수/02_src/GPKISecureWebX/HashSha1.h        0.0s
thread 'main' panicked at cli/src/commands/mod.rs:296:28:
byte index 148 is not a char boundary; it is inside '건' (bytes 147..150) of `/ssdpool/scratch/Kimsuki APT Phrack/work/mnt/hgfs/Desktop/111/2/01_행자부 웹보안
API(ORG) - 권유미 인수/03_deploy/setup/20070419_1.0.1.4(건교부버전)/install_on_v1.0.1.4.exe`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

schrodyn avatar Oct 10 '25 13:10 schrodyn

Can you set the environment variable RUST_BACKTRACE=1 and run it again?

plusvic avatar Oct 10 '25 14:10 plusvic

This looks a lot like: https://github.com/VirusTotal/yara-x/issues/360

plusvic avatar Oct 10 '25 14:10 plusvic