picoctf/misc/commitment_issues/solve.sh

12 lines
161 B
Bash
Executable File

#!/usr/bin/env nix-shell
#!nix-shell -i bash -p bash unzip git
unzip -o -q challenge.zip
pushd drop-in
git checkout HEAD~
cat message.txt
popd
rm -rf drop-in