CIRCL / Circlean

USB key cleaner
https://www.circl.lu/projects/CIRCLean/
BSD 3-Clause "New" or "Revised" License
444 stars 69 forks source link

Deleted files from the untrusted key are also converted !! #69

Open Manoubi88 opened 5 years ago

Manoubi88 commented 5 years ago

Even deleted files from the untrusted key are converted and copied into the clean key. Is this normal?

Rafiot commented 5 years ago

Well, I assume they're not deleted, but in the trash, right? If that's right, yes, it is expected, the script search all possible files on the untrusted key.

Manoubi88 commented 5 years ago

it's an unexpected behavior, thanks for your answer.

Rafiot commented 5 years ago

You're welcome.

In practice, Circlean cannot make the difference between a "normal" directory and the "trash" directory, as they are the same thing on the file system, and they differ depending on the operating system you're using.

Manoubi88 commented 5 years ago

Thanks again, I still have some questions:

Rafiot commented 5 years ago

Thank you for your interest in the project.

The library used by CIRCLean is here: https://github.com/CIRCL/PyCIRCLean

Manoubi88 commented 5 years ago

Thank you for your answer.

Manoubi88 commented 5 years ago

Hello again! To be sure, is there a possibility with CIRCLean(with previous versions..) to DELETE only Suspect content such as OpenActions.. from PDF files or Macros from Office files for example. So the result will be an Office Document without Macros instead of having it as DANGEROUS_FileName. docx_DANGEROUS?

Rafiot commented 5 years ago

No, there is no reliable way I know of to do that (with office documents nor with pdfs). If you hear of one, please let me know.

Manoubi88 commented 5 years ago

Ok, thank you.