User Tools

Site Tools


devicesal

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
devicesal [2009/05/07 10:00] – Add info on known unknowns marcusdevicesal [2009/05/27 12:31] – example for ssatrans marcus
Line 2: Line 2:
  
 <code> <code>
 +
 Dict 0xfc - contains an unknown 8 byte key, used in dev_0xd8, dev_0xd9. Dict 0xfc - contains an unknown 8 byte key, used in dev_0xd8, dev_0xd9.
 +
 </code> </code>
  
Line 155: Line 157:
 </code> </code>
  
 +NOT part of device.sal, but for lack of a better place, here an example of SsaTrans on updater.ocm:
  
 +<code>
 +$ SsaTrans updater.ocm
 +BCSeedRand63 (1, "j5\162\GS\140<,\f");
 +BCSetCryptTable ("L\225\164\152\DC1\RSD?\216f\198!\196\154\154\201\195b \192l^V\176r\245\151*\245[[\DC1\NULV#"...);
 +v_39 = BCNewBlob (8);
 +v_41 = BCDES_SetKey ("\188k\180(\150\EOT,\138");
 +arg_0 = Unknown
 +v_43 = BCDES_CBC BCDDecrypt (arg_0, v_39, v_41, "\216");
 +v_44 = BCBlobLength (v_43);
 +v_46 = BCBlobLength ("<!--omg certificated-->");
 +v_49 = BCSubBlob (v_43, v_44 - v_46, -1);
 +v_51 = BCCompareBlob (v_49, "<!--omg certificated-->");
 +if (v_51 == 0) [1 -> 1]
 +  {
 +    return [v_43, 1];
 +  }
 +else [1 -> 1]
 +  {
 +    return [0];
 +  }
 +v_56 = BCIfElse (v_43);
 +v_57 = BCSerialize (v_56);
 +return v_57;
 +</code>
devicesal.txt · Last modified: 2009/06/02 01:44 by marcus

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki