var output = "uruHuGiruHuDuyeGuDuHuieoeeyrituwieitequouyieuyeeep"; var hidden = "uuuDuwuieryruHieieiptuuHieteuyupuGuitwuGuGuHipupuGui"; var mapping = { q:"0", w:"1", e:"2", r:"3", t:"4", y:"5", u:"6", i:"7", o:"8", p:"9", A:"a", S:"b", D:"c", F:"d", G:"e", H:"f" }; function remapToHex(str) { var hex = ""; for (var j = 0; j < str.length; j++) { var ch = str[j]; if (mapping.hasOwnProperty(ch)) hex += mapping[ch]; // skip junk if any } return hex; } // Convert hex → string function hex2str(hex) { var out = ""; for (var i = 0; i < hex.length; i += 2) { out += String.fromCharCode(parseInt(hex.substr(i, 2), 16)); } return out; } // Execute only the starter hint var payload = hex2str(remapToHex(output)); eval(payload); // -> console.log("Start here")