Untitled

 avatar
unknown
plain_text
a month ago
348 B
4
Indexable
docker run --rm lab-secret sh -c 'ls /secret.txt || echo "secret deleted"'

find secret-unpacked -maxdepth 3 -type f

for file in secret-unpacked/blobs/sha256/*; do
  echo "Checking $file"
  tar -tf "$file" 2>/dev/null | grep -E "secret|wh" || true
done

for file in secret-unpacked/blobs/sha256/*; do
  tar -xOf "$file" secret.txt 2>/dev/null
done
Editor is loading...
Leave a Comment