Scripts: Add steghide hide and extract.

main
Pierre-Antoine 2024-09-21 20:04:08 +02:00
parent f695a159b4
commit 9a2be7c5f9
2 changed files with 25 additions and 0 deletions

10
scripts/Steghide Extract Executable file
View File

@ -0,0 +1,10 @@
#! /bin/sh
for file in $@
do
password=$(zenity --password --title "Decrypt data password in $file")
steghide extract \
--passphrase "$password" \
-sf "$file"
done

15
scripts/Steghide Hide Executable file
View File

@ -0,0 +1,15 @@
#! /bin/sh
password=$(zenity --password --title "Encrypt data password")
image=$(zenity --file-selection --title="Select an image")
file=$(basename $image)
cp $image ./$file
steghide embed \
--encryption twofish \
--compress 9 \
-cf $file \
-ef $1 \
--passphrase "$password"