Guest User

Untitled

a guest
Oct 21st, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. In [17]: token = 'com.apple.mgmt.mobsafety.sandbox.device'
  2.  
  3. In [18]: payload = {'mdm':'372A55DA-E93B-4E89-9F91-264BA1B1E18C'}
  4.  
  5. In [19]: certificate = '/Users/gerrrr/Work/curupira/apns-dis/apnsdis/APNS-certs/mobspro-apns.cer.pem'
  6.  
  7. In [20]: os.path.exists(certificate)
  8. Out[20]: True
  9.  
  10. In [21]: sandbox = True
  11.  
  12. In [22]: result = send_command(SimpleNotificationCommand, token, payload, certificate, keyfile=keyfile, sandbox=sandbox)
  13.  
  14. In [23]: result
  15. Out[23]: True
Add Comment
Please, Sign In to add comment