Teach you how to decrypt the Js/vbs/vbscript encryption of the coding of different processing summary _javascript skills

Source: Internet
Author: User
Tags decrypt eval

Js/vbs/vbscript Encryption Code:

<body style= "font:12px" >
<fieldset>
<legend align= "center" > Source Mutation Processing </legend>
<table>
<tr valign=top>
<td><br>
<button onclick=encjshtm () > JS Web page Encryption </button><br>
<button onclick=encvbshtm () > VBS page Encryption </button><br>
<button onclick=encvbs () > VB script Encryption </button><br>
<br><p style= "font:12px" >
Description:<br><br>
You can complete the operation by,<br> the content that needs to be encrypted <br> copy into the box,<br> the corresponding button.
If there is a run error,<br> please refresh after the build! </p>
</td>
<td>
<textarea id=txt cols=100% rows=20></textarea>
</td>
</table>
<script language=vbscript>

function Change (k)
S= ""
For i = 1 to Len (k)
S=S&AMP;ASCW (Mid (k,i,1)) & ","
Next
Change=left (S,len (s)-1)
End Function

Sub Encvbs ()
s= "function Rechange (k)" +vbcrlf+ "S=split (k," "," ")" +vbcrlf+ "t=" "" "" +vbcrlf+ "for i = 0 to UBound (s)" +vbcrlf+ "T=T+CHRW ( Eval (S (i)) "+vbcrlf+" Next "+vbcrlf+" rechange=t "+vbcrlf+" End Function "+vbcrlf+" t= "" "+change ( Document.all.txt.value) + "" "+vbcrlf+" execute (rechange (t)) "
Document.all.txt.value=s
End Sub

Sub nencjshtm ()
s= "<script>" +vbcrlf+ "t=" "" +change (Document.all.txt.value) + "" "+vbcrlf+" T=eval ("" String.fromCharCode ("" +t +"")"");" +vbscrlf+ "document.write (t); </" + "script>"
Document.all.txt.value=s

End Sub

Sub encvbshtm ()
s= "<script language=vbscript>" +vbcrlf+ "function Rechange (k)" +vbcrlf+ "S=split (k," "," ")" +vbcrlf+ "t=" "" "" + vbcrlf+ for i = 0 to UBound (s) "+vbcrlf+" T=t+chrw (eval (i)) "+vbcrlf+" Next "+vbcrlf+" rechange=t "+vbcrlf+" End Function "+vbcrlf+" t= "" "+change (Document.all.txt.value) +" "" +vbcrlf+ "document.write Rechange (t)" +vbcrlf+ "&LT;/SCRI" + "PT > "
Document.all.txt.value=s
End Sub
</script>
<script language=javascript>
function encjshtm ()
{
var k = new String;
var s = new String;
K=document.all.txt.value
for (i=0;i<k.length; i++)
{
S+=k.charcodeat (i);
if (i!=k.length-1)
{
s+= ",";
}
}
s= "<script>\nt=\" "+s+" \ "\nt=eval (\" String.fromCharCode (\ "+t+\") \ "); \ndocument.write (t); </" + "script > ";
Document.all.txt.value=s;
}
</script>
</fieldset>



The second step we do a test with JS encryption above the code, the encryption effect is as follows:

<script>
T= " 60,98,111,100,121,32,115,116,121,108,101,61,34,102,111,110,116,58,49,50,112,120,34,62,13,10,60,102,105,101,108,100,115,10 1,116,62,13,10,60,108,101,103,101,110,100,32,97,108,105,103,110,61,34,99,101,110,116,101,114,34,62,28304,30721,21464,2432 2,22788,29702,32,60,47,108,101,103,101,110,100,62,13,10,60,116,97,98,108,101,62,13,10,60,116,114,32,118,97,108,105,103,11 0,61,116,111,112,62,13,10,60,116,100,62,60,98,114,62,13,10,60,98,117,116,116,111,110,32,111,110,99,108,105,99,107,61,101 , 110,99,74,83,72,84,77,40,41,62,32,74,83,32,32593,39029,21152,23494,32,60,47,98,117,116,116,111,110,62,60,98,114,62,13,10 , 60,98,117,116,116,111,110,32,111,110,99,108,105,99,107,61,101,110,99,86,66,83,72,84,77,40,41,62,32,86,66,83,32593,39029 , 21152,23494,32,60,47,98,117,116,116,111,110,62,60,98,114,62,13,10,60,98,117,116,116,111,110,32,111,110,99,108,105,99,107 , 61,101,110,99,86,66,83,40,41,62,32,86,66,32,33050,26412,21152,23494,32,60,47,98,117,116,116,111,110,62,60,98,114,62,13,1 0,60,98,114,62,60,112,32,115,116,121,108,101,61,34,102,111,110,116,58,49,50,112,120,34,62,13,10,35828,26126,58,60,98,114,62,60,98,114,62,13,10,23558,386 56,35201,21152,23494,30340,20869,23481,60,98,114,62,22797,21046,21040,26694,37324,65292,60,98,114,62,28857,30456,24212,30 340,25353,38062,65292,60,98,114,62,23601,21487,20197,23436,25104,25805,20316,60,98,114,62,60,98,114,62,13,10,22914,20986 , 29616,36816,34892,38169,35823,65292,60,98,114,62,35831,37325,26032,21047,26032,21518,29983,25104,65281,60,47,112,62,13,1 0,60,47,116,100,62,13,10,60,116,100,62,13,10,60,116,101,120,116,97,114,101,97,32,105,100,61,116,120,116,32,99,111,108,115 , 61,49,48,48,37,32,114,111,119,115,61,50,48,62,60,47,116,101,120,116,97,114,101,97,62,13,10,60,47,116,100,62,13,10,60,47 , 116,97,98,108,101,62,13,10,60,115,99,114,105,112,116,32,108,97,110,103,117,97,103,101,61,118,98,115,99,114,105,112,116,6 2,13,10,13,10,102,117,110,99,116,105,111,110,32,99,104,97,110,103,101,40,107,41,13,10,32,115,61,34,34,13,10,32,102,111,11 4,32,105,32,61,32,49,32,116,111,32, 76,101,110,40,107,41,13,10,32,32,115,61,115,38,97,115,99,119,40,109,105,100,40,107,44,105,44,49,41,41,38,34,44,34,13,10 , 32,110,101,120,116,13,10,32,99,104,97,110,103,101,61,108,101,102,116,40,115,44,108,101,110,40,115,41,45,49,41,13,10,101 , 110,100,32,102,117,110,99,116,105,111,110,13,10,13,10,83,117,98,32,101,110,99,86,66,83,40,41,13,10,32,115,61,34,102,117 , 110,99,116,105,111,110,32,114,101,99,104,97,110,103,101,40,107,41,34,43,118,98,99,114,108,102,43,34,115,61,83,112,108,10 5,116,40,107,44,34,34,44,34,34,41,34,43,118,98,99,114,108,102,43,34,116,61,34,34,34,34,34,43,118,98,99,114,108,102,43,34 , 70,111,114,32,105,32,61,32,48,32,84,111,32,85,66,111,117,110,100,40,115,41,34,43,118,98,99,114,108,102,43,34,116,61,116 , 43,67,104,114,119,40,101,118,97,108,40,115,40,105,41,41,41,34,43,118,98,99,114,108,102,43,34,78,101,120,116,34,43,118,98 , 99,114,108,102,43,34,114,101,99,104,97,110,103,101,61,116,34,43,118,98,99,114,108,102,43,34,69,110,100,32,70,117,110,99 , 116,105,111,110,34,43,118,98,99,114,108,102,43,34,116,61,34,34,34,43,99,104,97,110,103,101,40,68,111,99,117,109,101,110,116,46,97,108,108,46,116,120,116,46,11 8,97,108,117,101,41,43,34,34,34,34,43,118,98,99,114,108,102,43,34,101,120,101,99,117,116,101,40,114,101,99,104,97,110,103 , 101,40,116,41,41,34,13,10,32,68,111,99,117,109,101,110,116,46,97,108,108,46,116,120,116,46,118,97,108,117,101,61,115,13 , 10,69,110,100,32,115,117,98,13,10,13,10,83,117,98,32,110,101,110,99,74,83,72,84,77,40,41,13,10,32,115,61,34,60,115,99,11 4,105,112,116,62,34,43,118,98,99,114,108,102,43,34,116,61,34,34,34,43,99,104,97,110,103,101,40,68,111,99,117,109,101,110 , 116,46,97,108,108,46,116,120,116,46,118,97,108,117,101,41,43,34,34,34,34,43,118,98,99,114,108,102,43,34,116,61,101,118,9 7,108,40,34,34,83,116,114,105,110,103,46,102,114,111,109,67,104,97,114,67,111,100,101,40,34,34,43,116,43,34,34,41,34,34,4 1,59,34,43,118,98,115,99,114,108,102,43,34,100,111,99,117,109,101,110,116,46,119,114,105,116,101,40,116,41,59,60,47,34,43 , 34,115,99,114,105,112,116,62,34,13,10,32,68,111,99,117,109,101,110,116,46,97,108,108,46,116,120,116,46,118,97,108,117,101,61,115,13,10,13,10,69,110,100,32 , 83,117,98,13,10,13,10,83,117,98,32,101,110,99,86,66,83,72,84,77,40,41,13,10,32,115,61,34,60,115,99,114,105,112,116,32,10 8,97,110,103,117,97,103,101,61,118,98,115,99,114,105,112,116,62,34,43,118,98,99,114,108,102,43,34,102,117,110,99,116,105 , 111,110,32,114,101,99,104,97,110,103,101,40,107,41,34,43,118,98,99,114,108,102,43,34,115,61,83,112,108,105,116,40,107,44 , 34,34,44,34,34,41,34,43,118,98,99,114,108,102,43,34,116,61,34,34,34,34,34,43,118,98,99,114,108,102,43,34,70,111,114,32,1 05,32,61,32,48,32,84,111,32,85,66,111,117,110,100,40,115,41,34,43,118,98,99,114,108,102,43,34,116,61,116,43,67,104,114,11 9,40,101,118,97,108,40,115,40,105,41,41,41,34,43,118,98,99,114,108,102,43,34,78,101,120,116,34,43,118,98,99,114,108,102,4 3,34,114,101,99,104,97,110,103,101,61,116,34,43,118,98,99,114,108,102,43,34,69,110,100,32,70,117,110,99,116,105,111,110,3 4,43,118,98,99,114,108,102,43,34,116,61,34,34,34,43,99,104,97,110,103,101,40,68,111,99,117,109,101,110,116,46,97,108,108,46,116,120,116,46,118,97,108,117 , 101,41,43,34,34,34,34,43,118,98,99,114,108,102,43,34,100,111,99,117,109,101,110,116,46,119,114,105,116,101,32,114,101,99 , 104,97,110,103,101,40,116,41,34,43,118,98,99,114,108,102,43,34,60,47,115,99,114,105,34,43,34,112,116,62,34,13,10,32,68,1 11,99,117,109,101,110,116,46,97,108,108,46,116,120,116,46,118,97,108,117,101,61,115,13,10,69,110,100,32,115,117,98,13,10 , 13,10,60,47,115,99,114,105,112,116,62,13,10,60,115,99,114,105,112,116,32,108,97,110,103,117,97,103,101,61,106,97,118,97 , 115,99,114,105,112,116,62,13,10,102,117,110,99,116,105,111,110,32,101,110,99,74,83,72,84,77,40,41,13,10,123,13,10,118,97 , 114,32,107,32,61,32,110,101,119,32,83,116,114,105,110,103,59,13,10,118,97,114,32,115,32,61,32,110,101,119,32,83,116,114 , 105,110,103,59,13,10,107,61,100,111,99,117,109,101,110,116,46,97,108,108,46,116,120,116,46,118,97,108,117,101,13,10,102 , 111,114,32,40,105,61,48,59,105,60,107,46,108,101,110,103,116,104,32,59,105,43,43,32,41,13,10,123,13,10,32,115,43,61,107,46,99,104,97,114,67,111,100,101,65,11 6,40,105,41,59,13,10,32,105,102,32,40,105,33,61,107,46,108,101,110,103,116,104,45,49,41,13,10,32,123,13,10,32,115,43,61,3 4,44,34,59,13,10,125,13,10,125,13,10,115,61,34,60,115,99,114,105,112,116,62,92,110,116,61,92,34,34,43,115,43,34,92,34,92 , 110,116,61,101,118,97,108,40,92,34,83,116,114,105,110,103,46,102,114,111,109,67,104,97,114,67,111,100,101,40,92,34,43,11 6,43,92,34,41,92,34,41,59,92,110,100,111,99,117,109,101,110,116,46,119,114,105,116,101,40,116,41,59,60,47,34,43,34,115,99 , 114,105,112,116,62,34,59,13,10,32,100,111,99,117,109,101,110,116,46,97,108,108,46,116,120,116,46,118,97,108,117,101,61,1 15,59,13,10,125,13,10,60,47,115,99,114,105,112,116,62,13,10,60,47,102,105,101,108,100,115,101,116,62,13,10 "
T=eval ("String.fromCharCode" ("+t+"));
document.write (t);</script>

In fact, we can according to the above encryption source, to decrypt the source code as follows:

<textarea id=txt cols=100% rows=20></textarea>
<script language=vbscript>
function Rechange (k)
S=split (K, ",")
T= ""
For i = 0 to UBound (s)
T=T+CHRW (eval (i))
Next
Rechange=t
End Function
T= ""///Put the encrypted number in "" and save it, then open it and we'll see the code!
Txt.value=rechange (t)
</script>


Our decryption is done!
Js/vbs/vbscript Universal decoding!

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.