Skip to content

Instantly share code, notes, and snippets.

@0xdsm
Created January 16, 2026 20:00
Show Gist options
  • Select an option

  • Save 0xdsm/7f86e0d5c5024178f912c6536ae4a818 to your computer and use it in GitHub Desktop.

Select an option

Save 0xdsm/7f86e0d5c5024178f912c6536ae4a818 to your computer and use it in GitHub Desktop.
Decrypt Intelbras Strings
function decrypt(text) {
var parts = text.split('%');
var result = "";
var n = 4;
for (var c = n + 1; c < parts.length - (n + 2); c++) {
var t = parseInt(parts[c]);
t ^= r[c];
t >>= 1;
result += String.fromCharCode(t);
}
return result;
}
console.log("Result:", decrypt("text"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment