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

not ascii filenames ignored in processing #41

Closed
jane567 opened this issue Apr 30, 2016 · 1 comment
Closed

not ascii filenames ignored in processing #41

jane567 opened this issue Apr 30, 2016 · 1 comment

Comments

@jane567
Copy link
Contributor

jane567 commented Apr 30, 2016

Hi!

I try to scan dir say c:\test

 Directory of C:\test

30.04.2016  14:48    <DIR>          .
30.04.2016  14:48    <DIR>          ..
23.04.2016  16:43               152 t2.py
23.04.2016  16:40               303 test.py
23.04.2016  01:09            11 605 отпуск.ods
30.04.2016  14:45                 6 Файл with cyr буквами.txt
30.04.2016  14:45                 6 Файл с русскими буквами.txt
               5 File(s)         12 072 bytes

with command
python.exe loki.py --noprocscan --debug -p c:\test

Some output:

[DEBUG]
MD5: fb41dc5e587ffe302edfbb742e6f2283
SHA1: 9f186c845a321f8d392796a55558e2380613570e
SHA256: 9c17b4c232fc62bc5a26c999910f4996a8cbff4527991afacfbd099d15483643
FILE: c:\test\.ods
[DEBUG]
MD5: 268e27056a3e52cf3755d193cbeb0594
SHA1: 01eb84f052ba857d610a26815628d5339386c8e9
SHA256: 12d27e106af46b4b9ca8772d97f1855329a420d873ca738b7b11c68d285ca71d
FILE: c:\test\ with cyr .txt
[DEBUG]
MD5: 268e27056a3e52cf3755d193cbeb0594
SHA1: 01eb84f052ba857d610a26815628d5339386c8e9
SHA256: 12d27e106af46b4b9ca8772d97f1855329a420d873ca738b7b11c68d285ca71d
FILE: c:\test\   .txt
[RESULT] SYSTEM SEEMS TO BE CLEAN.
[NOTICE] Finished LOKI Scan SYSTEM: FRACTAL TIME: 20160430 14:50:44

I think here some strange things:

  1. Here only 3 of 5 files (files with py extension was ignored)
  2. unicode chars in file names was lost and as a result files not scanned. In such files may exists some dangerous code, for example
@Neo23x0
Copy link
Owner

Neo23x0 commented Apr 30, 2016

Should be fixed now with v0.15.5

@Neo23x0 Neo23x0 closed this as completed Apr 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants