forensics/flag_in_flame

This commit is contained in:
2026-07-02 01:42:37 +09:00
parent de6199f096
commit fd650f589b
2 changed files with 13 additions and 0 deletions
File diff suppressed because one or more lines are too long
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p coreutils file tesseract xxd
cat logs.txt | base64 -d > out.bin
file out.bin
mv out.bin out.png
CONTENT="$(tesseract out.png stdout -c tessedit_char_whitelist=0123456789ABCDEF | grep -E "70[0-9A-F]+7D")"
echo "$CONTENT" | xxd -r -p