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/bash | |
# | |
edition=host | |
# | |
# *************** do not change below this line *************** | |
# | |
key=$(/usr/bin/wget https://gist.githubusercontent.com/kingcosta/cf0ab9bcbf5c3b8e7fd4772c19c3439a/raw/${edition} -q -O -) | |
key_id=$(/usr/sbin/plesk bin keyinfo --list | grep plesk_key_id | grep -Eo '[[:alpha:]]{4}[[:digit:]]{12}') | |
lim_date=$(/usr/sbin/plesk bin keyinfo --list | grep lim_date | grep -Eo '[[:digit:]]{8}') | |
# plesk_key_id: plsk000000000000 | lim_date: -1 |
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
A00C00-N4FS09-V4PM76-0F1A33-J71A00 |