mirror of
https://github.com/zardus/ctf-tools
synced 2024-12-13 14:32:34 +00:00
Added witchcraft compiler collection
This commit is contained in:
parent
56e3270274
commit
615f07a17f
3 changed files with 24 additions and 0 deletions
12
wcc/install
Executable file
12
wcc/install
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
git clone --depth 1 https://github.com/endrazine/wcc
|
||||
pushd wcc
|
||||
git submodule init
|
||||
git submodule update
|
||||
|
||||
make
|
||||
mv bin/ ../
|
||||
popd
|
||||
pushd bin/
|
||||
sed -i "s&/usr/bin/wsh&$(pwd)/wsh&" ./wcch
|
5
wcc/install-root-archlinux
Executable file
5
wcc/install-root-archlinux
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
set -eu -o pipefail
|
||||
|
||||
pacman -Syu --noconfirm --needed clang uthash readline capstone \
|
||||
libelf binutils gsl
|
7
wcc/install-root-debian
Executable file
7
wcc/install-root-debian
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
set -eu -o pipefail
|
||||
|
||||
apt-get install clang libbfd-dev uthash-dev \
|
||||
libelf-dev libcapstone-dev \
|
||||
libreadline6 libreadline6-dev \
|
||||
libiberty-dev libgsl-dev
|
Loading…
Reference in a new issue