From Wikipedia, the free encyclopedia
Javascript encoding method developed by Microsoft
JScript.Encode is a method created by Microsoft used to encode both server and Client-side JavaScript or VB Script source code in order to protect the source code from copying.[1] JavaScript code is used for creating dynamic web content on many websites, with the source code easily viewable, so this was meant to protect the code.
The encoding is a simple polyalphabetic substitution using three alphabets.[2]
You can use a command line script encoder to encode your scripts.[1][3] To encode a HTML web-page file called default.htm, use the following command:
screnc.exe default.htm defaultenc.htm
It would output to a file called defaultenc.htm.
It has been reverse engineered[2] and many websites provide an on-the-fly decoder.[4]
Security by obscurity is a bad, bad idea. Instead of encouraging that approach, Microsoft should educate programmers to find other ways to store their passwords and sensitive data, and tell them that an algorithm or any other piece of code that needs to be 'hidden', is just bad design
The command-line script encoder (screnc.exe) provides a simple mechanism for encoding HTML, ASP, SCT, VBScript, and JScript files. The Microsoft Script group developed it as an easy-to-use command-line tool that can be easily built into your existing deployment batch files
Decoding JScript.Encoded
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3