Hiding a file in an image
steghide embed -cf IMAGEFILE -ef FILETOHIDE
Extract the file
steghide extract -sf IMAGEFILE -p PASSWORD
Bruteforce
ROCKYOUFILE=/usr/share/wordlists/rockyou.txt
ROCKYOULIST=`cat /usr/share/wordlists/rockyou.txt`
for word in $ROCKYOULIST
do
echo $word
ret=`steghide extract -sf $1 -p $word`
if [ $? -eq 0 ]
then
echo Found
exit 0
fi
done