Editing ACT.DAT

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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 9: Line 9:
=== PSP ===
=== PSP ===


<pre>
?flash0:NPDRM/ACT.DAT?
flash2:/act.dat
</pre>


=== PS3 ===
=== PS3 ===


  dev_hdd0:/home/000000XX/exdata/act.dat
  hdd0:home/000000XX/exdata/act.dat


=== PSVita ===
=== PSVita ===


  [[Files_on_the_PS_Vita#tm0|tm0]]:/npdrm/act.dat
  [[Files_on_the_PS_Vita#tm0|tm0]]:npdrm/act.dat
  [[Files_on_the_PS_Vita#tm0|tm0]]:/psmdrm/act.dat (only if PSM Is activated)
  [[Files_on_the_PS_Vita#tm0|tm0]]:psmdrm/act.dat (only if PSM Is activated)


== Structure ==
== Structure ==


{| class="wikitable"
{| class="wikitable sortable"
! Name !! Offset !! Size !! Example !! Notes
| style="background-color:#123EDA; color:#FFFFFF;" |'''Name'''
| style="background-color:#123EDA; color:#FFFFFF;" |'''Offset'''
| style="background-color:#123EDA; color:#FFFFFF;" |'''Size'''
| style="background-color:#123EDA; color:#FFFFFF;" |'''Example'''
| style="background-color:#123EDA; color:#FFFFFF;" |'''Remark'''
|-
|-
| Activation Type || 0x0 || 0x2 || 0001 || 1 = local
| Activation Type || 0x0 || 0x4 || 00000001 ||  
|-
| Version Flag || 0x0 || 0x2 || 0000, 0001 || 0 for v.1, 1 for v.2.
|-
|-
| Version || 0x4 || 0x4 || 00000001, 00000002 || 1 (PSP and PS3 parser) or 2 (PSVita parser)
| Version || 0x4 || 0x4 || 00000001, 00000002 || 1 (PSP and PS3 parser) or 2 (PSVita parser)
Line 37: Line 37:
| Primary Key Table || 0x10 || 0x800 || N.A || Encrypted RIF keys table
| Primary Key Table || 0x10 || 0x800 || N.A || Encrypted RIF keys table
|-
|-
| Unknown 1 || 0x810 || 0x40 || N.A ||
| Unknown1 || 0x810 || 0x40 || N.A||
|-
|-
| OpenPsId || 0x850 || 0x10 || N.A ||  
| OpenPsId || 0x850 || 0x10 || N.A||  
|-
|-
| Unknown 2 || 0x860 || 0x10 || N.A || Encrypted data for v.1 / Unknown (8 bytes) + Padding (8 bytes) for v.2
| Unknown3 || 0x860 || 0x10 || N.A|| Encrypted_data for v.1 / Padding for v.2
|-
|-
| Unknown 4 || 0x870 || 0x10 || N.A || Encrypted data for v.1 / Start Time (8 bytes) + Expiration Time (8 bytes) for v.2
| Unknown4 || 0x870 || 0x10 || N.A|| Encrypted_data for v.1 / Time_Stamp for v.2
|-
|-
| Secondary Table || 0x880 || 0x650 || N.A ||
| Secondary Table || 0x880 || 0x650 || N.A ||
|-
|-
| RSA Signature|| 0xED0 || 0x100 || N.A || RSA Public Key for RIF type 0 and 1
| RSA Signature|| 0xED0 || 0x100 || N.A|| RSA Public Key for RIF type 0 and 1
|-
|-
| Unknown Signature || 0xFD0 || 0x40 || N.A || Maybe AES CMAC (0x20 key + 0x20 hash) or AES HMAC.
| Unknown Sig || 0xFD0 || 0x40 || N.A|| params are unknown
|-
|-
| ECDSA Signature || 0x1010 || 0x28 || N.A || pub=vsh_pub, ctype=0x02(vsh_curves)
| ECDSA Signature || 0x1010 || 0x28 || N.A|| pub=vsh_pub, ctype=0x02(vsh_curves)
|}
|}


The Primary Key table is unique per PSN account. It is encrypted using AES ECB with the ConsoleId (IDPS, PSID) of the console activated with this PSN account.
The Primary Key table is unique per PSN account. It is encrypted using ECB with the ConsoleId of the console activated with this PSN account.


== Downloading ==
== Downloading ==
Line 60: Line 60:
NOT WORKING ANYMORE.
NOT WORKING ANYMORE.


A PHP script is released to obtain the act.dat. See [[https://web.archive.org/web/*/http://playstationhax.xyz/forums/topic/550-news-vita-hack/?page=4#comment-23519 playstationhax.xyz]]
A PHP script is released to obtain the act.dat. See [[http://playstationhax.xyz/forums/topic/550-news-vita-hack/?page=4#comment-23519 playstationhax.xyz]]


[[http://pastie.org/private/5koe6klxypv8dpbxkcmda pastie]]
[[http://pastie.org/private/5koe6klxypv8dpbxkcmda pastie]]
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)