Created
October 21, 2020 16:19
-
-
Save matwey/6ac8529361b840a937c50492924588cf to your computer and use it in GitHub Desktop.
collectd aes256
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# PWD=$1 | |
# PHASH=`echo -n ${PWD} | sha256sum` | |
PHASH=e126de2927862dfe24fb253ecf92ef17495d2a4adb052eeece7c48c674c42cc0 | |
# Take from encrypted_data collectd frame | |
IV=97477cbe4a05f4577f20d124e7e02455 | |
openssl enc -aes-256-ofb -d -K ${PHASH} -in data.raw -iv ${IV} > decoded.bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment