V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
alex58
V2EX  ›  程序员

这种主页是被加密了吗? 有办法解密吗?

  •  
  •   alex58 · 2022-09-12 13:46:00 +08:00 · 4861 次点击
    这是一个创建于 799 天前的主题,其中的信息可能已经有所发展或是发生改变。
    <script>['sojson.v4']["\x66\x69\x6c\x74\x65\x72"]["\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72"](((['sojson.v4']+[])["\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72"]['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65']['\x61\x70\x70\x6c\x79'](null,"100P111W99k117A109N101L110a116j46k119q114B105p116T101P108H110O40K34o60W104M116D109J108R62t34s41V59y10y100X111v99a117L109m101K110y116Z46M119E114p105L116f101F108P110A40h34E32f60w104K101L97G100m62b32A34h41v59k10B100Z111j99h117B109R101s110T116j46G119n114x105n116r101Y108s110P40U34B60I109e101F116a97r32S104L116E116B112t45e101W113O117Y105I118y61V92U34J67H111Y110e116m101X110F116b45w84h121U112q101L92G34F32J99L111Y110x116a101X110m116y61Y92q34i116R101U120M116X47V104X116M109F108j59O32c62n34y41i59s10x100h111W99G117J109K101V110G116k46E119t114t105s116y101I108O110e40n34l32V32b60n109O101k116a97f32C104h116e116L112l45v101w113G117W105B118K61t92t34J88n45K85h65h45T67N111L109j112s97X116a105s98l108K101O92U34k32t99A111Z110u116m101G110m116k61K92l34D73h69C61K101E100q103X101U92b34Q32V47C62Z34d41r59x10c100G111K99r117r109c101L110H116t46q119F114q105u116t101d108p110S40b34L32y32s60p115L99F114h105t112b116L62u100X111i99V117l109x101d110q116C46f97S100C100i69V118r101t110p116j76r105Z115C116J101C110t101B114E40Q92c39Z68O79u77f67e111I110s116n101x110x116N76e111T97y100m101K100V92u39F44Z32h102N117I110M99x116G105G111G110X40T41F32s123a34i41t59c10T100X111l99N117K109g101C110g116y46X119Z114r105K116G101R108I110o40w34A32N32d32X32Q32T32P32j32c32S32i32m32Y32g32V32T32f100G111P99O117H109Q101r110A116e46P100l111z99D117k109t101U110D116E69b108a101H109o101b110N116M46e115R116U121o108j101f46d102t111W110Z116M83t105G122f101i32w61l32C100P111E99Q117U109I101h110F116X46Y100G111t99z117X109j101d110R116t69Y108b101P109C101q110J116v46y99i108T105L101b110N116B87Z105J100f116J104q32I47h32I50g48Q32x43K32t92h39D112U120y92z39d34Z41T59z10P100y111q99r117y109A101i110E116E46U119e114f105R116L101y108D110Q40u34g32a32t32l32i32p32k32P32k32v32i32n32M125r41P34A41p59H10m100J111x99P117F109e101J110o116q46a119a114r105O116Q101u108n110D40G34s32O32Q32N32p32p32O32M32B32Y32Z32G32r118x97M114D32Z99M111N118D101h114a83a117H112P112R111V114k116J32L61c32d92G39M67u83w83i92p39H32E105A110A32c119Z105i110p100N111s119X32X38F38V32X116O121k112P101U111g102N32E67V83G83W46e115n117g112f112d111t114p116R115w32M61R61P61E32Y92Z39S102K117O110y99R116h105G111O110Y92P39K32a38A38Y32j40r67h83k83r46X115j117b112x112h111V114O116j115e40k92p39M116E111j112h58V32Q101o110y118I40l97E41d92h39E41V32b124E124A32n67s83b83q46u115Q117m112W112Z111Y114U116a115E40A92V39y116g111m112l58K32Y99W111j110d115c116F97a110J116P40t97N41j92X39s41Q41m34i41u59W10y100S111U99W117q109O101q110c116V46M119Q114Q105b116O101r108J110b40O34J32u32u32L32q32L32h32l32N32Z32W32W32C100D111T99E117M109n101o110n116o46R119y114x105m116V101v40X92O39J60N109L101r116D97t32P110U97G109d101x61J92m34a118q105O101I119a112o111d114r116j92c34N32Y99A111Y110d116W101P110N116w61W92y34Q119n105m100m116D104U61y100y101Y118h105N99N101o45m119j105o100P116p104C44x32K117m115X101n114E45G115r99s97e108I97O98x108K101Z61t110P111t44N32f105N110V105g116g105b97w108F45m115W99d97U108H101p61i49A46c48g44w32w109V97F120B105C109W117n109x45Q115t99W97D108A101C61H49o46j48W44u32a109V105t110d105r109P117U109D45v115e99O97f108M101C61z49E46V48a92x39y32u43n32R40d99S111E118h101i114R83T117O112d112m111b114Z116z32x63a32S92q39R44e32U118J105B101s119S112U111X114o116p45X102B105e116B61l99M111n118R101v114j92r39e32u58Q32a92h39E92R39Q41i32s43H32e92P39v92j34v32y47J62o92t39v41m60e47f115c99e114v105z112n116e62G34Q41w59I10Q100k111f99s117W109O101e110m116p46U119B114B105Q116r101B108J110A40b34A32Z32i60X109w101L116K97U32U110u97d109O101J61K92s34a118v105Q101S119P112x111k114o116E92y34h32k99J111r110b116Q101T110r116U61D92l34E119F105S100Y116l104f61y100P101U118y105j99X101e45p119R105D100E116Q104N44t32o117D115k101I114a45f115v99E97h108l97k98P108s101u61W110Z111M44K32W105b110z105f116p105e97V108r45d115b99p97z108B101M61H49g46l48z44C32w109I97v120w105T109p117z109E45p115s99Q97K108N101J61j49j46G48u44g32h109U105J110H105j109z117T109K45s115c99D97r108k101u61S49T46m48O44l32r118T105H101F119W112s111d114y116A45t102N105P116h61f99o111Q118Q101r114a92w34w32X47V62K34z41p59n10z100m111N99W117K109E101K110z116X46E119k114L105k116n101G108Y110R40J34e32m60G47W104D101r97V100h62Z32B34c41v59i10p100m111x99o117o109K101p110b116U46y119f114l105v116d101O108d110O40u34c60f109F99d101V58G115o116Q121K108l101I62b60I33H45A45q34F41w59c10l100r111L99X117H109X101T110W116k46N119Z114T105h116S101u108Z110L40Q34D98A111u100C121D32G123N32t109q97m114b103O105G110x58h32G48c112Z120Z59w32U32Z125R34i41l59E10i100w111U99r117O109k101f110h116e46n119q114A105F116H101k108M110i40Z34Q105k102F114e97r109c101B32x123H98I111J114t100x101Q114m58m32s48w112g120z59k125n34a41y59I10a100G111Y99x117O109f101T110A116V46C119P114Q105w116X101T108v110i40Y34o45E45k62E60V47S109W99q101j58N115a116X121l108o101E62Y60Q115V116p121Q108w101N32L109P99j101a95z98i111V103A117X115L61C92O34K49l92v34O62t98i111C100Q121M32t123h32C109a97U114V103R105c110B58Y32N48b112l120T59c32h32o125a34L41b59C10b100P111d99B117T109d101U110z116e46B119E114e105l116l101U108C110I40l34F105k102l114u97s109C101S32j123g98p111E114b100T101g114T58z32v48D112U120I59S125K60Y47o115i116C121z108a101U62X34r41M59Q10m100H111i99t117u109K101F110Y116T46Q119P114D105Z116x101w108v110j40V34U60P47r104K101B97B100J62K34r41y59G10x100e111X99S117u109T101Z110L116R46A119e114i105E116v101R108Q110J40p34H60h109C99R101c58O115F99x114h105d112g116H32B116g121m112T101L61Y92J34J116v101C120s116Q47D106V97h118V97K115j99A114b105r112A116V92U34f62O60K33c45n45j34W41H59b10j100a111z99D117y109y101k110d116F46e119V114E105y116C101k108N110U40Y34e9r9g102X117B110K99s116c105j111w110e32Q114M101o115o105G122B101a40L41z123K34R41k59Y10i100N111t99z117E109l101S110J116S46G119X114w105w116M101e108H110w40i34n9O9e9f100M111b99m117h109U101F110x116G46I103w101y116V69C108z101r109p101t110V116w66z121o73A100A40w92U39v102X114M97Z109f101o51b100t92X39U41V46h115z116D121y108r101Y46m104m101b105v103D104l116G32z61j32e100O111o99i117H109a101t110G116e46Y98P111z100T121q46i99F108x105m101U110S116V72l101Z105z103V104f116U32g45L32m56M52A43J92M34q112n120d92j34g59j34T41Z59F10S100M111G99X117B109T101X110k116o46D119I114s105x116c101n108e110y40r34H9B9T125a34I41h59Z10Q100b111L99N117p109L101B110p116w46S119j114p105H116o101N108Y110J40X34S9N9v119o105z110Q100Z111k119c46D111C110L114V101H115T105T122Z101e32Y61d32O114q101P115V105w122V101f59T34S41Q59v10w100B111v99J117j109i101X110s116m46k119O114Y105I116e101x108j110G40j34H9o9j34H41O59x10D100G111G99f117r109c101J110y116I46w119a114A105f116S101s108l110Q40B34Z47e47e32s45K45q62Y60Z47k109q99w101o58q115b99S114k105G112d116R62T34R41D59f10q100T111O99f117c109V101U110g116f46e119C114M105J116D101x108n110M40w34E60r98B111N100U121e32Z115x99I114T111Y108K108j61A92T34H110w111E92i34g62P34z41g59X10O100r111c99g117r109E101x110v116E46g119L114Y105w116i101D108Z110E40g34h60X105X102T114p97K109U101i32D105j100L61f92Q34I102L114d97u109s101H51G100K92K34J32v110J97h109D101S61t92o34x102u114M97h109n101F51N100Z92o34S32s102p114m97q109i101a98t111e114i100O101S114P61M92t34o48j92H34i32U119j105K100e116w104u61y92y34y49S48X48o37y92B34F32r115Q99p114t111W108P108r105H110M103d61O92G34W97d117W116v111a92h34i34g41p59e10D100J111F99o117y109r101B110G116t46x119S114i105Z116H101Z108p110T40m34e9t115l116N121A108h101X61c92A34Z109R97t114R103A105g110Z45n116i111J112p58u92w34B32E959J110R108J959d97N100C61L92W34q116q104T105X115R46S115a116T121q108H101h46S104U101z105f103w104m116l61x100x111S99i117b109z101p110B116X46V98U111P100w121Z46B99B108Q105r101B110u116S72s101A105W103A104o116F45H56d52f92J34J34a41Z59R10h100j111I99i117R109P101y110E116h46d119P114v105g116l101G108K110a40i34P9B104I101k105P103A104m116f61W92N34b57a57x46R57z37V92c34z32x115F114t99D61V92s34v104L116T116h112S58Z47H47l100V113e116P46U53H55h120y99h120A46B99G111d109y47k92j34x32x109p99t101t95a115A114Q99Q61r92d34l104Y116h116k112f58b47I47R100S113N116L46A53X55v120D99n120q46R99Y111b109R47t92A34k62C60b47f105B102b114o97j109W101E62B32F34l41r59P10k100F111G99D117N109z101U110E116M46R119T114t105n116d101q108L110i40t34N60Q47C98b111x100o121F62S34h41Z59O10f100h111v99V117c109L101e110U116T46I119T114y105U116A101k108f110C40U34P60i47Y104B116P109C108y62R34R41w59"['\x73\x70\x6c\x69\x74'](/[a-zA-Z]{1,}/))))('sojson.v4');</script>
    12 条回复    2022-09-14 23:38:05 +08:00
    we9ta
        1
    we9ta  
       2022-09-12 13:49:06 +08:00   ❤️ 3
    ```js

    /*
    *Aman - 194nb.com
    */
    document.writeln("<html>");
    document.writeln(" <head> ");
    document.writeln("<meta http-equiv=\"Content-Type\" content=\"text/html; >");
    document.writeln(" <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />");
    document.writeln(" <script>document.addEventListener(\'DOMContentLoaded\', function() {");
    document.writeln(" document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + \'px\'");
    document.writeln(" })");
    document.writeln(" var coverSupport = \'CSS\' in window && typeof CSS.supports === \'function\' && (CSS.supports(\'top: env(a)\') || CSS.supports(\'top: constant(a)\'))");
    document.writeln(" document.write(\'<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\' + (coverSupport ? \', viewport-fit=cover\' : \'\') + \'\" />\')</script>");
    document.writeln(" <meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover\" />");
    document.writeln(" </head> ");
    document.writeln("<mce:style><!--");
    document.writeln("body { margin: 0px; }");
    document.writeln("iframe {border: 0px;}");
    document.writeln("--></mce:style><style mce_bogus=\"1\">body { margin: 0px; }");
    document.writeln("iframe {border: 0px;}</style>");
    document.writeln("</head>");
    document.writeln("<mce:script type=\"text/javascript\"><!--");
    document.writeln(" function resize(){");
    document.writeln(" document.getElementById(\'frame3d\').style.height = document.body.clientHeight - 84+\"px\";");
    document.writeln(" }");
    document.writeln(" window.onresize = resize;");
    document.writeln(" ");
    document.writeln("// --></mce:script>");
    document.writeln("<body scroll=\"no\">");
    document.writeln("<iframe id=\"frame3d\" name=\"frame3d\" frameborder=\"0\" width=\"100%\" scrolling=\"auto\"");
    document.writeln(" style=\"margin-top:\" οnlοad=\"this.style.height=document.body.clientHeight-84\"");
    document.writeln(" height=\"99.9%\" src=\"http://dqt.57xcx.com/\" mce_src=\"http://dqt.57xcx.com/\"></iframe> ");
    document.writeln("</body>");
    document.writeln("</html>");

    ```
    alex58
        2
    alex58  
    OP
       2022-09-12 13:50:27 +08:00
    厉害
    Tabjy
        3
    Tabjy  
       2022-09-12 15:58:00 +08:00
    MarkZuckerberg
        4
    MarkZuckerberg  
       2022-09-12 17:06:53 +08:00
    请问任何一个网页都可以用这种方法加密吗?
    efaun
        5
    efaun  
       2022-09-12 17:39:16 +08:00   ❤️ 1
    这不叫加密吧, 只是编码了, 那么问题来了, base64 是一种加密方式吗?
    yankebupt
        6
    yankebupt  
       2022-09-12 19:34:36 +08:00
    我记得 webpack 那一套里有一个打包工具也会这么打包,是哪个忘了,反正见过
    A01514035
        7
    A01514035  
       2022-09-12 19:52:17 +08:00
    DonDonc
        8
    DonDonc  
       2022-09-12 21:35:56 +08:00
    @efaun 现代密码学的角度不算加密,但是我认为现代计算机科学上的编码其实都可以算古典加密

    https://en.wikipedia.org/wiki/Classical_cipher
    liuguang
        9
    liuguang  
       2022-09-12 23:09:34 +08:00
    前面明显就是一个匿名函数,然后参数是 'sojson.v4',比如说是 func1('sojson.v4');
    那么我把后面的('sojson.v4');去掉,在控制台里面就可以打印这个函数
    jinliming2
        10
    jinliming2  
       2022-09-12 23:18:31 +08:00   ❤️ 1
    @DonDonc 还是有区别的,编码和古典密码的区别是,映射对照表是否公开、固定。公开固定的是编码,不公开的是弱密码。
    因为加密的最重要的一个东西就是“密码”,只能少数人持有,保密,不受欢迎的人拿不到只能靠猜。
    所以,base64 是编码而不是加密,因为映射表是标准固定公开的。当然,你也可以自己定义一套完全独立没人知道的映射表,算法和 base64 完全一样,就映射表不一样,这样也可以算是加密了。
    DingJZ
        11
    DingJZ  
       2022-09-13 15:08:02 +08:00
    用 chrome debug,可以打一个事件(click)断点,断点的时候会自动还原成 js 代码,我用这种方式破解过一个收费库.
    we9ta
        12
    we9ta  
       2022-09-14 23:38:05 +08:00
    @A01514035 这个时代吗混淆,基本还原不回来,打断点轻松调试
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5333 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 09:20 · PVG 17:20 · LAX 01:20 · JFK 04:20
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.