mirror of
https://github.com/Jamesits/pve-fake-subscription
synced 2025-12-07 11:36:59 -05:00
Added Professionalism to pve-fake-subscription
This commit is contained in:
parent
380c479f24
commit
15f490b82d
@ -41,7 +41,7 @@ def generate_subscription_pve_pmg(key: str, server_ids: List[str]) -> str:
|
||||
"status": "Active",
|
||||
"key": key,
|
||||
"validdirectory": ",".join(server_ids),
|
||||
"productname": "YajuuSenpai",
|
||||
"productname": "Fake Subscription",
|
||||
"regdate": dt_string("%Y-%m-%d %H:%M:%S"),
|
||||
"nextduedate": dt_string("%Y-%m-%d", 1296000),
|
||||
}
|
||||
@ -80,11 +80,11 @@ def generate_subscription_pbs(key: str, server_ids: List[str]) -> str:
|
||||
"serverid": ",".join(server_ids),
|
||||
"checktime": get_timestamp(),
|
||||
"key": key,
|
||||
"message": "Yajuu Senpai has got your back",
|
||||
"productname": "YajuuSenpai",
|
||||
"message": "Fake Subscription",
|
||||
"productname": "Fake Subscription",
|
||||
"regdate": dt_string("%Y-%m-%d %H:%M:%S"),
|
||||
"nextduedate": dt_string("%Y-%m-%d", 1296000), # 1296000: MAX_LOCAL_KEY_AGE in src/tools/subscription.rs
|
||||
"url": "https://github.com/Jamesits/pve-fake-subscription",
|
||||
"url": "",
|
||||
}
|
||||
|
||||
data = base64.standard_b64encode(json.dumps(localinfo).encode()).decode()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user