mirror of
https://github.com/Jamesits/pve-fake-subscription
synced 2025-12-08 12:02:48 -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",
|
"status": "Active",
|
||||||
"key": key,
|
"key": key,
|
||||||
"validdirectory": ",".join(server_ids),
|
"validdirectory": ",".join(server_ids),
|
||||||
"productname": "YajuuSenpai",
|
"productname": "Fake Subscription",
|
||||||
"regdate": dt_string("%Y-%m-%d %H:%M:%S"),
|
"regdate": dt_string("%Y-%m-%d %H:%M:%S"),
|
||||||
"nextduedate": dt_string("%Y-%m-%d", 1296000),
|
"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),
|
"serverid": ",".join(server_ids),
|
||||||
"checktime": get_timestamp(),
|
"checktime": get_timestamp(),
|
||||||
"key": key,
|
"key": key,
|
||||||
"message": "Yajuu Senpai has got your back",
|
"message": "Fake Subscription",
|
||||||
"productname": "YajuuSenpai",
|
"productname": "Fake Subscription",
|
||||||
"regdate": dt_string("%Y-%m-%d %H:%M:%S"),
|
"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
|
"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()
|
data = base64.standard_b64encode(json.dumps(localinfo).encode()).decode()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user