hod24-ctf/remote_shell/compile.sh
2024-12-03 14:22:56 +01:00

4 lines
183 B
Bash
Executable file

#!/bin/bash
docker build -f build.Dockerfile -t rsh_gcc .
docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp rsh_gcc gcc -fno-stack-protector -fno-pie -no-pie -o rsh main.c