picoctf/misc/commitment_issues/solve.sh

12 lines
161 B
Bash
Raw Normal View History

2024-09-05 18:47:37 +02:00
#!/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