I would like to implement a Python script which has the same functionality as http://www.greymagic.com/security/tools/decoder/ Is the encoding rule open for this type of javascript code encoding? Thanks. An example of this:
<Script LANGUAGE="JScript.Encode">#@~^TBQAAA==-mD~kk9P'8*R0%p\CD,wr[&fP{~xhPz..lH`EFTc+{W*v~Eq!W {*+B~vqZc+GW{E~v8!W GW%ESB8!* Fc1vBBFZ* F*!ESvFZcyGXFvSEFTcy{*yBSv8!c+{l&v~EqZc+F*WB~EFZ* F*XBBBqTW GlBBBFZ*+GlGE~vFT*yGX%ESB8!*+F*,vSEFTcy{+!vBB8!cyG+qBBBq!W {yB~Eq!W G+fv~EFZc+G*E~vFZ* FvXvBBFT*yGvESEFTW FvGE~Eq!W {vRBSv8!cy{vOB~EqTcyGF!v~vqZc+GFqBBBqTW G{+E~vFZ*yG{2BBBFZcy{GWBSB8!*+FG*ESB8!cy{{vE~EFTc+{FGv~Eq!W {{RB~vqZc+GF1E~v8!W GR!ESB8!* F%qvBBFZ* F% ESvFZcyG0&vSEFTcy{%WBSv8!c+{R*v~EqZc+F%+B~EFZ* F%{BBBqTW GR0BBBFZ*+GR,E~vFT*yG1!ESB8!*+F,FvSEFTcy{O vBB8!cyGOfBBBq!W {1WB~Eq!W GOXv~EFZc+G1E~vFZ* F,{vBBFT*yG1%ESEFTW F,,E~Eq!W 0!ZBSv8!cy0!8B~EqTcy%Z v~vqZc+%ZfBBBqTW %T*E~vFZ*y%TlBBBFZcy0!+BSB8!*+R!GESB8!cy0T%E~EFTc+0Z,v~Eq!W 0qZB~vqZc+%8qE~v8!W %8 ESB8!* RFfvBBFZ* RFcESvFZcy%q*vSEFTcy0F+BSv8!c+08Gv~EqZc+RFRB~EFZ* RF1BBBqTW %yTBBBFZ*+%yFE~vFT*y%+ ESB8!*+R &vSEFTcy0ycvBB8!cy%yXBBBq!W 0++B~Eq!W %y{v~EFZc+%+0E~vFZ* R 1vBBFT*y%f!ESEFTW R&FE~Eq!W 0&yBSv8!cy0&2B~EqTcy%2cv~vqZc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