2023-04-11 16:17:53 +00:00
|
|
|
import apns
|
|
|
|
import ids
|
2023-04-06 01:01:07 +00:00
|
|
|
|
2023-04-06 01:04:41 +00:00
|
|
|
conn1 = apns.APNSConnection()
|
2023-04-06 17:19:13 +00:00
|
|
|
conn1.connect()
|
2023-04-11 16:23:04 +00:00
|
|
|
|
|
|
|
# Uncomment these for greater parity with apsd
|
|
|
|
# conn1.keep_alive()
|
|
|
|
# conn1.set_state(0x01)
|
|
|
|
# conn1.filter([])
|
|
|
|
# conn1.connect(False)
|
|
|
|
|
2023-04-08 02:32:00 +00:00
|
|
|
conn1.filter(["com.apple.madrid"])
|
2023-04-06 01:04:41 +00:00
|
|
|
|
2023-05-03 00:53:18 +00:00
|
|
|
# print(ids.lookup(conn1, ["mailto:jjtech@jjtech.dev"]))
|
2023-04-22 01:47:13 +00:00
|
|
|
|
2023-05-09 19:36:33 +00:00
|
|
|
#print(ids.register(conn1, "user_test2@icloud.com", "wowSecure1"))
|