mirror of
https://github.com/Sneed-Group/pypush-plus-plus
synced 2024-12-24 03:42:43 -06:00
add so far broken register request
This commit is contained in:
parent
915b94079e
commit
b4cd5ee2b3
3 changed files with 37 additions and 2 deletions
|
@ -79,7 +79,7 @@ def generate_push_cert() -> tuple[str, str]:
|
||||||
|
|
||||||
resp = requests.post(
|
resp = requests.post(
|
||||||
"https://albert.apple.com/WebObjects/ALUnbrick.woa/wa/deviceActivation?device=Windows",
|
"https://albert.apple.com/WebObjects/ALUnbrick.woa/wa/deviceActivation?device=Windows",
|
||||||
data={"activation-info": plistlib.dumps(body)},
|
data={"activation-info": plistlib.dumps(body)}, verify=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
protocol = re.search("<Protocol>(.*)</Protocol>", resp.text).group(1)
|
protocol = re.search("<Protocol>(.*)</Protocol>", resp.text).group(1)
|
||||||
|
|
2
gsa.py
2
gsa.py
|
@ -15,7 +15,7 @@ from cryptography.hazmat.primitives import padding
|
||||||
import getpass
|
import getpass
|
||||||
|
|
||||||
# Constants
|
# Constants
|
||||||
DEBUG = False # Allows using a proxy for debugging (disables SSL verification)
|
DEBUG = True # Allows using a proxy for debugging (disables SSL verification)
|
||||||
# Server to use for anisette generation
|
# Server to use for anisette generation
|
||||||
#ANISETTE = "https://sign.rheaa.xyz/"
|
#ANISETTE = "https://sign.rheaa.xyz/"
|
||||||
ANISETTE = 'http://45.132.246.138:6969/'
|
ANISETTE = 'http://45.132.246.138:6969/'
|
||||||
|
|
35
ids.py
35
ids.py
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue