mirror of
https://github.com/zardus/ctf-tools
synced 2024-11-10 08:24:12 +00:00
7144e756e5
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
30 lines
515 B
Bash
Executable file
30 lines
515 B
Bash
Executable file
#!/bin/bash -ex
|
|
|
|
git clone --depth 1 https://github.com/codelion/pathgrind.git
|
|
cd pathgrind
|
|
git apply ../pathgrind.patch
|
|
./install.sh
|
|
chmod 755 fuzz/fuzz.py fuzz/gui.py fuzz/plotfuzz.py
|
|
cd ../
|
|
|
|
mkdir -p bin
|
|
|
|
cat <<END > bin/pathgrind-fuzz
|
|
#!/bin/sh
|
|
cd "$PWD/pathgrind/"
|
|
python fuzz/fuzz.py "\$@"
|
|
END
|
|
|
|
cat <<END > bin/pathgrind-gui
|
|
#!/bin/sh
|
|
cd "$PWD/pathgrind/"
|
|
python fuzz/gui.py "\$@"
|
|
END
|
|
|
|
cat <<END > bin/pathgrind-plot
|
|
#!/bin/sh
|
|
cd "$PWD/pathgrind/"
|
|
python fuzz/plotfuzz.py "\$@"
|
|
END
|
|
|
|
chmod 755 bin/pathgrind-*
|