Advertisement
Guest User

Samsung Android FOTA Authentification

a guest
Oct 19th, 2012
2,268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. 1. GT-I9100 requests:
  2. http://www.ospserver.net/security/sso/initialize/time
  3. Headers:
  4. [User-Agent] => SAMSUNG-Android
  5. [Accept] => *, */*
  6. [Accept-Encoding] => identity
  7. [Content-Type] => text/xml
  8. [Connection] => keep-alive
  9. [x-osp-version] => v1
  10. [Authorization] => oauth_consumer_key=j5p7ll8g33,oauth_signature_method=HmacSHA1,oauth_timestamp=1350658649,oauth_nonce=92c6c818a6,oauth_version=1.0,oauth_signature=BaR5YvlG8VZdUTOOfQ9Zpr3TwIg=
  11. [Host] => www.ospserver.net:80
  12. Data:
  13. NULL
  14. Response:
  15. <?xml version="1.0" encoding="UTF-8" standalone="yes"?><initializeResult><currentServerTime>1350658649660</currentServerTime></initializeResult>
  16.  
  17. 2. GT-I9100 POST data:
  18. https://www.ospserver.net/device/fumo/device/
  19. Headers:
  20. [User-Agent] => SAMSUNG-Android
  21. [Accept] => *, */*
  22. [Accept-Encoding] => identity
  23. [Content-Type] => text/xml
  24. [Connection] => keep-alive
  25. [x-osp-version] => v1
  26. [Authorization] => oauth_consumer_key=2cbmvps5z4,oauth_signature_method=HmacSHA1,oauth_timestamp=1350659504,oauth_nonce=0c5f5af449,oauth_version=1.0,oauth_signature=Mvh2Xembl1Jh4XPBqbsHtsv6ggI=
  27. [Content-Length] => 494
  28. [Host] => www.ospserver.net:443
  29. Data:
  30. <?xml version='1.0' encoding='UTF-8' standalone='yes' ?><FumoDeviceVO><deviceTypeCode>PHONE DEVICE</deviceTypeCode><deviceModelID>GT-I9100</deviceModelID><deviceUniqueID>IMEI:xxxxxx</deviceUniqueID><devicePhysicalAddressText>IMEI:xxxxxx</devicePhysicalAddressText><phoneNumberText></phoneNumberText><mobileCountryCode>232</mobileCountryCode><mobileNetworkCode></mobileNetworkCode><customerCode>DBT</customerCode><deviceName>GT-I9100</deviceName><terms>Y</terms></FumoDeviceVO>
  31. Response:
  32. <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  33. <versioninfo>
  34. <url>http://fota-cloud-dn.ospserver.net/firmware/</url>
  35. <Polling>
  36. <filename>version.xml</filename>
  37. </Polling>
  38. </versioninfo>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement