Implementation of VBS encryption and VBE decryption

Source: Internet
Author: User
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

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.