ctf-tools/libc-database/install

16 lines
276 B
Text
Raw Normal View History

2018-02-14 07:50:19 +00:00
#!/bin/bash -ex
2017-05-02 01:24:47 +00:00
[ -e libc-database ] || git clone https://github.com/niklasb/libc-database
mkdir -p bin
for i in add dump find get identify
do
cat <<END > bin/libc-database-$i
cd $PWD/libc-database/
./$i "$@"
END
chmod 755 bin/libc-database-$i
done
bin/libc-database-get