#!/bin/bash printf "usage steghidebruteforcescript.sh imagefile.jpg wordlist.txt \n"; stegofile=$1; dict=$2; printf "Steghide Bruteforce (c) 2017 by Juan Escobar\n"; printf "stegofile: %s\n" "$stegofile"; printf "wordlist: %s\n\n" "$dict"; for passphrase in $(cat $dict); do response=$(steghide extract -sf $stegofile -p "$passphrase" 2>&1); if [[ ! $response == *"could not extract"* ]]; then printf "[+] Information obtained with passphrase: '%s'\n" "$passphrase"; printf "%s\n\n" "$response"; exit fi done printf "Game over :(\n\n";