Skip to content

Instantly share code, notes, and snippets.

@Igglybuff
Created December 24, 2015 22:53
Show Gist options
  • Save Igglybuff/d67c5c073f302f9f88ed to your computer and use it in GitHub Desktop.
Save Igglybuff/d67c5c073f302f9f88ed to your computer and use it in GitHub Desktop.
vinetto + Thumbs.db image extractor for forensics
#!/bin/bash
#
# finds all Windows thumbnail caches in the current directory
# and all subdirectories, then extracts the thumbnail images
# with vinetto to a directory.
#
# a little dirty, but it works.
file_list=()
while IFS= read -d $'\0' -r file ; do
file_list=("${file_list[@]}" "$file")
done < <(find . -name Thumbs.db -print0)
for i in "${file_list[@]}"; do
vinetto "$i" -o ~/thumbnail-images
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment