pull/30/head
Raphaël Vinot 2020-11-30 16:12:07 +01:00
parent 7de88c9068
commit dc116426ee
1 changed files with 31 additions and 31 deletions

View File

@ -42,39 +42,39 @@ jobs:
- name: Get testing files
run: |
# Malware from theZoo
- git clone https://github.com/Rafiot/theZoo.git
- pushd theZoo/malwares/Binaries
- python3 unpackall.py
- popd
- mkdir tests/uncategorized/the_zoo/
- mv theZoo/malwares/Binaries/out tests/uncategorized/the_zoo/
git clone https://github.com/Rafiot/theZoo.git
pushd theZoo/malwares/Binaries
python3 unpackall.py
popd
mkdir tests/uncategorized/the_zoo/
mv theZoo/malwares/Binaries/out tests/uncategorized/the_zoo/
# Path traversal attacks
- git clone https://github.com/jwilk/path-traversal-samples
- pushd path-traversal-samples
- pushd zip
- make
- popd
- pushd rar
- make
- popd
- popd
- mkdir tests/uncategorized/path_traversal_zip/
- mkdir tests/uncategorized/path_traversal_rar/
- mv path-traversal-samples/zip/*.zip tests/uncategorized/path_traversal_zip
- mv path-traversal-samples/rar/*.rar tests/uncategorized/path_traversal_rar
git clone https://github.com/jwilk/path-traversal-samples
pushd path-traversal-samples
pushd zip
make
popd
pushd rar
make
popd
popd
mkdir tests/uncategorized/path_traversal_zip/
mkdir tests/uncategorized/path_traversal_rar/
mv path-traversal-samples/zip/*.zip tests/uncategorized/path_traversal_zip
mv path-traversal-samples/rar/*.rar tests/uncategorized/path_traversal_rar
# Office docs
- git clone https://github.com/eea/odfpy.git
- mkdir tests/uncategorized/odfpy/
- mv odfpy/tests/examples/* tests/uncategorized/odfpy/
- mkdir tests/uncategorized/olefile
- pushd tests/uncategorized/olefile
- wget https://github.com/decalage2/olefile/raw/master/tests/images/test-ole-file.doc
- popd
- mkdir tests/uncategorized/fraunhofer && pushd tests/uncategorized/fraunhofer
- wget --no-check-certificate https://www.officedissector.com/corpus/fraunhoferlibrary.zip
- unzip -o fraunhoferlibrary.zip
- rm fraunhoferlibrary.zip
- popd
git clone https://github.com/eea/odfpy.git
mkdir tests/uncategorized/odfpy/
mv odfpy/tests/examples/* tests/uncategorized/odfpy/
mkdir tests/uncategorized/olefile
pushd tests/uncategorized/olefile
wget https://github.com/decalage2/olefile/raw/master/tests/images/test-ole-file.doc
popd
mkdir tests/uncategorized/fraunhofer && pushd tests/uncategorized/fraunhofer
wget --no-check-certificate https://www.officedissector.com/corpus/fraunhoferlibrary.zip
unzip -o fraunhoferlibrary.zip
rm fraunhoferlibrary.zip
popd
- name: Test
run: |