求这种 js 混淆算法。。。 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
ykjsw

求这种 js 混淆算法。。。

  •  
  •   ykjsw May 6, 2017 3794 views
    This topic created in 3279 days ago, the information mentioned may be changed or developed.
    $_$= /`$` ~-~ //* `$$` */ ['_']; o=($$_) =_=3; c=(_$$) =($$_)-($$_); (__$) =(_$$)= (o^_^o)/ (o^_^o);(__$)={_$$: '_' ,$_$ : (($_$==3) +'_') [_$$] ,_$_ :($_$+ '_')[o^_^o -(_$$)] ,$$$$:(($$_==3) +'_')[$$_] }; (__$) [_$$] =(($_$==3) +'_') [c^_^o];(__$) ['c'] = ((__$)+'_') [ ($$_)+($$_)-(_$$) ];(__$) ['o'] = ((__$)+'_') [_$$];($$$)=(__$) ['c']+(__$) ['o']+($_$ +'_')[_$$]+ (($_$==3) +'_') [$$_] + ((__$) +'_') [($$_)+($$_)]+ (($$_==3) +'_') [_$$]+(($$_==3) +'_') [($$_) - (_$$)]+(__$) ['c']+((__$)+'_') [($$_)+($$_)]+ (__$) ['o']+(($$_==3) +'_') [_$$];(__$) ['_'] =(o^_^o) [$$$] [$$$];(_$)=(($$_==3) +'_') [_$$]+ (__$) .$$$$+((__$)+'_') [($$_) + ($$_)]+(($$_==3) +'_') [o^_^o -_$$]+(($$_==3) +'_') [_$$]+ ($_$ +'_') [_$$]; ($$_)+=(_$$); (__$)[_$]='\\'; (__$)._$_$=(__$+ $$_)[o^_^o -(_$$)];(o$$_o)=($_$ +'_')[c^_^o];(__$) [$$$]='\"';(__$) ['_'] ( (__$) ['_'] (_$+/* `$$` */(__$)[$$$]+ (__$)[_$]+(-(((($$_)-(o^_^o))+(-(_$$)+(o^_^o)-(_$$))-((_$$)+(_$$)+($$_)-(o^_^o))+(-(c^_^o)+($$_)))-((-(c^_^o)+($$_))-((o^_^o)+(_$$))))+(((-(c^_^o)+(_$$))+(-(c^_^o)+(o^_^o)))+(-((_$$)-(_$$))+((_$$)-(_$$)))))+(((-((_$$)-(_$$))+(-(c^_^o)+($$_)))+(-(-(_$$)-(_$$)+(o^_^o))-(($$_)-(o^_^o))+((_$$)-(o^_^o)+($$_)+(_$$)))-(((_$$)+(_$$)-(o^_^o)+($$_))-(-($$_)+($$_)))+(-(-(c^_^o)+(_$$))+(($$_)-(o^_^o)+(_$$)+(_$$))-(-(c^_^o)+(_$$))))-((-((_$$)+($$_)+(_$$)-(o^_^o))+((_$$)+(o^_^o)))-((($$_)-(c^_^o))-(-(o^_^o)+($$_)+(_$$)+(_$$)))))+(-(((-(c^_^o)+(c^_^o))+((o^_^o)+(_$$)))-(((_$$)-(c^_^o))+(-(_$$)-(_$$)+(o^_^o))+(-(c^_^o)+($$_))-(-(o^_^o)+(_$$)+($$_)+(_$$))))+((-(-(_$$)+(_$$))+((c^_^o)+($$_)))+(((o^_^o)+(_$$))-((o^_^o)+(_$$))))+(((-(c^_^o)+(c^_^o))+((_$$)+(o^_^o)))-(-((_$$)-(o^_^o)+(_$$)+($$_))+(($$_)+(_$$)+(_$$)-(o^_^o)))))+(__$)[_$]+(-(-((-(o^_^o)+(o^_^o))-((o^_^o)-(o^_^o)))+(((c^_^o)+($$_))-(($$_)+(_$$)-(o^_^o)+(_$$))+(-(_$$)-(_$$)+(o^_^o))+(($$_)-(o^_^o))))+(((-(c^_^o)+(c^_^o))+(($$_)+(c^_^o)))-(((_$$)+(_$$)-(o^_^o)+($$_))-((_$$)+($$_)+(_$$)-(o^_^o)))))+(((((c^_^o)+($$_))-((o^_^o)-(c^_^o)))-(((o^_^o)-(c^_^o))-((o^_^o)-(c^_^o))))+(-(((_$$)-(c^_^o))+(-(_$$)-(_$$)+(o^_^o))-((_$$)+(_$$)-(o^_^o)+($$_))+(($$_)-(c^_^o)))+(-((_$$)-(o^_^o)+(_$$)+($$_))+((o^_^o)+(_$$)))+(((_$$)-(o^_^o)+(_$$)+($$_))-((o^_^o)-(_$$)-(_$$))-(($$_)-(o^_^o)))+((-(o^_^o)+($$_))+((o^_^o)-(c^_^o))))+((-((_$$)+($$_)+(_$$)-(o^_^o))+((c^_^o)+($$_))+(($$_)-(o^_^o))+(-(_$$)-(_$$)+(o^_^o)))-(-(($$_)-($$_))+(-(_$$)+(_$$)))))+(((-((o^_^o)-(o^_^o))+(-(c^_^o)+(_$$)))-((($$_)+(_$$)+(_$$)-(o^_^o))-((_$$)-(c^_^o))-(($$_)-(o^_^o))))-(((($$_)-(o^_^o))-(-(o^_^o)+($$_)))-(-(($$_)-($$_))+((o^_^o)-(o^_^o)))))+(__$)[_$]+(((-(-(c^_^o)+(_$$))-(-(c^_^o)+(_$$))+(-(c^_^o)+(o^_^o)))+(-(-(c^_^o)+(o^_^o))+((c^_^o)+($$_)))-(((o^_^o)-(c^_^o))-(-(_$$)+(_$$)))+((-(_$$)-(_$$)+(o^_^o))+(-(o^_^o)+(_$$)+($$_)+(_$$))))+(-((-(o^_^o)+($$_))-(($$_)+(_$$)+(_$$)-(o^_^o))+((o^_^o)+(_$$))+(($$_)-(o^_^o)))+(((o^_^o)+(_$$))+(-($$_)+($$_))))+(((-(_$$)+(o^_^o)-(_$$))+((o^_^o)-(c^_^o)))-(-((o^_^o)-(o^_^o))+(-(c^_^o)+(o^_^o)))+((($$_)-(c^_^o))-(($$_)-(o^_^o)+(_$$)+(_$$)))+(-(-(o^_^o)+(_$$)+(_$$)+($$_))+(($$_)-(c^_^o)))))+((-((-($$_)+($$_))-((c^_^o)-(c^_^o)))+((($$_)+(_$$)+(_$$)-(o^_^o))-(-(o^_^o)+($$_))-(-(_$$)+(o^_^o)-(_$$))))+((-((c^_^o)-(c^_^o))+((_$$)+(o^_^o)))+(-(-(_$$)-(_$$)+(o^_^o))+((o^_^o)-(_$$)-(_$$)))))+(__$)[_$]+((-((-(o^_^o)+($$_)+($$)+(_$$))-(-(_$$)+(_$$)))+(((_$$)+(o^_^o))-(($$_)-($$_))))+(-(-(($$_)-($$_))+(($$_)-($$_)))+((-(c^_^o)+(o^_^o))-((o^_^o)-(o^_^o)))))+((-(((o^_^o)-(o^_^o))-(-(_$$)+(_$$)))+((-(c^_^o)+($$_))-(-(c^_^o)+(c^_^o))))+(-((-($$_)+($$_))-((o^_^o)-(o^_^o)))+(-(($$_)+(_$$)-(o^_^o)+(_$$))+((o^_^o)-(_$$)-(_$$))+(($$_)+(c^_^o))+(-(c^_^o)+(_$$)))))+(__$)[_$]+((((($$_)+(c^_^o))-((o^_^o)-(o^_^o)))+(((_$$)-(_$$))-((o^_^o)-(o^_^o))))-(((-(_$$)-(_$$)+(o^_^o))+((o^_^o)-(c^_^o)))+((($$_)-(c^_^o))-(-(o^_^o)+(_$$)+(_$$)+($$_)))+((-(_$$)-(_$$)+(o^_^o))-(($$_)-($$_)))-(((o^_^o)-(c^_^o))-((o^_^o)-(o^_^o)))))+(-(((-(c^_^o)+($$_))-((o^_^o)-(c^_^o)))-(-(-(o^_^o)+(o^_^o))+((o^_^o)-(_$$)-(_$$))))+((-(($$_)-(c^_^o))+(($$_)-(c^_^o)))+((-(o^_^o)+($$_)+(_$$)+(_$$))+(-(o^_^o)+($$_)))))+((-(-((c^_^o)+($$_))+((o^_^o)+(_$$)))+(-(-(o^_^o)+(_$$)+(_$$)+($$_))+(-(_$$)-(_$$)+(o^_^o))+(-(o^_^o)+($$_))+((c^_^o)+($$_))))+(-(-(-(c^_^o)+(c^_^o))+((o^_^o)-(c^_^o)))+(-(-(_$$)+(o^_^o)-(_$$))-(-(c^_^o)+(_$$))+((_$$)-(o^_^o)+(_$$)+($$_)))+((($$_)+(c^_^o))-(($$_)-(o^_^o)+(_$$)+(_$$)))+(((o^_^o)-(c^_^o))+(($$_)-(o^_^o)))))+(__$)[_$]+((-((-(c^_^o)+(o^_^o))-(-($$_)+($$_)))+(((o^_^o)+(_$$))-(-(c^_^o)+(o^_^o)))+(-((o^_^o)-(c^_^o))+((o^_^o)+(_$$)))+((-(o^_^o)+($$_))+((_$$)+(_$$)-(o^_^o)+($$_))))-(-(((o^_^o)-(o^_^o))-(-(c^_^o)+(c^_^o)))+(-((o^_^o)-(c^_^o))+(($$_)-(c^_^o))))+(-(-((_$$)-(o^_^o)+(_$$)+($$_))+(-(c^_^o)+(o^_^o)))+((-(o^_^o)+($$_))+(-(c^_^o)+(o^_^o)))))+(((-(-($$_)+($$_))+(-(c^_^o)+(_$$)))+(-(($$_)+(_$$)+(_$$)-(o^_^o))+(-(c^_^o)+($$_)))-((($$_)-(c^_^o))+(-(_$$)-(_$$)+(o^_^o))-((o^_^o)-(c^_^o))+((_$$)-(c^_^o)))+((($$_)-(c^_^o))+((c^_^o)-(c^_^o))))+((-(-(c^_^o)+(c^_^o))+((_$$)-(c^_^o)))-(((_$$)+(_$$)-(o^_^o)+($$_))-((o^_^o)-(o^_^o)))+(-((o^_^o)-(c^_^o))+((o^_^o)+(_$$)))+(((_$$)-(_$$))+((c^_^o)+($$_))))+(((-($$_)+($$_))+(($$_)-(c^_^o)))-((($$_)-(o^_^o)+(_$$)+(_$$))-(-($$_)+($$_)))))+(__$)[_$]+(((-(-(_$$)-(_$$)+(o^_^o))+(-(o^_^o)+($$_)))+(-(-($$_)+($$_))+(-(c^_^o)+($$_))))+(-(-((_$$)-(_$$))+((c^_^o)-(c^_^o)))+(((_$$)-(o^_^o)+(_$$)+($$_))-((c^_^o)-(c^_^o))))-(-(-((_$$)-(_$$))+((c^_^o)-(c^_^o)))+(((_$$)+($$_)-(o^_^o)+(_$$))-(-(_$$)+(o^_^o)-(_$$))-(($$_)-(o^_^o)))))+(-(((-(c^_^o)+($$_))-(($$_)-($$_)))+((-(c^_^o)+(_$$))-(-(_$$)-(_$$)+(o^_^o))))+((-(-(o^_^o)+(o^_^o))+(($$_)+(c^_^o)))+(-((o^_^o)-(_$$)-(_$$))+((o^_^o)-(_$$)-(_$$)))))+(__$)[_$]+(((-(-(c^_^o)+(c^_^o))+((_$$)+(_$$)-(o^_^o)+($$_)))-(((o^_^o)+(_$$))-((o^_^o)+(_$$))))+(((-(c^_^o)+(o^_^o))-(-(_$$)+(_$$)))-(-((o^_^o)+(_$$))+((o^_^o)+(_$$)))))+((-(((o^_^o)-(o^_^o))-(-($$_)+($$_)))+(-(-(c^_^o)+(o^_^o))+((o^_^o)+(_$$))+((o^_^o)-(_$$)-(_$$))+((_$$)-(c^_^o))))-(((-(c^_^o)+(o^_^o))-(($$_)-(o^_^o))-(-(o^_^o)+($$_)))+(-(-(_$$)+(_$$))+(-(c^_^o)+(o^_^o))))+(-(-(-($$_)+($$_))+(-($$_)+($$_)))+(-((_$$)-(_$$))+(($$_)-(o^_^o)+(_$$)+(_$$)))))+(__$)[_$]+(((-((_$$)-(c^_^o))+(-(c^_^o)+(o^_^o))-(($$_)-(o^_^o)))+(-(($$_)-(o^_^o))+((o^_^o)-(c^_^o))-(-(_$$)+(o^_^o)-(_$$)))-(-(-(c^_^o)+(o^_^o))+((o^_^o)+(_$$))+(($$_)-(o^_^o))+(($$_)-(o^_^o)))+(-((c^_^o)-(c^_^o))+(-(c^_^o)+($$_))))+((((_$$)-(c^_^o))+((_$$)+(o^_^o))-(($$_)+(_$$)+(_$$)-(o^_^o))+(-(_$$)-(_$$)+(o^_^o)))-(-((o^_^o)-(c^_^o))+((o^_^o)-(c^_^o)))))+(((-((_$$)+(_$$)-(o^_^o)+($$_))+((o^_^o)+(_$$))+(($$_)-(o^_^o))+(-(_$$)-(_$$)+(o^_^o)))-((-(o^_^o)+(o^_^o))-((_$$)-(_$$))))+(-(-(($$_)+(c^_^o))+(($$_)+(c^_^o)))+(-(-($$_)+($$_))+((_$$)+($$_)+(_$$)-(o^_^o))))+((-(-(o^_^o)+($$_))-(-(_$$)+(o^_^o)-(_$$))+(-(o^_^o)+(_$$)+($$_)+(_$$)))-(-(($$_)-($$_))+((o^_^o)-(o^_^o)))))+(__$)[_$]+(-(((-(_$$)+(o^_^o)-(_$$))-(-($$_)+($$_)))-((-(c^_^o)+(_$$))-(-(_$$)-(_$$)+(o^_^o))))+(((-(c^_^o)+($$_))+((o^_^o)-(o^_^o)))-(((_$$)-(c^_^o))-(-(c^_^o)+(o^_^o))+(-(_$$)-(_$$)+(o^_^o))+(($$_)-(c^_^o)))+(-((_$$)-(_$$))+((o^_^o)-(_$$)-(_$$)))+(-(-($$_)+($$_))+(-(o^_^o)+($$_))))+(-((-(c^_^o)+(c^_^o))-(-(_$$)+(_$$)))+(((o^_^o)-(c^_^o))+(-(_$$)-(_$$)+(o^_^o)))))+(((-(-(c^_^o)+(c^_^o))+((o^_^o)-(_$$)-(_$$)))+(-(($$_)-($$_))+(($$_)+(c^_^o)))+(((_$$)+(o^_^o))-((_$$)+(_$$)-(o^_^o)+($$_)))-(((o^_^o)-(c^_^o))-(($$_)-($$_))))-((-(($$_)-(o^_^o))+(-(c^_^o)+(o^_^o))-(-(o^_^o)+($$_)))-(-((o^_^o)-(o^_^o))+(-(_$$)+(_$$))))+(-((-(c^_^o)+($$_))-((c^_^o)+($$_)))+(((o^_^o)-(c^_^o))-((o^_^o)-(o^_^o)))))+(__$)[_$]+((-(-((o^_^o)+(_$$))+(($$_)-(c^_^o)))+(-(-(_$$)-(_$$)+(o^_^o))+((o^_^o)-(c^_^o))-(-(o^_^o)+($$_))))+(-(-(($$_)-(c^_^o))+((o^_^o)+(_$$)))+(-(-(_$$)+(_$$))+((_$$)+(o^_^o))))+(-(-(($$_)-($$_))+(-(c^_^o)+(o^_^o)))+((($$_)-(o^_^o))+((o^_^o)-(c^_^o)))))+(-(-(-((_$$)-(_$$))+((o^_^o)-(o^_^o)))+((($$_)-(o^_^o))+(($$_)-(c^_^o))-((o^_^o)-(c^_^o))+(-(_$$)+(o^_^o)-(_$$))))+(-(-(($$_)-(o^_^o))+((o^_^o)-(c^_^o))-(-(o^_^o)+($$_)))-((-(o^_^o)+($$_))-((c^_^o)-(c^_^o)))+(((o^_^o)-(c^_^o))-(-(c^_^o)+(c^_^o))))+((-(($$_)-(o^_^o)+(_$$)+(_$$))+(($$_)-(o^_^o)+(_$$)+(_$$)))+((-(c^_^o)+(_$$))+(-(c^_^o)+(o^_^o)))))+(__$)[_$]+(((((_$$)-(_$$))+((_$$)+(o^_^o)))+((-(_$$)+(o^_^o)-(_$$))-((o^_^o)-(o^_^o)))-(((c^_^o)+($$_))+(($$_)-(o^_^o))+((o^_^o)-(_$$)-(_$$))-((o^_^o)-(c^_^o)))+(-(($$_)+(_$$)-(o^_^o)+(_$$))+((c^_^o)+($$_))))+((((_$$)+(o^_^o))+(-(_$$)-(_$$)+(o^_^o))+(-(c^_^o)+(_$$))-((o^_^o)-(c^_^o)))-(((_$$)+(_$$)+($$_)-(o^_^o))-(-(c^_^o)+(o^_^o)))))+((((-(_$$)+(o^_^o)-(_$$))-(-(c^_^o)+(o^_^o))+((_$$)+(o^_^o))+(-(c^_^o)
    12 replies    2017-05-06 16:07:41 +08:00
    Valyrian
        1
    Valyrian  
       May 6, 2017
    我服。。
    des
        2
    des  
       May 6, 2017 via Android   1
    这个就是组成一个包含大部分关键字的数组,然后 new 一个 function,最后执行
    murmur
        3
    murmur  
       May 6, 2017
    碰到这种代码,先格式化,肯定有一部分是符号到字母的映射表,解出这部分来剩下就都好解了

    应该比汇编加花简单多了
    congeec
        4
    congeec  
       May 6, 2017   10
    wyfyw
        5
    wyfyw  
       May 6, 2017
    @congeec 太神奇了。挺逗的。
    jackcheng
        6
    jackcheng  
       May 6, 2017
    果然神奇,搭车请教还有哪些比较好的 JS 混淆算法
    wly19960911
        7
    wly19960911  
       May 6, 2017 via Android
    @congeec
    hhhhh,真有意思,日本人还是神奇
    songz
        8
    songz  
       May 6, 2017
    6666
    ykjsw
        9
    ykjsw  
    OP
       May 6, 2017 via iPhone
    日本的那个我搜到过,也找到解码的,但解不了我这个
    wibile
        10
    wibile  
       May 6, 2017
    Biwood
        11
    Biwood  
       May 6, 2017
    你这段代码不完整,后面明显少了几个闭合括号,放调试器里面执行会报错。其实要解析出来也不难,Facebook 最近出的 prepack 可以把这段代码转换的更简洁易读
    ykjsw
        12
    ykjsw  
    OP
       May 6, 2017
    @Biwood 是的,代码太长了,帖上来的时候,提示超长了,所以截了一些。
    About     Help     Advertise     Blog     API     FAQ     Solana     1179 Online   Highest 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 71ms UTC 17:46 PVG 01:46 LAX 10:46 JFK 13:46
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86