邪恶叔 发表于 2016-12-14 14:01:47

sec中文加密解密教程

1,把要解密的j文件拖放到文件区域2,加密2以上(不包括加密2),选择通用,3,填好全局,和函数(默认全局为:SYR_Zk,默认函数为:SYR_Zf)如果与默认一致可不填3,点解密,等文件区的文字还原为上图显示的(非文件路径),及解密成功,在软件目录会生成war3map_unsec.j即为解密之后的文件 全局和函数说明:一, 比如下面这段J,在globals和endglobals中会有一个string变量SYR_Zk= 一串乱码,在endglobals后面会有一个函数:function SYR_Zf takes integer SYR_i returns stringreturnSubString(SYR_Zk,SYR_i-1,SYR_i)    //这里也有一个全局,两个一定要一样endfunction那么些J文件中的SYR_Zk就是全局, SYR_Zf就是函数,用SYR_Zf来截取全局变量中的字符做替换,软件中全局位置填:SYR_Zk,函数位置填:SYR_Zf(此种情况默认可以不用填)War3map.j:globalstrigger gg_trg_ABCDEF=nullstring SYR_Zk="�Yl���2��)Q쎞wq�j60%AN��$g1�f˫��o��;T���J�р����բ�9�x�����B�h��k�MP�O�����=���?�:t������ĝDR�*vmz3���n�i�W�'4�p!#7@/d�G�c��Fs���]�����>5���8�,�~�H� E�y{+-����u�b�VLI��earXS߮UC��ط���endglobalsfunction SYR_Zf takes integer SYR_i returns stringreturnSubString(SYR_Zk,SYR_i-1,SYR_i)endfunctionfunction InitGlobals takes nothing returns nothingendfunctionfunction Trig_ABCDEFActions takes nothing returns nothingcall DisplayTimedTextToForce(GetPlayersAll(),30,("|CFFFF0000�"+"�"+"�"+SYR_Zf(-$BEBEBC3*$92E3-0xE158BB82)+"�"+"�"+SYR_Zf($B5F3FD67-StringHash(""))+"�"+"�"+SYR_Zf(-$BEC20D5*$56B3-0x56DD7C38)+"�"+"�"+SYR_Zf($4C986679-StringHash(""))+"�"+"�"+"��|CFF00FFFF"+"�"+"�"+SYR_Zf(-$BEC3120*$8D50-0x2F22057F)+"�"+"�"+SYR_Zf($B9BEAE05-StringHash(""))+"�"+"�"+SYR_Zf(-$BEBC3FB*$4917-0xB2EED113)+"�"+"�"+SYR_Zf($BBFDE47C-StringHash(""))+"�"+"�"+SYR_Zf(-$BEC205E*$3214-0xF33B1C5D)+"�"+"�"+SYR_Zf($8800EDD-StringHash(""))+"�"+"�"+SYR_Zf(-$BEBCEDE*$7BC3-0x9EFCC253)+"�"+"�"+SYR_Zf($B8776CEB-StringHash(""))+"�"+"�"+SYR_Zf(-$BEBE029*$55AA-0xC3EF8733)+"�"+"�"+SYR_Zf($818E661-StringHash(""))+"�"+"�"+SYR_Zf(-$BEC1AA4*$65FE-0x53ADCFD)+"�"+"�"+SYR_Zf($5BD95F4F-StringHash(""))+"�"+"�"+SYR_Zf(-$BEC3AC7*$980F-0xA426649)+"�"+"�"+SYR_Zf($5BD95F65-StringHash(""))+"�"+"�"+SYR_Zf(-$BEC39B6*$58D2-0x4621867)+"�"+"�"+SYR_Zf($4E67E497-StringHash(""))+"�"+"�"+SYR_Zf(-$BEBC67D*$5F11-0xB6AF6DFD)+"�"+"�"+SYR_Zf($5BD95F84-StringHash(""))+"�"+"�"+SYR_Zf(-$BEBE368*$8D98-0xFFB0B1AE)+"�"+"�"+SYR_Zf($8800EDD-StringHash(""))+"�"+"�"+SYR_Zf(-$BEC2385*$83F0-0xFC71A3B2)+"�"+"�"+SYR_Zf($2EC8EB20-StringHash(""))+"�"+"�"+SYR_Zf(-$BEBD5C0*$9625-0x17AB9AF7)+"�"+"�"+"�"+"�"+SYR_Zf(-$BEBF17B*$5595-0xB87E9C3D)+"�"+"�"+SYR_Zf($818E610-StringHash(""))+"�"+"�"+SYR_Zf(-$BEC20B0*$3845-0x2234AFBF)+"�"+"�"+SYR_Zf($F75200B9-StringHash(""))+"�"+"�"+SYR_Zf(-$BEC356B*$7CD7-0x92BF4E61)+"�"+"�"+SYR_Zf($B9391417-StringHash(""))+"�"+"�"+"��"))Endfunction 二, 另一种经常优化过的J:按上面的格式一看,其中string II1II1III =XXX 这个II1II1III就是全局,下面的II1II111I11I函数即是要填入的函数War3map.j:globalstrigger IIII=nulltrigger II1I=nullstring II1II1III="�����c��{'g��iP8�YB�(�-�s�����G���4ݫ�l��2�������/��r��j!)?3��+�>~��ou����0b|���y�6@NT���[ Հ��5����7�nthM%���aZɓ�����e.���9��1�R����٬m�E�I�wk�XL�FӢUD�xꄱ�,��*&�H�Vd��W<�v�q=ƒ}�$Kֈ]A�JC��pz�QS��f#�O:;ߞ��"trigger II1II1I1I=nullinteger II1II11II=0endglobalsfunction II1II111I11I takes integer II1II1111III returns stringreturn SubString(II1II1III,II1II1111III-1,II1II1111III)endfunctionfunction l1lIl1l takes nothing returns nothingcall DisableTrigger(GetTriggeringTrigger())call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(II11111IIII))call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetTriggerUnit()),GetRectCenter(II11111IIII),0)call DisplayTimedTextToForce(II1I1I11111I(GetOwningPlayer(GetTriggerUnit())),5.,"|cffFF0000"+"�"+"�"+II1II111I11I(6516-6310)+"�"+"�"+II1II111I11I($2FE013C8-StringHash("+SYR_Zf(014564-014246)+"))+"�"+"�"+II1II111I11I(5314-5096)+"�"+"�"+II1II111I11I($BCA09036-StringHash("+SYR_Zf(012302-011750)+"))+"�"+"�"+II1II111I11I(7175-7017)+"�"+"�"+II1II111I11I($4A09E574-StringHash("+SYR_Zf(016007-015551)+"))+"�"+"�"+"�"+II1II111I11I($F24-$E60)+"�"+"�"+II1II111I11I($C0811F11-StringHash("+SYR_Zf(07444-07140)+"))+"�"+"�"+II1II111I11I(5161-4965)+"�")set I11I1I11I=nullendfunction
页: [1]
查看完整版本: sec中文加密解密教程