Advertisement
ciastexx

Untitled

Sep 26th, 2016
749
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==============================
  2. // orion.js // Ciastex
  3. // ------------------------------
  4. // Basic tier-1 lock cracker
  5. // September 26th, 2016 | 07:18PM
  6. // ==============================
  7. function(context, args)
  8. {
  9.     var keys = { }
  10.     var response = ""
  11.     var t = args.t.call
  12.    
  13.     var openers = ["open","unlock","release"]
  14.     var primes = [2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97]
  15.     var colors = ["purple","blue","cyan","green","lime","yellow","orange","red"]
  16.    
  17.     var i = 0
  18.    
  19.     while(response == "" || response.includes("+LOCK_ERROR+"))
  20.     {
  21.         response = t(keys)
  22.        
  23.         if(response.includes("!EZ_21!") && !response.includes("!LOCK_UNLOCKED! EZ_21"))
  24.         {
  25.             i = 0
  26.             while(!response.includes("!LOCK_UNLOCKED! EZ_21"))
  27.             {
  28.                 keys["EZ_21"] = openers[i++]
  29.                 response = t(keys)
  30.             }
  31.         }
  32.         else
  33.         if(response.includes("!EZ_35!") && !response.includes("!LOCK_UNLOCKED! EZ_35"))
  34.         {
  35.             i = 0
  36.             while(!response.includes("!digit!"))
  37.             {
  38.                 keys["EZ_35"] = openers[i++]
  39.                 response = t(keys)
  40.             }
  41.            
  42.             i = 0
  43.             while(!response.includes("!LOCK_UNLOCKED! EZ_35"))
  44.             {
  45.                 keys["digit"] = i++
  46.                 response = t(keys)
  47.             }
  48.         }
  49.         else
  50.         if(response.includes("!EZ_40!") && !response.includes("!LOCK_UNLOCKED! EZ_40"))
  51.         {
  52.             i = 0
  53.             while(!response.includes("!ez_prime!"))
  54.             {
  55.                 keys["EZ_40"] = openers[i++]
  56.                 response = t(keys)
  57.             }
  58.            
  59.             i = 0
  60.             while(!response.includes("!LOCK_UNLOCKED! EZ_40"))
  61.             {
  62.                 keys["ez_prime"] = primes[i++]
  63.                 response = t(keys)
  64.             }
  65.         }
  66.         else
  67.         if(response.includes("!c001!") && !response.includes("!LOCK_UNLOCKED! c001"))
  68.         {
  69.             i = 0
  70.             while(!response.includes("!color_digit!"))
  71.             {
  72.                 keys["c001"] = colors[i++]
  73.                 response = t(keys)
  74.             }
  75.            
  76.             i = 0
  77.             while(!response.includes("!LOCK_UNLOCKED! c001"))
  78.             {
  79.                 keys["color_digit"] = i++
  80.                 response = t(keys)
  81.             }
  82.         }
  83.         else
  84.         if(response.includes("!c002!") && !response.includes("!LOCK_UNLOCKED! c002"))
  85.         {
  86.             i = 0
  87.             while(!response.includes("!LOCK_UNLOCKED! c002"))
  88.             {
  89.                 keys["c002"] = colors[i]
  90.                 keys["c002_complement"] = colors[(i+4)%8]
  91.                 response = t(keys)
  92.                
  93.                 i++
  94.             }
  95.         }
  96.         else
  97.         if(response.includes("!c003!") && !response.includes("!LOCK_UNLOCKED! c003"))
  98.         {
  99.             i = 0
  100.             while(!response.includes("!LOCK_UNLOCKED! c003"))
  101.             {
  102.                 keys["c003"] = colors[i]
  103.                 keys["c003_triad_1"] = colors[(i+3)%8]
  104.                 keys["c003_triad_2"] = colors[(i+5)%8]
  105.                 response = t(keys)
  106.                
  107.                 i++
  108.             }
  109.         }
  110.         else return response
  111.     }
  112. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement