Skip to content

Instantly share code, notes, and snippets.

@valchonedelchev
Created February 1, 2018 10:46
Show Gist options
  • Save valchonedelchev/c920689574e9f6dde0fc2ccf9c2c1cd8 to your computer and use it in GitHub Desktop.
Save valchonedelchev/c920689574e9f6dde0fc2ccf9c2c1cd8 to your computer and use it in GitHub Desktop.
Extract Orbivo key
#!/bin/bash
TMP_KEPLER_APK=$(mktemp)
echo Downloading the Kepler APK from orvibo.com into $TMP_KEPLER_APK ...
wget http://www.orvibo.com/software/android/kepler.apk -qO $TMP_KEPLER_APK
echo Download complete. Extracting and searching for the key. The key should be displayed below.
echo
ORVIBO_KEY=$(unzip -p $TMP_KEPLER_APK classes.dex | strings | grep -e '^[A-Za-n1-9]\{16\}$')
if [[ ! -z "$ORVIBO_KEY" ]]
then
echo $ORVIBO_KEY
touch $ORVIBO_KEY
fi
echo '--'
echo Cleaning up $TMP_KEPLER_APK ...
rm $TMP_KEPLER_APK
echo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment