Commit Graph

43 Commits (8a186bfd261ef2fe64106446a1183c965de2d44d)

Author SHA1 Message Date
Dan Puttick 833ade6008 Change to Python 3 compatible only 2017-01-19 17:06:34 -05:00
Dan Puttick 573cf51b69 Switch back to main officedissector repo 2017-01-19 16:28:22 -05:00
Dan Puttick faf534c66f Add test.obj to src_invalid 2017-01-19 16:12:32 -05:00
Dan Puttick 21cc175867 Move non-filecheck.py binaries into examples directory
Tests for these scripts also removed from /tests and from .travis.yml
Two .zip archives accidentally deleted from /tests/src_invalid, re-added them
and changed .gitignore to prevent the problem
2017-01-19 15:25:08 -05:00
Dan Puttick 3dad4faa61 Reorganize tests making them easier to run
- The tests now automatically run depending on whether you have the dependencies
installed, instead of failing and throwing exceptions.
- CONTRIBUTING.md has more information on how to run the tests.
- When the tests run, they will save their logs to /test_logs instead
of printing them so you can read them later.
- Change names of source file directories to make them more descriptive
2017-01-18 15:51:54 -05:00
Dan Puttick cb4ae5deec Changing travis and tests to run filecheck in Python 3 2016-12-16 16:07:43 -05:00
Dan Puttick 18373e5292 Removed 2.7_with_site_packages from python versions 2016-12-14 15:51:56 -05:00
Dan Puttick 4f851435e5 Updated path traversal link, changed pip installs 2016-12-14 15:49:29 -05:00
Dan Puttick 91e6b85319 Updated .travis.yml to make build pass + added pytest-cov 2016-12-07 13:19:45 -05:00
Dan Puttick 496aa479bd Minimum changes to make Travis build work
Had to comment out the path traversal exploit section due to broken bitbucket link.
Also added --no-check-certificate due to wget not finding a valid certificate for
https://www.officedissector.com
2016-12-07 11:09:11 -05:00
Raphaël Vinot 647bae27a3 Add RTF file and valid test file for pier9 script 2016-05-16 21:02:55 +02:00
Raphaël Vinot 6b9d1bdcc1 Add audio & video test file 2016-05-16 20:32:56 +02:00
Raphaël Vinot d22ea78f55 Add tests for OpenDocument 2016-05-16 20:15:38 +02:00
Raphaël Vinot cd69454642 Unzip the original bomb (password protected) 2016-05-16 11:39:19 +02:00
Raphaël Vinot f23ec234dc Do not install the package as root 2016-05-14 20:47:43 +02:00
Raphaël Vinot 93be47e56f Better support of system packages 2016-05-14 20:27:27 +02:00
Raphaël Vinot 4c9d47c984 Add test file for office 2016-05-14 20:03:40 +02:00
Raphaël Vinot 8ba0d12113 Avoid processing OOXML files twice 2016-05-11 15:16:17 +02:00
Raphaël Vinot abb565094c Fix py3 support 2016-05-10 17:16:04 +02:00
Raphaël Vinot 3efa57f0e2 write logfile as binary, use system packages when possible 2016-05-09 18:56:30 +02:00
Raphaël Vinot 2df076aaf9 Allow the build to run for 30 min without output 2016-05-09 18:40:09 +02:00
Raphaël Vinot 8dd8164095 Use system python packages 2016-05-09 18:36:39 +02:00
Raphaël Vinot 7b71eba4a0 Add missing dep for testing 2016-05-09 18:09:49 +02:00
Raphaël Vinot 979759cbe1 Use a better sample set for office documents 2016-05-09 17:45:21 +02:00
Raphaël Vinot 4deb73d245 Use own version of officedissector. 2016-05-09 17:38:32 +02:00
Raphaël Vinot aaad11b5c1 Test plenty of doc & docx files 2016-02-01 11:45:50 +01:00
Raphaël Vinot 09be35ee5d Mark the files to cover 2016-01-29 15:40:29 +01:00
Raphaël Vinot 2dd0520964 Fix tests for python2.7 2016-01-29 10:51:43 +01:00
Raphaël Vinot cec9ea0f73 Update Pip 2016-01-29 10:05:05 +01:00
Raphaël Vinot 66dc401727 Add multiverse packages 2015-11-24 15:56:04 +01:00
Raphaël Vinot f2233aeae1 Improve doc, use trusty in travis. 2015-11-24 15:03:57 +01:00
Raphaël Vinot 13c3f9d1ff Add notification travis 2015-11-24 11:32:44 +01:00
Raphaël Vinot 1bdfa2d93f Add test for path-traversal archives 2015-11-20 11:47:47 +01:00
Raphaël Vinot 04939bf903 Rollback python-magic, default version is broken on magic 5.09 2015-11-05 16:54:10 +01:00
Raphaël Vinot 1a2637b252 Use default python-magic, escape filenames 2015-11-05 16:27:48 +01:00
Raphaël Vinot 9079eac90a try to fix magic 2015-11-05 08:57:24 +01:00
Raphaël Vinot 2669e80ca9 Unpack all archives, debug invalid mimetype 2015-11-03 17:56:42 +01:00
Raphaël Vinot c984c536f1 Add theZoo to the test cases 2015-11-03 16:26:02 +01:00
Raphaël Vinot 25279e6b57 Fix deps 2015-11-03 11:54:38 +01:00
Raphaël Vinot d1f1c4fe16 Add new file to travis 2015-11-03 11:12:29 +01:00
Raphaël Vinot 797890c821 Add deps 2015-10-27 11:51:56 +01:00
Raphaël Vinot 427442e81f Add script for specific purposes, testcase and travis 2015-10-26 17:20:42 +01:00
Raphaël Vinot 5d848f4787 Add script for specific purposes, add testcase 2015-10-26 17:11:36 +01:00