Advertisement
Guest User

Untitled

a guest
Dec 12th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. for ((i = 1 ; i<=1000; i+=1))
  2. do
  3. cat dico | while read in;
  4. do echo "$in" | gpg --passphrase-fd 0 -d $i.gpg 2>/dev/null 1>>hash ;
  5. if [ "$?" = "0" ]; then
  6. a=$(sed -n "$i p" hash)
  7. echo " Fichier : $i, hash $a, signature : "| gpg --sign$
  8. #echo "Fichier : $i, hash $a" | ncat 10.33.2.133 1337
  9. break
  10. fi
  11. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement