我正在尝试研究如何为iTunes Music Store(iTMS)生成参数以及它们是什么/意思。到目前为止,我可以做所有其他正常的事情,如登录,查看帐户信息,但购买看起来有一些加密元素(或只是我没有看到的东西)。
例如,iTunes 9在购买一些随机免费应用时会给出:
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>guid</key>
<string>4225D067.2C503B42.0DE019C0.09C96165.C4AEA83B.2AFF3A27.37A7327A</string>
<key>kbsync</key>
<data>
AAEAAOuJNWEY3t2cfDs71eXYbxmcvyB/ZB8PABQSjnY0zvL9ofILWBGfLd4Z7HnI9s3Y
akaVt+3xOW9E9Arva1RLzfX5ONpclt5s2IW/rXOgDnX6/AmacJL4UbnvvLR7mUtKZVNh
aOlKGk7dNqMHnZUiIkLRSS+sOJ2KIR2OT6kZ02tlDYv/bmI9Zr5G2HUsG1TZRQ==
</data>
<key>machineName</key>
<string>MORPHEUS</string>
<key>needDiv</key>
<string>0</string>
<key>price</key>
<string>0</string>
<key>pricingParameters</key>
<string>SWUPD</string>
<key>productType</key>
<string>C</string>
<key>salableAdamId</key>
<string>314765784</string>
</dict>
</plist>
据我所知,大部分内容来自action-params或buy-params(本例中为productType=C&salableAdamId=314765784&pricingParameters=SWUPD&price=0&ct-id=14
),GUID是常量(对于我的机器),但我无法解决什么是kbsync字段。
我希望有人会一看就能迅速解决,但我无法做到。
它可能基于的其他信息:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>signature</key><data>kqUFBdQnA0MPzrWKAGcsBshzc5XnLLm9TO+0l0jyZTJYYFiIsRc7m97IYyCCkUt/X5l+ObKfc+06Z5sgu/tAvlA1IE6LKKCEfZQVihFoYeihff3vf6lC821tPuuxuQdReBxyjHy1n94twf2iS8uRR3LoZQhQxpRdh5vDNrHwXOg=</data>
<key>certs</key>
<array>
<data>MIIDO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FWb/d2ZTc04i+fGf0OA4QmkSRcAZOxQkv0oggtTw==</data>
</array>
</dict>
</plist>
答案 0 :(得分:0)
不确定您尝试了什么,但它看起来像Base64编码的二进制数据。我已将bin文件放在http://en.webhex.net/view/26f35eed2c15f3760d6b75084057fba2的在线十六进制查看器上 - 可能能够通过这样做几次来解决问题吗?