Introduction to ASP original code encryption tool

Source: Internet
Author: User

Introduction to ASP original code encryption tool

There will always be very many ways to expose the ASP's original program. Because the password path of the database can be easily got by others, it is a good solution to encrypt the ASP program. To come down and introduce a tool to assume that everyone is interested in being able to download my homepage.
Minisql.yeah.net Lavender Land
The script encoder is a simple command-line tool that enables script designers to encode the last script so that Web hosts and Web clients cannot view or alter their source code. Attention. This kind of coding only prevents others from inadvertently looking at your code, and does not prevent the deliberate hacking of your encoded content and its methods.
Web designers are on Web pages and the server's Active Sever pages (. ASP), enough to add all the features you can imagine on a Web page. In addition Windows? Scripting Host (WSH) and more applications are also scripted and achieve the same good results.

One drawback to using scripts so far is that it does not protect the intellectual property within the script, nor does it guarantee that the user is showing the results you have created.

Clever algorithms and well-designed scripts can always be seen completely. Because they are stored as plain text.

So. Each level of script user can see the script designer's original code. And can remove and change them. So as to be appropriated. Obviously, suppose you're trying to get the upper hand in a highly competitive field. This is very bad for you.

With the introduction of script applet. Protecting the source code becomes more important.

Scripting designers want to use this simple component hierarchy, but they don't necessarily want to share their source code with others. Simply by encoding the script, changing any part of the resulting file will make the script unusable, guaranteeing the absolute integrity of your coded script.

The script encoder encodes only the script code, and the other contents of the file are not moved and displayed in plain text.

To use a script encoder, develop and debug text in the usual way, and then encode the last script using that useful program.

The script encoder uses tags in the source code to identify where the code starts.
For Visual Basic? Scripting Edition (VBScript), for example, the following demo sample shows how to use encoding tags to display the copyright information for plain text:


<script language= "VBScript" >
' Copyright? '

1998. XYZ Productions. All rights reserved.
' * * Start coding * *
' Put your code here.
</SCRIPT>

In JScript? , the encoding tags are as follows:

<script language= "JScript" >
Copyright? 1998. ZYX Productions. All rights reserved.
* * Start Coding * *
Put your code here.
</SCRIPT>

When the script encoder is called, before the start tag. The contents of the script block remain unchanged, while others are encoded.

So. Suppose the start tag is omitted. The entire contents of the script encoding block are encoded, but it is assumed that at the end of the script encoding block, it is not correct to encode any content.
After the encoding has occurred.

You should be aware that the language indicator in the <SCRIPT> tag has changed. For VBScript, the new indicator is as follows:

<script language= "Vbscript.encode" >

For JScript (or JavaScript), the new indicator is as follows:
<script language= "Jscript.encode" >

The script encoder is called in the MS-DOS command line or the Execute dialog box as seen below:
Srcenc [Switches] Inputfile outputfile

Descriptive narrative
Encode the script source code so that it does not easily be viewed or altered by the user.

Grammar
Screnc [/s] [/f] [/XL] [/L deflanguage] [/E Defextension] inputfile outputfile

The components of the script encoder syntax are as follows:

Part descriptive narrative
/s optional. switch, which specifies that the working state of the script encoder is static, which results in no-screen output. If omitted, the default is to provide redundant output.
/f is optional. Specifies that the input file will be overwritten by the output file. Note that this option will damage your original input source. If omitted. The output file is not overwritten.

/XL is optional. Specifies that @language pseudo-directives are not added to the. The top of the ASP file.

If omitted, @language instructions are added to all. ASP file.


/l Deflanguage Optional.

Specifies the default scripting language to use during encoding (JScript? or VBScript). The script block in the encoded file does not include the language attribute. It is thought to be written in the specified language. If omitted, JScript is the default language for HTML pages and Script applet, and VBScript is the default language for dynamic Web pages.

For plain text files. The default scripting language is determined by the file name extension (. js or. vbs).
/e defextension Optional. Associate the input file with a specific file type. When the extension of the input file does not clearly show the type of the file, that is, when the input file name extension is not a recognizable extension. However, when the contents of a file can be categorized as recognizable types. Use this switch. This option is not a saved value. Assume that a file with an unrecognized extension is encountered. And this option is not specified, the script encoder cannot process the unrecognized file. The recognizable file extensions are ASA, ASP, CDX, HTM, html, JS, SCT, and VBS.
Inputfile is required. The name of the file to be encoded, containing whatever path information is required relative to the current folder.
OutputFile is required.

The name of the output file to generate, containing whatever path information is required relative to the current folder.

Introduction to ASP original code encryption tool

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.