Skip to content

Commit

Permalink
Create decrypt.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
0x27 committed Jan 24, 2019
1 parent 6e33d43 commit be36149
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions decrypt.sh
@@ -0,0 +1,11 @@
#!/bin/bash
echo "Cisco Encrypted Debug Data Decryption Script!"
if [ $# -eq 0 ]
then
echo "use: $0 /path/to/debug.enc"
exit;
fi
echo "{+} Decrypting $1"
OUT="$1.decrypted.tar.gz"
openssl aes-128-cbc -salt -md md5 -d -k 'NKDebug12#$%' < $1 > $OUT
echo "{+} Plaintext should be at $OUT...

0 comments on commit be36149

Please sign in to comment.