mirror of https://github.com/CIRCL/PyCIRCLean
blah
parent
7de88c9068
commit
dc116426ee
|
@ -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: |
|
||||
|
|
Loading…
Reference in New Issue