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