Hacking if your sd card corrupts with sx pro is there way get your license.dat back?

gamer4lif3

Well-Known Member
Member
Joined
Dec 31, 2015
Messages
495
Trophies
0
XP
454
Country
United States
U can use any sd card so best to save license.dat in multiple places such as online storage also save the license request the pro creates incase pro breaks.
 

PRAGMA

Well-Known Member
Member
Joined
Dec 29, 2015
Messages
2,247
Trophies
1
Location
Ireland
Website
github.com
XP
4,936
Country
Ireland
Untested Script:
Code:
var LICENCE_CODE = "CHANGE-THIS-TO-CODE";
function fileSelected(o) {
    $(o).parent().parent().find('.form-control').html($(o).val().split(/[\\|/]/).pop());
    hideError();

    var reader = new FileReader();
    reader.onload = function() {
        var arrayBuffer = this.result;
        bytes = new Uint8Array(arrayBuffer);
        csr_data = '';
        for(i=0; i<bytes.length; i++) {
            csr_data += ("0" + bytes[i].toString(16)).substr(-2);
        }

        if (csr_data.substr(0x40, 0x40) == "0".repeat(0x40)) {
            $("#license-code-form").show();
        } else {
            $("#license-code-form").hide();
            get_license(csr_data, LICENCE_CODE);
        }
    }
    reader.readAsArrayBuffer(o.files[0]);
}
Copy the above, change LICENCE_CODE go to https://sx.xecuter.com/sxos-license.html, press F12, click "Console" tab, paste the code with your changed "LICENCE_CODE", press enter to execute.
Now, click "Browse" button and load your licence-request.dat which can be re-gotten when booting SX OS without a license.dat
It SHOULD give you the license.dat that you previously had :)
(Remember, its untested, if something goes wrong, lmk)
 
  • Like
Reactions: MManatane

Pittek

Member
Newcomer
Joined
Dec 8, 2005
Messages
15
Trophies
0
Website
Visit site
XP
185
Country
Gambia, The
Oh my, why so complicated?
In the idiotic case one looses his license.dat and has no secure backup, SX OS will create a new request file everytime a SD is inserted w/o the license.

This way you can get your license as often as you like. I tried it 3 times w/o any issue.
Easiest and smartest way is to backup your tiny file :P
 
  • Like
Reactions: RichKK

QRC

Member
Newcomer
Joined
Jul 15, 2018
Messages
24
Trophies
0
Age
40
XP
77
Country
Germany
I bought my license online. It asks you to enter a serial and if you are online, it will create the file on your sd card.
 

castdreams

Well-Known Member
Newcomer
Joined
Oct 31, 2016
Messages
93
Trophies
0
Age
32
Location
Midwest USA
XP
128
Country
United States
You should be able to go back onto the website and get your license.dat again, I don't think there's a limit to how many times it can be downloaded. Otherwise I would suggest keeping a backup. I've got mine backed up on my PC and OneDrive.
 
  • Like
Reactions: Majortaylor

ichibaka

Well-Known Member
Newcomer
Joined
Jul 4, 2018
Messages
80
Trophies
0
Age
37
XP
186
Country
United States
Untested Script:
Code:
var LICENCE_CODE = "CHANGE-THIS-TO-CODE";
function fileSelected(o) {
    $(o).parent().parent().find('.form-control').html($(o).val().split(/[\\|/]/).pop());
    hideError();

    var reader = new FileReader();
    reader.onload = function() {
        var arrayBuffer = this.result;
        bytes = new Uint8Array(arrayBuffer);
        csr_data = '';
        for(i=0; i<bytes.length; i++) {
            csr_data += ("0" + bytes[i].toString(16)).substr(-2);
        }

        if (csr_data.substr(0x40, 0x40) == "0".repeat(0x40)) {
            $("#license-code-form").show();
        } else {
            $("#license-code-form").hide();
            get_license(csr_data, LICENCE_CODE);
        }
    }
    reader.readAsArrayBuffer(o.files[0]);
}
Copy the above, change LICENCE_CODE go to https://sx.xecuter.com/sxos-license.html, press F12, click "Console" tab, paste the code with your changed "LICENCE_CODE", press enter to execute.
Now, click "Browse" button and load your licence-request.dat which can be re-gotten when booting SX OS without a license.dat
It SHOULD give you the license.dat that you previously had :)
(Remember, its untested, if something goes wrong, lmk)
May I ask what is the point in doing this? Wont doing the license request normally be the same?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • JuanMena @ JuanMena:
    Kissing random dudes choking in celery? Really? Need to study for that?
  • K3N1 @ K3N1:
    Yes it requires a degree
  • K3N1 @ K3N1:
    I could also yank out the rest of my teeth but theirs professionals for that
  • x65943 @ x65943:
    If your throat closes, putting oxygen in your mouth will not solve anything - as you will be introducing oxygen prior to the area of obstruction
  • JuanMena @ JuanMena:
    Just kiss me Kyle.
  • x65943 @ x65943:
    You either need to be intubated to bypass obstruction or create a stoma inferior to the the area of obstruction to survive
  • x65943 @ x65943:
    "Just kiss me Kyle." And I thought all the godreborn gay stuff was a smear campaign
  • JuanMena @ JuanMena:
    If I die, tell my momma I won't be carrying Baby Jesus this christmas :sad::cry:
  • K3N1 @ K3N1:
    Smear campaigns are in The political section now?
  • JuanMena @ JuanMena:
    Chary! Chary! Chary, Chary, Chary!
  • Sonic Angel Knight @ Sonic Angel Knight:
    Pork Provolone :P
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds yummy
  • K3N1 @ K3N1:
    Sweet found my Wii u PSU right after I ordered a new one :tpi:
  • JuanMena @ JuanMena:
    It was waiting for you to order another one.
    Seems like, your PSU was waiting for a partner.
  • JuanMena @ JuanMena:
    Keep them both
    separated or you'll have more PSUs each year.
  • K3N1 @ K3N1:
    Well one you insert one PSU into the other one you get power
  • JuanMena @ JuanMena:
    It literally turns it on.
  • K3N1 @ K3N1:
    Yeah power supplies are filthy perverts
  • K3N1 @ K3N1:
    @Psionic Roshambo has a new friend
    +1
  • JuanMena @ JuanMena:
    It's Kyle, the guy that went to school to be a Certified man Kisser.
  • Psionic Roshambo @ Psionic Roshambo:
    Cartmans hand has taco flavored kisses
  • A @ abraarukuk:
    hi guys
  • Iron_Masuku @ Iron_Masuku:
    Hello
    Skelletonike @ Skelletonike: hmm