daily pastebin goal
75%
SHARE
TWEET

bis_keys.js

rajkosto Apr 15th, 2018 (edited) 654 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. utils.log("NAKED SNAKE"); //set sdbcore to false in config.json if it hangs here
  2.  
  3. GetBisEncryptionKey = function(partitionID) {
  4.     var keySourceForBis = [
  5.         [[utils.parseAddr('32CAD22C6E383FF8'), utils.parseAddr('48C7BF29AAB99AA8')], [utils.parseAddr('E1DEBFA83AB0927D'), utils.parseAddr('0671CB356E3B4CA7')]],
  6.         [[utils.parseAddr('65C0CCDD49300041'), utils.parseAddr('5F9CED1EB47E7A64')], [utils.parseAddr('D9FC9DB4DA4E4244'), utils.parseAddr('A47C9FDC9A247787')]],
  7.         [[utils.parseAddr('29EEE309EBE9C252'), utils.parseAddr('6C92A0B61F0CA132')], [utils.parseAddr('1C4C472A4BE1124D'), utils.parseAddr('E4F415F05903CB09')]],
  8.         [[utils.parseAddr('29EEE309EBE9C252'), utils.parseAddr('6C92A0B61F0CA132')], [utils.parseAddr('1C4C472A4BE1124D'), utils.parseAddr('E4F415F05903CB09')]]
  9.     ];
  10.     if (partitionID == 0) {
  11.         sc.ipcMsg(12).datau64(keySourceForBis[partitionID][0][0], keySourceForBis[partitionID][0][1], [0, 0]).sendTo('spl:').assertOk().show();
  12.         sc.ipcMsg(12).datau64(keySourceForBis[partitionID][1][0], keySourceForBis[partitionID][1][1], [0, 1]).sendTo('spl:').assertOk().show();
  13.     } else {
  14.         var kek = 1;
  15.         if (partitionID == 3) {
  16.             var cfg = sc.ipcMsg(0).data(7).sendTo('spl:').assertOk();
  17.             if (cfg.data[0] != 0) {
  18.                 kek = 4;
  19.             }
  20.         }
  21.         var res = sc.ipcMsg(2).datau64(utils.parseAddr('B4F85882C4A0C134'), utils.parseAddr('4F7EFCDA6A5E9EFA'), [0, kek]).sendTo('spl:').assertOk();
  22.         var aes_kek = [[res.data[0], res.data[1]], [res.data[2], res.data[3]]];
  23.         sc.ipcMsg(4).datau64(aes_kek[0], aes_kek[1], keySourceForBis[partitionID][0][0], keySourceForBis[partitionID][0][1]).sendTo('spl:').assertOk().show();
  24.         sc.ipcMsg(4).datau64(aes_kek[0], aes_kek[1], keySourceForBis[partitionID][1][0], keySourceForBis[partitionID][1][1]).sendTo('spl:').assertOk().show();
  25.  
  26.     }
  27.  
  28. }
  29. GetBisEncryptionKey(0);
  30. GetBisEncryptionKey(1);
  31. GetBisEncryptionKey(2);
  32. GetBisEncryptionKey(3);
  33.  
  34. utils.log("BIG BOSS");
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top