This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# for ctf | |
# 配られたlibcが手元に無くても無理やりバイナリを動かすことが出来るようにパッチを行う | |
# | |
# | |
if [ $# -eq 0 ]; then | |
echo "usage: $0 [ubuntu-version] [glibc-version] elf-file" | |
exit 1 | |
fi |