PyCIRCLean/filecheck/README.md

34 lines
1004 B
Markdown
Raw Permalink Normal View History

2015-11-24 15:03:57 +01:00
filecheck.py
============
2015-11-24 15:03:57 +01:00
This is the script used by the [CIRCLean](https://github.com/CIRCL/Circlean)
USB key sanitizer. It is designed to handle a range of file types, and will
mark them as dangerous if they meet certain criteria.
Before installing the filecheck.py depenencies, make sure to install the PyCIRCLean
dependencies:
```
pip install .
```
Dependencies by type of document:
2015-11-24 18:03:51 +01:00
* Microsoft office: oletools, olefile
* OOXML: officedissector
* PDF: pdfid
* Archives: p7zip-full, p7zip-rar
2016-12-16 23:02:34 +01:00
* Metadata: exifread
* Images: pillow
2015-11-24 15:03:57 +01:00
Note: pdfid is a not installable with pip. It must be downloaded and installed
manually in the directory where filecheck will be run.
2015-11-24 15:03:57 +01:00
```
2016-05-09 17:38:32 +02:00
sudo apt-get install p7zip-full p7zip-rar libxml2-dev libxslt1-dev
2016-12-16 23:02:34 +01:00
pip install lxml oletools olefile pillow exifread
2016-05-09 17:38:32 +02:00
pip install git+https://github.com/Rafiot/officedissector.git
# installing pdfid manually
2015-11-24 15:03:57 +01:00
wget https://didierstevens.com/files/software/pdfid_v0_2_1.zip
unzip pdfid_v0_2_1.zip
```