diff --git a/crypto/stegorsa/flag.enc b/crypto/stegorsa/flag.enc new file mode 100644 index 0000000..5d6e66d Binary files /dev/null and b/crypto/stegorsa/flag.enc differ diff --git a/crypto/stegorsa/image.jpg b/crypto/stegorsa/image.jpg new file mode 100644 index 0000000..b0cf8ba Binary files /dev/null and b/crypto/stegorsa/image.jpg differ diff --git a/crypto/stegorsa/solve.sh b/crypto/stegorsa/solve.sh new file mode 100755 index 0000000..06dcaa6 --- /dev/null +++ b/crypto/stegorsa/solve.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env nix-shell +#!nix-shell -i bash -p exiftool jq xxd openssl + +exiftool -j image.jpg | jq -r '.[0].Comment' | xxd -r -p | openssl pkeyutl -decrypt -inkey /proc/self/fd/0 -in flag.enc