偶久网

 找回密码
 注册会员

QQ登录

只需一步,快速开始

搜索

网站魔兽热门地图

查看: 4117|回复: 2

sec中文加密解密教程

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

快速回复 返回顶部 返回列表