Editing PSN Handshake Signup
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
''this page needs cleanup and proper formatting'' | |||
Signup Response | |||
Basic structure of the response | Basic structure of the response | ||
0x00: 4 Byte - main header -> 30 00 00 4f | 0x00: 4 Byte - main header -> 30 00 00 4f | ||
0x04: 4 Byte - size -> 00 5e 00 47 | 0x04: 4 Byte - size -> 00 5e 00 47 | ||
Line 13: | Line 13: | ||
0x26: 6 Byte - np: 00 01 00 00 00 sp-int: 00 01 00 00 00 23 | 0x26: 6 Byte - np: 00 01 00 00 00 sp-int: 00 01 00 00 00 23 | ||
0x2a: 4 Byte - {10 5d 00 0b} 0x000b - size of email | 0x2a: 4 Byte - {10 5d 00 0b} 0x000b - size of email | ||
0x2e: x Byte - email, here 0b in size | 0x2e: x Byte - email, here 0b in size | ||
Legend | Legend | ||
Main Header xx xx xx ss ss = size | Main Header xx xx xx ss ss = size | ||
Positive Auth | |||
Auth Reply Structure | Auth Reply Structure | ||
0x00: 4 Byte - main header -> 31 00 00 00 | 0x00: 4 Byte - main header -> 31 00 00 00 | ||
0x04: 4 Byte - size -> 00 00 00 d4 | 0x04: 4 Byte - size -> 00 00 00 d4 | ||
Line 53: | Line 53: | ||
0xc4: 4 Byte - {00 08 00 14} | 0xc4: 4 Byte - {00 08 00 14} | ||
0xc8: 20 Byte - SIGNATURE -> maybe HMAC/SHA1 | 0xc8: 20 Byte - SIGNATURE -> maybe HMAC/SHA1 | ||
* | * often found before Name/Handle, assigned at signup and store at first 8 byte of cache | ||
* * | * * seems to be the same for the same for every console, differs for others | ||
Size | Size | ||
Line 72: | Line 72: | ||
ss = data size in hex | ss = data size in hex | ||
Timestamps | |||
These are Timestamp: | These are Timestamp: | ||
X = 00 00 01 2f 31 ff a0 58h -> 1302213927000d | |||
The X / 1000 = seconds since 1970, so this date is 08.04.2011 | The X / 1000 = seconds since 1970, so this date is 08.04.2011 | ||
PHP to easy recheck: | PHP to easy recheck: | ||
$timestamp = 1302010662000 / 1000; | |||
date("d.m.Y",$timestamp); | date("d.m.Y",$timestamp); | ||
It's just Miliseconds. | It's just Miliseconds. | ||
on finalize auth ps3 request profile settings is xml based process | |||
request profile with auth encrypted to base64 and sends to a server with this : | request profile with auth encrypted to base64 and sends to a server with this : | ||
Headers: | Headers: | ||
POST /basic_view/sec/get_self_profile HTTP/1.1 | |||
Connection Keep-Alive | |||
Content-Length 430 | |||
Accept-Encoding identity | |||
User-Agent PS3Community-agent/1.0.0 libhttp/1.0.0 | |||
Host Url:443 | |||
Contents: | Contents: | ||
<profile platform="ps3" sv="[VERSION"> | |||
<ticket>MQAAAAAAANQwAACsAAgAFJqeezSrKo6St53LChESIjtSY5rTAAEABAAAAAEABwAIAAABMAICu2sABwAIAAABLlUtF/AAAgAIC3QjMt2rDY4ABAAgZW11bGFjaW9uMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAEZXMAAwAEAARhMAAAAAgAGElWMDAwMS1OUFhTMDEwMDFfMDAAAAAAADARAAQHxAgJAAEABBYAAgAwEAAAAAAAADACACAACAAEuC/LCQAIABRcn59AJbIHKB8u3RSCRv7D9wU+gQ==</ticket> | |||
<env>np</env> | |||
<avatar size="l" /> | |||
</profile> | |||
and get profile responses here : | and get profile responses here : | ||
Headers: | Headers: | ||
HTTP/1.1 200 OK | |||
Date Wed, 18 May 2011 08:12:42 GMT | |||
Server Apache-Coyote/1.1 | |||
Content-Type text/xml;charset=UTF-8 | |||
Content-Length 364 | |||
Content: | Content: | ||
<profile result="00"> | |||
<jid>[USERNAME]@[SERVER].[COUNTRY].[ENVIROMENT].URL</jid> | |||
<onlinename upd="0">[Nickname on psn]</onlinename> | |||
<country>[Country code]</country> | |||
<language1>3</language1> | |||
<language2 /> | |||
<language3 /> | |||
<aboutme /> | |||
<avatarurl id="1000">[png image url to set avatar display]</avatarurl> | |||
<ptlp>0</ptlp> | |||
</profile> | |||
*Get profile need's other certicate to auth ssl connection in this case Dnas root 05 | *Get profile need's other certicate to auth ssl connection in this case Dnas root 05 | ||