oscam-2.26.01-11942-802-wit.../devtools/extract_config.sh
2026-02-23 17:40:08 +01:00

13 lines
228 B
Bash

#!/bin/sh
if [ "$1" = "" ]
then
echo "Extract OSCam config from OSCam binary"
echo
echo " Usage: `basename $0` oscam_binary"
echo
exit 1
fi
strings $1 | sed -n 's/^CFG~//p' | openssl enc -d -base64 | gzip -d 2>/dev/null