ctf-tools/libc-database/install
2017-05-01 18:24:47 -07:00

15 lines
275 B
Bash
Executable file

#!/bin/bash -e
[ -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