VBS encryption 14 method you will have several kinds of VBS encryption to avoid killing talking about _vbs

Source: Internet
Author: User
Mobile phone typing is really troublesome, so some simpler or too complex code I do not directly provide an example.

1, not the method of the method--Add notes

Add some rules useless annotations without signatures. Code slightly

2. Mixed case and writing

Use VBS to ignore case

3, the branch and the colleague mixes uses

Use a colon (:) to connect multiple lines of code to one line

4, one line divided more than one line

Use a continuation character (_) to write a line more than one line

5, using the Execute function

Copy Code code as follows:

Execute ("CreateObject" &CHR & "Wscript.Shell" &CHR (a) &CHR (a) & ". Popup Now")


6, String segmentation, and + + connection mixing

Copy Code code as follows:

Code= "creat" + "Eobject" ("&CHR" + "WSCR" & "Ipt.she" & "ll" +CHR (+) &CHR (+) + ". Popup now,5"
Execute code


7, Excape and unescape encryption and decryption

Copy Code code as follows:

CreateObject (Unescape ("%57%53%43%52%49%50%54%2e%53%48%45%4c%4c"))
Ws.popup now,5

8, execute performs the converted decimal ASCII

9, execute performs the converted hexadecimal ASCII

With the "VBS encryption tool" as the keyword search, you can find the software that provides both of these encryption methods. But you do not need this software now, you can find in this space can be the perfect implementation of the two encryption methods of the VBS.

10. Use custom functions instead of internal functions (encapsulate internal functions)
Copy Code code as follows:

Function T ()
T=now ()
End Function
MsgBox T

11, +-() & and other characters plus any number of spaces on either side
12, variable name automatically change
Copy Code code as follows:

RANDOMIZE
Set Fso=createobject ("Scripting.FileSystemObject")
Mf=fso.opentextfile (wscript.scriptfullname,1). ReadAll
Ary=array ("FSO", "MF", "ARY", "NUM")
For Num=0 to 3
Mf=replace (Mf,ary (NUM), Chr (fix (rnd*25) +65) &chr (fix (rnd*25) +65) &chr (fix (rnd*25) +65) &chr (fix (RND*25) +65))
Next
Fso.opentextfile (wscript.scriptfullname,2,1). Write MF

Open the VBS file after running the above code to find that the variable has changed
13, add shell
The previous method changes only the variable, which disrupts all code and changes each time
This code is the most complex. You can search the Internet for "Windows Scripting Technology" (Good 51jb.net). You can find this encryption method in this file. You can learn a lot of things through this article.
14, the use of official encryption tools
Screnc.exe
I have the space also has the previous introduction
You may think that I have done so many methods just for dine. Indeed, many of the methods I have here don't make sense. But the VBS encryption method is far more than that. I have seen several very powerful encryption algorithms, at that time did not understand, and now forget, we can search the Internet

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.