picoctf/rev/mob_psycho/solve.sh

12 lines
224 B
Bash
Raw Normal View History

2024-09-06 19:43:34 +02:00
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p bash unzip vim.xxd
working_dir="$(pwd)/files"
unzip -o -q mobpsycho.apk -d "$working_dir"
find "$working_dir" -name flag.txt | xargs cat | xxd -r -p
rm -rf "$working_dir"