Advertisement
breaking-beaker

openssl decryption script

Nov 21st, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.27 KB | None | 0 0
  1. #!/bin/bash
  2. ciphers=$(openssl list -cipher-commands)
  3. for x in $ciphers; do
  4.     out=$(openssl $x -d -in <filehere> -out <outputfile> -pass pass:<pass>)
  5. done
  6.  
  7. #<filehere> the file you would like to decrypt
  8. #<outputfile> output file with decrypted text
  9. #<pass> password for file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement