Document directory
- Use Script Encoder to encrypt VBS scripts
- Use Script Decoder to decrypt the VBE Script
Use Script Encoder to encrypt VBS scripts
Script Encoder is a simple command line tool. Script designers can use this tool to encode their final scripts so that the Web host and Web client cannot view or change their source code. Note: This encoding can only prevent general browsing of your code, but cannot prevent professional hackers from viewing your code and implementation methods.
This is not actually an encryption (encrypt), but an encoding (encode), but a garbled code at first glance, as though it was encrypted. The usage is very simple. The installation directory has a help manual, which is clearly written above. Here is a simple usage. Use the following command to encrypt the example. vbs script:
Copy codeThe Code is as follows: screnc.exe example. vbs example. vbe
Use Script Decoder to decrypt the VBE Script
VBS is an interpreted language, so the encrypted VBE can be decrypted by the interpreter of the Windows Script Host and then interpreted and executed. However, Microsoft does not provide decryption programs or decryption algorithms. A cool man uses his own test to launch the decryption algorithm, write a Script Decoder program, and publish the source code. I compiled a test and it worked well. Use the following command to decrypt the example. vbe script
Copy codeThe Code is as follows: scrdec18.exe example. vbe example. vbs
In contrast, this website also has a decryption program, but it charges fees! Otherwise, only the first 50 bytes of the VBE can be decrypted. I recently learned how to crack it. I used it to train my trainer. The protection work was not very good. It was very easy to crack it, And the decryption effect was not very good. Is there a problem with my brute-force cracking? No matter how much, there is an open source Script Decoder.
In addition, there are online decryption websites, which have good effect on English decryption, but the effect on code with Unicode characters is not very good.
We recommend that you download the Code released by my team. You can package and download the asp code encryption and decryption software in batches.
Original article: http://demon.tw/programming/vbs-encode-vbe-decode.html