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 1: Line 1:
#REDIRECT [https://www.psdevwiki.com/ps3/ACT.DAT]
== Description ==
An activation file for a Sony Playstation' console, based on an account email and password, the devices IDPS, the platform and activation type. See also [[http://www.psdevwiki.com/ps3/ACT.DAT PS3 act.dat]].
 
=== Location ===
[[Files_on_the_PS_Vita#tm0|tm0]]:npdrm/act.dat
 
=== PHP ===
A PHP script would be released to optain the act.dat. See [[http://playstationhax.it/forums/topic/550-news-vita-hack/?page=4#comment-23519 playstationhax.it]]
 
[[http://pastie.org/private/5koe6klxypv8dpbxkcmda pastie]]
 
<?php
$data = array(
        "loginid" => "", /* email */
        "password" => "", /* password */
        "consoleid" => "", /* idps */
        "platform" => "psp2", /* for vita, don't modify, possible parameters psp,ps3,psp2.ps4 is unknown */
        "acttype" => "4", /* for vita, don't modify */
);
$custom_headers = array(
        "X-I-5-DRM-Version: 1.0",
);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://commerce.np.ac.playstation.net/cap.m");
curl_setopt($ch, CURLOPT_USERAGENT, "Legium pro Britania");
curl_setopt($ch, CURLOPT_HTTPHEADER, $custom_headers);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
//curl_setopt($ch, CURLOPT_HEADER, 1);
//curl_setopt($ch, CURLOPT_CERTINFO, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_VERBOSE, 1);
$response = curl_exec($ch);
curl_close($ch);
$fp = fopen("act.dat", "wb");
fwrite($fp, $response);
fclose($fp);
?>
Please note that all contributions to Vita Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see Vita 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)