ctf-tools/libc-database/install
2018-02-16 23:27:47 +00:00

15 lines
276 B
Bash
Executable file

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