猫史档案馆


【加密软件】超超超使用

用户:guxia666guxia666查看:6 回复:6 评论:6 创建时间:2022-09-28T10:46:48


例:

// 让所有玩家每五秒跳一下
setInterval(() => {
    console.log('jump around!')
    world.querySelectorAll('player').forEach((e) => {
        e.velocity.y += 1;
    });
}, 5000);

加密后:

eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('2(()=>{3.4(\'5 6!\')7.8(\'9\').a((0)=>{0.b.c+=1})},d);',14,14,'e||setInterval|console|log|jump|around|world|querySelectorAll|player|forEach|velocity|y|5000'.split('|'),0,{}))

经过上午的发帖,和再次研究我的软件又有了加密和解密功能emotion_doge


回复

上一页1 页 / 共 1下一页
梁桂琪梁桂琪

作图不咯?

点赞0


评论


DL1DL1

呃呃呃

点赞0


评论


DL1DL1

加密会拖累速度,没好处

点赞0


评论


SKQASKQA

这是压缩……直接把开头eval改console.log。

点赞0


评论


一个STUB用户_14302596一个STUB用户_14302596

顶顶顶

点赞0


评论


37303730

假如把加密后的放进代码简化软件里的话

点赞0


评论