ctf-tools/hash-identifier/install
Steven Van Acker 7144e756e5 fail hard on any error + verify that all scripts use bash -ex to fail
early on any error + anticipate that some tools can't be installed by
now, but we still want the test to return success to satisfy travis-ci
2017-02-16 22:40:17 +01:00

9 lines
271 B
Bash
Executable file

#!/bin/bash -ex
wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/hash-identifier/Hash_ID_v1.1.py
chmod 755 Hash_ID_v1.1.py
fromdos Hash_ID_v1.1.py || dos2unix Hash_ID_v1.1.py
mkdir -p bin
cd bin
ln -s ../Hash_ID_v1.1.py ./hash_id.py