Use own version of officedissector.

pull/9/head
Raphaël Vinot 2016-05-09 17:38:32 +02:00
parent c0953cd01f
commit 4deb73d245
2 changed files with 6 additions and 3 deletions

View File

@ -43,7 +43,9 @@ install:
- sudo apt-get install -y libreoffice
- sudo apt-get install -y unoconv
# filecheck.py dependencies
- pip install officedissector lxml exifread pillow
- sudo apt-get install libxml2-dev libxslt1-dev
- pip install lxml exifread pillow
- pip install git+https://github.com/Rafiot/officedissector.git
- if [ $(python -c 'import sys; print(sys.version_info.major)') == '2' ]; then pip install oletools olefile ; fi
- wget https://didierstevens.com/files/software/pdfid_v0_2_1.zip
- unzip pdfid_v0_2_1.zip
@ -72,7 +74,7 @@ install:
- mv path-traversal-samples/zip/*.zip tests/src/
- mv path-traversal-samples/rar/*.rar tests/src/
# Office docs
- git clone https://github.com/grierforensics/officedissector.git
- git clone https://github.com/Rafiot/officedissector.git
- mv officedissector/test tests/src2/
script:

View File

@ -21,8 +21,9 @@ Requirements by type of document:
```
sudo apt-get install p7zip-full p7zip-rar
sudo apt-get install p7zip-full p7zip-rar libxml2-dev libxslt1-dev
pip install lxml officedissector git+https://github.com/ahupp/python-magic.git oletools olefile
pip install git+https://github.com/Rafiot/officedissector.git
# pdfid is not a package, installing manually
wget https://didierstevens.com/files/software/pdfid_v0_2_1.zip
unzip pdfid_v0_2_1.zip