Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for ((i = 1 ; i<=1000; i+=1))
- do
- cat dico | while read in;
- do echo "$in" | gpg --passphrase-fd 0 -d $i.gpg 2>/dev/null 1>>hash ;
- if [ "$?" = "0" ]; then
- a=$(sed -n "$i p" hash)
- echo " Fichier : $i, hash $a, signature : "| gpg --sign$
- #echo "Fichier : $i, hash $a" | ncat 10.33.2.133 1337
- break
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement