Added Professionalism to pve-fake-subscription

This commit is contained in:
Games_Crack 2023-08-05 18:19:52 +02:00 committed by GitHub
parent 380c479f24
commit 15f490b82d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()