記事一覧はこちら

リアル脱出ゲームTV(2014/01/03)のjs

エスケープがめんどいのでpre 次回放送の自分へ、解析してももう無駄です。 これランダム部分は固定ですか?

(function(u, w) {
    var z = ["2014/1/3 21:30:25", "2014/1/3 21:40:54", "2014/1/3 22:36:05", "2014/1/3 23:07:35", "2014/1/3 22:28:25"];
    var A = [['tmm```kfb'], ['s', 'p2', 'p2g', 'p1l', 'd', 'y1'], ['uk`vozjmewr', 'pjdb4xrf`q'], ['80=038g1c=d`1g6:a`4=e:m6dl6g21gaj<0k`e4a$1J4d>337=db!3@17ejg4bfd3?de94b60b10<4h=4ca9fo6co=436cg,7E0aac`2el06m0:046fjg68g4g48eka7m05bbc2141,7@2f6695383f7f9fm67<6gb1e4:gg:0e>02gj5b=3g', '6a>64;7:5707<=g>64?g3015bj7g7fca<ma44<40>6g:,7Ek6;cg50:25l25c`1aj1`j<;d7eek0c025419;;ad,7@0f26j`4l00g33;?5`m53`e6`:abj3:1`0f;3glc;#6Bf9d`o356b6f>0b01`73c`81gjg4g2751g0k322b8'], ['iw}uu,6B)+bd`+rkv-ek/iy*vyvkq+sfhibndncPW,', '.fgtslqf(`n'], ['Pvlvr`jmY5^&|66?@&s2C5: s1 v5444,p590E#q2397#:Fat!33& 5L v3B06,p591G#q6G0D#|632@$v:568 v117B,p1M17#q2307#|6330$v1 v547A,p593B#q23?6#|6302$v:52H v0=6G,p5904#q23>C#|1F6F$v:53< v5457,p5951', '$v<72M v315E,p?11@#q23?G#|3A07$v1=D0,p593E#q23J<#|63C=$v:5BL v3596,p5934#q65>D#|=;0<$v:53> v546F,p590:#q2397#:Fat!33& 5L v3B06,p591G#q6G0D#|632@$v>00H v1@57,p59<1#q23<1#|=:G3$v:50K v547B,p5930#q23?3#|632E$v?<1M v5444,p592E#q5F9G#|6331$v:52= v5411'], ['sfmZrqq', 'lb`k', 'ojjnhhhf'], ['1', '$6K 3K356!3@;04,0G#6B&,0G#6B& 4J764!4G,7E,0A522&;F5;1&3@$1J 3K752!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G#6B&,7@52$6M 4J 6D03:,7E:55#1E&;F#,7@5=7& 4J64>!4G,7E,0A2=4&;F1; 6B!3@,0D?74#6B6= 3M 1E!4A833,7@255&,0G#6B&,7@503&4$6M 4J 6D273,7E:77#1E&;F#9 6B!3@,0D0<&4G52= 3M 1E!4A833,7@6!4G,7E,0A268&;F3= 6B!3@,0D8<;#6B093#7&3@$1J 3K606!3@;26,0G#6B&=&3@$1J 3K7:1!3@:14,0G#6B&5#,7@565&<$6M 4J 6D234,7E:77#1E&;F#<$6M 4J 6D677,7E;67#1E&;F#<$6M 4J 6D27&;F715&3@$1J 3K752!3@:36,0G#6B&5#7&3@$1J 3K11?!3@>7#5&3@$1J 3K5&4G031 3M 1E!4A:35,7@457&,7@723& 4J720!4G,7E,0A268&;F281&3@$1J 3K11?!3@;04,0G#6B&1 6B!3@,0D=31#6B1<7#,7@?4$6M 4J 6D=8&;F1; 6B!3@,0D?33#6B11=#!4G,7E,0A320&;F5? 6B!3@,0D=31#6B183#,0G#6B&=#=&3@$1J 3K11?!3@;=>,0G#6B& 4J65#1E&;F#7#!4G,7E,0A425&;F7;3&3@$1J 3K655!3@870,0G#6B& 1E76;,0B,7@#1C1?1#;F0?2$6M 4J 6D086,7E:<5#1E&;F#4$6M 4J 6D521,7E:33#1E&;F#<$6M 4J 6D58;,7E817#1E&;F#,7@16$6M 4J 6D723,7E:55#1E&;F# 4J656!4G,7E,0A425&;F5;1&3@$1J 3K606!3@;04,0G#6B&!4G,7E,0A3=5&;F6,0G#6B&4$6M 4J 6D723,7E85;#1E&;F#!4G,7E,0A320&;F70=&3@$1J 3K4:>!3@:2>,0G#6B&,0G#6B&5&3@$1J 3K154!3@:2>,0G#6B&!3@85>,0G#6B&,7@413& 1E4$6M 4J 6D273,7E85;#1E&;F#,0G#6B&,7@457&!3@=42,0G#6B&,7@413&!4G,7E,0A57$1J44? 6B!3@,0D:6&4G3;1 3M 1E!4A:<0,7@30$6M 4J 6D622,7E:11#1E&;F#!4G,7E,0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!4G,7E,0A470&;F0:5&3@$1J 3K7:1!3@><4,0G#6B&<1#1E&;F#54,0G#6B&22,0G#6B& 4J260!4G,7E,0A4=6&;F0?3&3@$1J 3K35#6B713#1#3#85&3@$1J 3K404!3@<52,0G#6B&!3@=06,0G#6B&!4G,7E,0A268&;F2?=&3@$1J 3K60#6B4;5# 1E333,0B,7@#1C0?6#;F444$6M 4J 6D172,7E?35#1E&;F#2$6M 4J 6D280,7E?=7#1E&;F#2$6M 4J 6D72&;F0==&3@$1J 3K154!3@>22,0G#6B&,7@2<7&3&3@$1J 3K0:2!3@?66,0G#6B&69& 4J2:4!4G,7E,0A021&;F197&3@$1J 3K707!3@?44,0G#6B&51&69&=3&3@$1J 3K707!3@<20,0G#6B& 4J15>!4G,7E,0A522&;F087&3@$1J 3K606!3@>00,0G#6B&6;#1E&;F#!4G,7E,0A57$1J=41 6B!3@,0D8<;#6B5==#0$6M 4J 6D4$1J04; 6B!3@,0D:<5#6B7<5#;=&3@$1J 3K404!3@110,0G#6B& 1E07;,0B,7@#1C601#;F6?0$6M 4J 6D72&;F0?3&3@$1J 3K1:3!3@>00,0G#6B&00,0G#6B&00,0G#6B& 1E117,0B,7@#1C2?0#;F7>2$6M 4J 6D=8&;F3;7&3@$1J 3K655!3@?=2,0G#6B&07&3&3@$1J 3K6:0!3@?66,0G#6B&51&!4G,7E,0A066&;F2<5&3@$1J 3K<:#6B407#76,0G#6B&=3&3@$1J 3K35#6B6=5#? 6B!3@,0D;<4#6B4>1# 1E25;,0B,7@#1C6;=#;F554$6M 4J 6D622,7E?=7#1E&;F# 4J014!4G,7E,0A268&;F391&3@$1J 3K7:1!3@>76,0G#6B&69&!4G,7E,0A425&;F2<5&3@$1J 3K404!3@?30,0G#6B&,7@179&6>,0G#6B&,0G#6B&1&3@$1J 3K7:1!3@?66,0G#6B&!4G,7E,0A470&;F2<5&3@$1J 3K655!3@<<2,0G#6B&27#1E&;F#= 6B!3@,0D;<4#6B587#73#1E&;F#!4G,7E,0A320&;F3;7&3@$1J 3K404!3@==0,0G#6B&0$6M 4J 6D187,7E<0;#1E&;F#05#1E&;F#3# 1E<3;,0B,7@#1C:0 4J37>!4G,7E,0A2=4&;F1>1&3@$1J 3K057!3@><4,0G#6B&;=&3@$1J 3K154!3@>76,0G#6B&!4G,7E,0A0=2&;F107&3@$1J 3K0:2!3@146,0G#6B&3&3@$1J 3K404!3@<<2,0G#6B&22,0G#6B&,7@301&<4,0G#6B&,7@273&<4,0G#6B&!4G,7E,0A0=2&;F1;5&3@$1J 3K057!3@=06,0G#6B&69&6>,0G#6B&85&3@$1J 3K311!3@>76,0G#6B&,0G#6B&2$6M 4J 6D576,7E<0;#1E&;F#1#!4G,7E,0A522&;F3;7&3@$1J 3K356!3@=06,0G#6B& 4J040!4G,7E,0A0=2&;F2?=&3@$1J 3K356!3@110,0G#6B&51&;=&3@$1J 3K6:0!3@><4,0G#6B&!4G,7E,0A2=4&;F213&3@$1J 3K5&4G619 3M 1E!4A0<#;F756$6M 4J 6D785,7E17;#1E&;F#05#1E&;F#,0G#6B&!3@>54,0G#6B&!4G,7E,0A5=7&;F3=5&3@$1J 3K606!3@<16,0G#6B&!3@<<2,0G#6B&;=&3@$1J 3K01>!3@?30,0G#6B&07&!4G,7E,0A0=2&;F3=5&3@$1J 3K11?!3@>54,0G#6B&69&!4G,7E,0A57$1J37; 6B!3@,0D:63#6B4:=#,7@363&,7@071&=3&3@$1J 3K606!3@<52,0G#6B&73#1E&;F#00,0G#6B&,0G#6B&22,0G#6B& 4J=70!4G,7E,0A5=7&;F3>3&3@$1J 3K35#6B6=5#6;#1E&;F#27#1E&;F#6;#1E&;F#= 6B!3@,0D=7:#6B713#27#1E&;F#,0G#6B&,0G#6B&,7@0<5&=3&3@$1J 3K752!3@?30,0G#6B&76,0G#6B&,7@009&!4G,7E,0A470&;F0?3&3@$1J 3K453!3@?30,0G#6B&51&3&3@$1J 3K35#6B713#2$6M 4J 6D58;,7E<<7#1E&;F# 1E187,0B,7@#1C506#;F576$6M 4J 6D72&;F2?=&3@$1J 3K1:3!3@146,0G#6B&!4G,7E,0A2=4&;F2:7&3@$1J 3K707!3@>54,0G#6B&69&!4G,7E,0A57$1J15; 6B!3@,0D;37#6B5==#3# 1E367,0B,7@#1C6?4#;F660$6M 4J 6D13;,7E>6;#1E&;F#,0G#6B&05#1E&;F# 1E<55,0B,7@#1C20=#;F612$6M 4J 6D086,7E=03#1E&;F# 1E201,0B,7@#1C102#;F7>2$6M 4J 6D4$1J101 6B!3@,0D861#6B6>3#76,0G#6B&22,0G#6B&<4,0G#6B&,0G#6B&2$6M 4J 6D4$1J3>= 6B!3@,0D?74#6B7<5#6;#1E&;F#76,0G#6B&2$6M 4J 6D622,7E?41#1E&;F#!4G,7E,0A3=5&;F3<=&3@$1J 3K7:1!3@?1>,0G#6B& 4J20>!4G,7E,0A369&;F2<5&3@$1J 3K4:>!3@17>,0G#6B&69&51#1E&;F#!4G,7E,0A?=$1J2?; 6B!3@,0D;62#6B6=5#1#!4G,7E,0A223&;F107&3@$1J 3K4:>!3@>6>,0G#6B&51&,0G#6B&54,0G#6B&<1#1E&;F#05#1E&;F#!4G,7E,0A724&;F>85&3@$1J 3K707!3@<74,0G#6B&3&3@$1J 3K6:0!3@<0>,0G#6B&22,0G#6B&73#1E&;F#6;#1E&;F#6;#1E&;F# 1E381,0B,7@#1C20=#;F;22$6M 4J 6D27&;F>85&3@$1J 3K01>!3@==0,0G#6B&;=&3@$1J 3K11?!3@?66,0G#6B&6;#1E&;F#69& 10000) {
            M += 1000;
            clearInterval(O);
            bq()
        }
        ;
        M += a - (N + M)
    };
    var bs = function(a) {
        var b = bX();
        var c = Math.round((P - b) / 1000);
        if (c <= 0) {
            if (a) {
                c = 0
            } else {
                bx();
                return
            }
        }
        ;
        var h = Math.floor(c / 3600);
        c -= (h * 3600);
        var m = Math.floor(c / 60);
        c -= m * 60;
        if (h > 99)
            h = h % 100;
        if (h < 10)
            h = "0" + h;
        if (m < 10)
            m = "0" + m;
        if (c < 10)
            c = "0" + c;
        var d = "" + h + m + c;
        for (var i = 1; i <= 6; i++) {
            var e = bZ("time_num" + i);
            var f = d.charAt(i - 1);
            if (f == 0)
                e.style.backgroundPosition = "bottom";
            else
                e.style.backgroundPosition = "0px " + (f - 1) * V + "px"
        }
        ;
        if (bj < b)
            bP(bk)
    };
    var bt = function() {
        var a = u.localStorage.getItem(bd + "_setKey1");
        var b = u.localStorage.getItem(bd + "_setKey2");
        var c = u.localStorage.getItem(bd + "_setKey3");
        var d = u.localStorage.getItem(bd + "_setKey4");
        var p = u.localStorage.getItem(bd + "_getParam");
        if ((navigator.userAgent.indexOf('iPhone') > 0 || navigator.userAgent.indexOf('iPad') > 0) || navigator.userAgent.indexOf('iPod') > 0 || navigator.userAgent.indexOf('Android') > 0) {
            var e = "/realdgameTV/smp/"
        } else {
            var e = "/realdgameTV/"
        }
        ;
        if (!p || !a || !b || !c || !d) {
            if (!bm) {
                location.href = e;
                return
            }
        }
        ;
        var f = bU("times_text");
        if (f) {
            if (Z) {
                Z = 0;
                return
            }
            ;
            z = eval(f)
        }
        ;
        bS("test_div", "");
        bQ("test_div");
        if (!bm)
            bD(bl);
        var g = bZ(X);
        bN(g);
        bP(g);
        bw();
        if (C[2] == "q1n") {
            bj = (new Date(z[1])).getTime();
            z.splice(1, 1);
            C.splice(2, 1);
            bk = X + "1_img2"
        }
        ;
        if (C[C.length - 1] == "x2") {
            bi = (new Date(z[z.length - 1])).getTime();
            z.pop();
            C.pop()
        }
        ;
        ba = {};
        Q = [];
        for (var i = 0; i < z.length; i++) {
            var h = (new Date(z[i])).getTime();
            if (!h) {
                alert("time error");
                return
            } else {
                Q.push(h);
                ba[C[i]] = h
            }
        }
        ;
        U = document.hidden_form;
        U.handle.value = "1";
        if (sp_mode) {
            V = -20;
            var j = bZ("sel2");
            j.setAttribute("class", "iphoneselect");
            bk = X + "1_img_div2"
        }
        ;
        bb = E.length;
        for (i = 0; i < bb; i++) {
            E[i] = E[i].split(",")
        }
        ;
        if (B) {
            bL()
        }
        ;
        bu();
        bx();
        bO(X)
    };
    var bu = function() {
        var c = u.localStorage.getItem(bd + "_setKey2");
        var d = Math.round(c % 300) * 1000;
        setTimeout(function() {
            var a = new Image();
            var b = "img";
            if (sp_mode)
                b += "_sp";
            b += "/" + D[1] + ".png";
            a.src = b
        }, d)
    };
    var bv = function(a) {
        var b = '["' + a.join('","') + '"]';
        alert(b)
    };
    var bw = function() {
        var a = "end1,end2,ready";
        for (var i = 1; i <= bb; i++) {
            a += "," + X + i
        }
        ;
        a = a.split(",");
        for (i = 0; i < a.length; i++) {
            var b = bZ(a[i]);
            if (!b)
                break;
            var c = b.style;
            c.left = "0px";
            c.top = "0px";
            bQ(b)
        }
        ;
        bQ("time")
    };
    var bx = function() {
        bw();
        bQ("no_support");
        var a = 0;
        var b = bX();
        for (var i = 0; i < Q.length; i++) {
            if (Q[i] < b)
                a = i + 1;
            else
                break
        }
        ;
        S = C[a];
        var c = S.charAt(1) - 0;
        for (i = c; i <= bb; i++) {
            if (T[i]) {
                c++;
                S = "q" + c
            } else
                break
        }
        ;
        if (S == "q" + (bb + 1) && a < C.length) {
            S = "s"
        }
        ;
        var d = X + c;
        if (S.charAt(0) == "q") {
            if (S == "q2" && !T[1]) {
                S = "q1";
                d = X + 1
            }
            ;
            bP(d);
            bF();
            bz(bZ(d + "_img"), S.charAt(2))
        } else {
            d = "end";
            if (S == "s") {
                d += "1";
                S = C[C.length - 2]
            } else if (S == "r")
                d = "ready";
            else {
                by();
                d += "2"
            }
            ;
            bP(d)
        }
        ;
        clearInterval(R);
        if (a < C.length - 1) {
            P = Q[a];
            if (S == "q1")
                P = Q[1];
            bs("no_loop");
            R = setInterval(bs, 100)
        }
        ;
        var e = bZ(d).clientHeight;
        bZ("waku").style.height = e + "px"
    };
    var by = function() {
        var i;
        for (i = 1; i <= bb; i++) {
            u.localStorage.removeItem(bf + i)
        }
    };
    var bz = function(a, b) {
        var c = S.charAt(1) - 0;
        var d = D[c - 1];
        var e = "url(img";
        if (sp_mode)
            e += "_sp";
        e += "/" + d + ".png)";
        if (c == 1)
            e = 0;
        bB(a, e, bc[c]);
        if (c == 1) {
            bB(bZ("main1_img2"), e, bc[4]);
            if (bj > bX())
                bQ(bk)
        }
        ;
        if (c == 2) {
            bB(bZ("map_div"), e, bc[3]);
            bh = -1;
            if (!sp_mode)
                bZ("map_input").style.left = "-500px";
            bg = "-736px 0px,-736px -37px,-736px -88px,-736px -125px,-736px -179px,-736px -224px,-736px -282px,-736px -338px,-736px -394px,-736px -432px";
            bg = bg.split(",");
            for (var i = 0; i <= 9; i++) {
                var f = "map_a" + i;
                var g = bZ(f).style;
                g.backgroundImage = e;
                g.backgroundPosition = "-736px -500px";
                if (!sp_mode)
                    bN("map_p" + i)
            }
        }
        ;
        var h = X + c + "_red";
        var j = h + "_txt";
        h = bZ(h);
        j = bZ(j);
        if (b) {
            if (b == "a") {
                bS(j, bC(c))
            }
            ;
            bP(h)
        } else {
            if (c > 1 && !T[c - 1]) {
                bS(j, I[1]);
                bP(h)
            } else {
                if (c == 1 && !B)
                    bP("no_support");
                bQ(h);
                bP("time")
            }
        }
    };
    var bA = function(a) {
        var b = a.selectedIndex - 1;
        if (bh != -1) {
            bZ("map_a" + bh).style.backgroundPosition = "-736px -500px"
        }
        ;
        bh = b;
        if (b > -1) {
            var c = bZ("map_a" + b);
            c.style.backgroundPosition = bg[b]
        }
    };
    u.d = bA;
    var bB = function(a, b, c) {
        a.innerHTML = "";
        var d = c.length;
        for (var i = 0; i < d; i++) {
            var e = bY("div");
            e.setAttribute('class', 'main_block');
            if (b)
                e.style.backgroundImage = b;
            e.style.backgroundPosition = -c[i][0] + "px " + -c[i][1] + "px";
            a.appendChild(e)
        }
    };
    var bC = function(a) {
        var b = I[0].split("_");
        b[1] = a;
        b[3] = E[a - 1][0];
        return (b.join(""))
    };
    var bD = function(a) {
        a += "";
        var b = A;
        var c = b[8][0];
        J = 0 + c.charAt(0) + 0 + c.charAt(1);
        C = bM(b[1], a);
        D = bM(b[2], a);
        E = bM(b[3], a);
        F = bM(b[4], a);
        I = bM(b[5], a);
        var d = bM(b[6], a);
        W = d[0];
        X = d[1];
        Y = d[2];
        bc = bM(b[7], a);
        bc[1] = eval(bc[1]);
        bc[2] = eval(bc[2]);
        bc[3] = eval(bc[3]);
        bc[4] = eval(bc[4])
    };
    var bE = function() {
        if (!B)
            return;
        var a = S.charAt(1) - 0;
        if (S.length != 2)
            return;
        var b = bU("a" + a);
        b = b.split(" ").join("");
        b = b.split(" ").join("");
        if (!b.length)
            return;
        bF();
        var c = bG;
        if (a == bb) {
            if (bh == -1)
                return;
            b = bh + b;
            var d = bU(Y);
            if (!d.length) {
                bP(W + "_nno");
                return
            }
            ;
            if (bW(d) > 21) {
                bP(W + "_nov");
                return
            }
            ;
            U.handle.value = d
        }
        ;
        c(a, b);
        return (false)
    };
    var bF = function() {
        var a = "_nov,_nno,_ner";
        for (var i = 1; i <= bb; i++) {
            a += "," + i
        }
        ;
        a = a.split(",");
        for (i = 0; i < a.length; i++) {
            var b = bZ(W + a[i]);
            if (!b)
                continue;
            bQ(b)
        }
    };
    var bG = function(a, b, c) {
        var d = cd.hex(b + b);
        if (bm)
            d = b;
        var e = E[a - 1];
        var f = 0;
        for (var i = 0; i < e.length; i++) {
            if (e[i] == d)
                f = 1
        }
        ;
        U.handle.value = b;
        var g = X + a + "_send";
        if (f) {
            T[a] = 1;
            if (!c) {
                bP(g);
                setTimeout(bx, 2000);
                if (B) {
                    bn(a);
                    bJ(a, b)
                }
            }
        } else {
            if (a == bb) {
                T[a] = 1
            }
            ;
            if (!c) {
                bJ(a, b);
                bP(g);
                if (a == bb) {
                    setTimeout(bx, 2000)
                } else
                    setTimeout(function() {
                        bP(W + a);
                        bQ(g)
                    }, 2000)
            }
        }
    };
    var bH = function(a) {
        var b = a.id;
        var c = b.charAt(5);
        var d = bZ("map_p" + c);
        var e = bT(d);
        var x = e.left.split("px")[0] - 0;
        var y = e.top.split("px")[0] - 0;
        if (bh != -1) {
            bZ("map_a" + bh).style.backgroundPosition = "-736px -500px";
            bN("map_p" + bh)
        }
        ;
        a.style.backgroundPosition = bg[c];
        bO("map_p" + c);
        bh = c;
        var l;
        var t;
        if (("876").indexOf(c, 0) > -1) {
            t = y + 30;
            l = x - 30
        } else if (("94130").indexOf(c, 0) > -1) {
            t = y - 13;
            l = x + 30
        } else if (("5").indexOf(c, 0) > -1) {
            t = y + 30 - 13;
            l = x + 30
        } else if (("2").indexOf(c, 0) > -1) {
            t = y + 30;
            l = x
        }
        ;
        var f = bZ("map_input").style;
        f.left = l + "px";
        f.top = t + "px"
    };
    u.m = bH;
    var bI = function(a) {
        var b = ("ぁん,Az,ァヶ,Az,09").split(",");
        var c = "ー、。-.,  ";
        for (var i = 0; i < a.length; i++) {
            if (c.indexOf(a.charAt(i), 0) > -1)
                continue;
            var d = a.charCodeAt(i);
            var e = 0;
            for (var v = 0; v < b.length; v++) {
                var f = b[v];
                var g = f.charCodeAt(0);
                var h = f.charCodeAt(1);
                if (g <= d && d <= h) {
                    e = 1;
                    break
                }
            }
            ;
            if (!e)
                return (1)
        }
    };
    var bJ = function(a, b) {
        u.localStorage[bf + a] = "" + b
    };
    var bK = function(a) {
        return (u.localStorage[bf + a])
    };
    var bL = function() {
        var i;
        T = [];
        for (i = 1; i <= bb; i++) {
            var a = bK(i);
            if (a) {
                bG(i, a, 1);
                if (i == bb)
                    T[i] = 1
            }
        }
    };
    u.a = bq;
    u.b = bs;
    u.c = bE;
    u.e = bp;
    u.f = bt;
    var bM = function(a, b, c) {
        for (var i = 0; i < a.length; i++) {
            var d = a[i];
            if (c)
                d = escape(d);
            var e = 0;
            var f = "";
            for (var g = 0; g < d.length; ++g) {
                var h = d.charAt(g).charCodeAt();
                var j = b.charAt(e).charCodeAt() & J;
                ++e;
                if (e >= b.length)
                    e = 0;
                h = h ^ j;
                f = f + String.fromCharCode(h)
            }
            ;
            if (!c)
                f = unescape(f);
            a[i] = f
        }
        ;
        return a
    };
    var bN = function(a) {
        var b = a;
        if (typeof (a) == 'string')
            b = bZ(a);
        if (b)
            b.style.visibility = "hidden"
    };
    var bO = function(a) {
        var b = a;
        if (typeof (a) == 'string')
            b = bZ(a);
        if (b)
            b.style.visibility = "visible"
    };
    var bP = function(a) {
        var b = a;
        if (typeof (a) == 'string')
            b = bZ(a);
        if (b)
            b.style.display = "block"
    };
    var bQ = function(a) {
        var b = a;
        if (typeof (a) == 'string')
            b = bZ(a);
        if (b)
            b.style.display = "none"
    };
    var bR = function(a, b) {
        var c = "img/";
        if (sp_mode)
            c = "img_sp/";
        if (a)
            a.style.backgroundImage = 'url(' + c + b + '.png)'
    };
    var bS = function(a, b) {
        var c = a;
        if (typeof (a) == 'string')
            c = bZ(a);
        if (c)
            c.innerHTML = b
    };
    var bT = function(a) {
        var b = a;
        if (typeof (a) == 'string')
            b = bZ(a);
        if (b)
            return (b.currentStyle || document.defaultView.getComputedStyle(b, ''))
    };
    var bU = function(a) {
        var b = bZ(a);
        if (!b)
            return;
        return (b.value)
    };
    var bV = function(a, b, c) {
        return (a.split(b).join(c))
    };
    var bW = function(a) {
        var r = 0;
        for (var i = 0; i < a.length; i++) {
            var c = escape(a.charAt(i));
            if (c.length <= 3) {
                r += 1
            } else {
                r += 2
            }
        }
        ;
        return r
    };
    var bX = function() {
        var a = L + M;
        if (bi && a >= bi) {
            var b = a + (a - bi);
            return (b)
        } else
            return (a)
    };
    var bY = function(a) {
        return (document.createElement(a))
    };
    var bZ = function(a) {
        return (document.getElementById(a))
    };
    var ca = function() {
        var a = "http://cgi.tbs.co.jp/cheetah/authenticate.do?time=" + bX();
        cb(a)
    };
    var cb = function(a) {
        var b = document.createElement('script');
        b.charset = 'utf-8';
        b.src = a;
        document.body.appendChild(b)
    };
    var cc = function(a) {
        var b = a['tbs-chth-token'];
        var c = a['tbs-chth-id2'];
        var d = a['tbs-chth-chlg'];
        var e = a['tbs-chth-id1'];
        u.localStorage.setItem(bd + "_getParam", b + c + d + e);
        u.localStorage.setItem(bd + "_setKey1", b);
        u.localStorage.setItem(bd + "_setKey2", c);
        u.localStorage.setItem(bd + "_setKey3", d);
        u.localStorage.setItem(bd + "_setKey4", e)
    };
    u.callback = cc;
    var cd = new function() {
        var d = 64;
        var e = [0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476, 0xc3d2e1f0];
        var f = e.length;
        this.hex = function(a) {
            return p(g(a))
        };
        this.dec = function(a) {
            return g(a)
        };
        this.bin = function(a) {
            return t(g(a))
        };
        var g = function(a) {
            var b = [];
            if (h(a))
                b = a;
            else if (k(a))
                b = s(a);
            else
                "unknown type";
            b = o(b);
            return m(b)
        };
        var h = function(a) {
            return a && a.constructor === [].constructor
        };
        var k = function(a) {
            return typeof (a) == typeof ("string")
        };
        var l = function(a, b) {
            return (a << b) | (a >>> (32 - b))
        };
        var m = function(a) {
            var b = [];
            var c = [];
            var i, j, tmp, x = [];
            for (j = 0; j < f; j++)
                b[j] = e[j];
            for (i = 0; i < a.length; i += d) {
                for (j = 0; j < f; j++)
                    c[j] = b[j];
                x = r(a.slice(i, i + d));
                for (j = 16; j < 80; j++)
                    x[j] = l(x[j - 3] ^ x[j - 8] ^ x[j - 14] ^ x[j - 16], 1);
                for (j = 0; j < 80; j++) {
                    if (j < 20)
                        tmp = ((b[1] & b[2]) ^ (~b[1] & b[3])) + K[0];
                    else if (j < 40)
                        tmp = (b[1] ^ b[2] ^ b[3]) + K[1];
                    else if (j < 60)
                        tmp = ((b[1] & b[2]) ^ (b[1] & b[3]) ^ (b[2] & b[3])) + K[2];
                    else
                        tmp = (b[1] ^ b[2] ^ b[3]) + K[3];
                    tmp += l(b[0], 5) + x[j] + b[4];
                    b[4] = b[3];
                    b[3] = b[2];
                    b[2] = l(b[1], 30);
                    b[1] = b[0];
                    b[0] = tmp
                }
                ;
                for (j = 0; j < f; j++)
                    b[j] += c[j]
            }
            ;
            return q(b)
        };
        var o = function(a) {
            var b = a.length;
            var n = b;
            a[n++] = 0x80;
            while (n % d != 56)
                a[n++] = 0;
            b *= 8;
            return a.concat(0, 0, 0, 0, q([b]))
        };
        var p = function(a) {
            var i, hex = "";
            for (i = 0; i < a.length; i++)
                hex += (a[i] > 0xf ? "" : "0") + a[i].toString(16);
            return hex
        };
        var q = function(a) {
            var b = [];
            for (n = i = 0; i < a.length; i++) {
                b[n++] = (a[i] >>> 24) & 0xff;
                b[n++] = (a[i] >>> 16) & 0xff;
                b[n++] = (a[i] >>> 8) & 0xff;
                b[n++] = a[i] & 0xff
            }
            ;
            return b
        };
        var r = function(a) {
            var b = [];
            var i, n;
            for (n = i = 0; i < a.length; i += 4, n++)
                b[n] = (a[i] << 24) | (a[i + 1] << 16) | (a[i + 2] << 8) | a[i + 3];
            return b
        };
        var s = function(a) {
            var i, n, c, tmp = [];
            for (n = i = 0; i < a.length; i++) {
                c = a.charCodeAt(i);
                if (c <= 0xff)
                    tmp[n++] = c;
                else {
                    tmp[n++] = c >>> 8;
                    tmp[n++] = c & 0xff
                }
            }
            ;
            return tmp
        };
        var t = function(a) {
            var i, tmp = "";
            for (i in a)
                tmp += String.fromCharCode(a[i]);
            return tmp
        };
        var K = [0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xca62c1d6]
    }
})(window);

I
["Question_1_の正解は「9S&z?65F w9<58)s6205/y0?9@ w62:>&)s273C/y4K82 w623>&z?606 w25B8)s623@/y0?:G w62正解はドラマ内で発表します。
引き続き番組をご覧になってお楽しみ下さい。"] 475行目のE 0: Array[7] 0: "934551b2e9ec8b03dc29d9d3be3d45fbc96bef2e" 1: "1b76019ea5a85f3b3a8e7ee202ffe975ed57eaf9" 2: "887c71489dced4fc5b15171a7da2531339bf50ff" 3: "64acdda1e0e1767ef9819ab4a6b3f54ebc360b68" 4: "82ccb7dbe06ac01a04c2992a87ee8ef3ef8752bd" 5: "9dbed3fe50d59607ecb01b7a09fbd1d56dfb1817" 6: "4b7500516e1b8ed3153dd5d73ba35f843dc0d46d" length: 7 __proto__: Array[0] 1: Array[8] 0: "7b732229331458a7379c2380dc2d1bbb59a32157" 1: "28dd7285379a812a5b7d29b335e6f5ad491c02f2" 2: "86a43b3d2002dd9ab7e9f765722c02b745155d26" 3: "cc5aa1b12c05df7642e1cd60b6fc52c65fa246d1" 4: "63aa4cde0a424ef84f5f18d3cacebdfda88382f9" 5: "b38ec43373e76ed0bc4fc98b3dfb5e97625882db" 6: "6b35ce2e53a72860fd00fa7c3ddc697d1e26aef8" 7: "e0aff660f7e75d94c17bc14acb7a6668b6b614f9" length: 8 __proto__: Array[0] http://www.tbs.co.jp/realdgameTV/04_YpjjBK10/js/main.js ハッシュ化してるから駄目。まじめに解こうね ノード見てるからこれだけ見ても駄目かな Eはinitializeの E = bM(b[3], a);のあたりで作ってる E→ 0:"934551b2e9ec8b03dc29d9d3be3d45fbc96bef2e,1b76019ea5a85f3b3a8e7ee202ffe975ed57eaf9,887c71489dced4fc5b15171a7da2531339bf50ff,64acdda1e0e1767ef9819ab4a6b3f54ebc360b68,82ccb7dbe06ac01a04c2992a87ee8ef3ef8752bd,9dbed3fe50d59607ecb01b7a09fbd1d56dfb1817,4b7500516e1b8ed3153dd5d73ba35f843dc0d46d" 1:"7b732229331458a7379c2380dc2d1bbb59a32157,28dd7285379a812a5b7d29b335e6f5ad491c02f2,86a43b3d2002dd9ab7e9f765722c02b745155d26,cc5aa1b12c05df7642e1cd60b6fc52c65fa246d1,63aa4cde0a424ef84f5f18d3cacebdfda88382f9,b38ec43373e76ed0bc4fc98b3dfb5e97625882db,6b35ce2e53a72860fd00fa7c3ddc697d1e26aef8,e0aff660f7e75d94c17bc14acb7a6668b6b614f9" 後は,でsplitしてる b[3]は元々 0: "80=038g1c=d`1g6:a`4=e:m6dl6g21gaj<0k`e4a$1J4d>337=db!3@17ejg4bfd3?de94b60b10<4h=4ca9fo6co=436cg,7E0aac`2el06m0:046fjg68g4g48eka7m05bbc2141,7@2f6695383f7f9fm67<6gb1e4:gg:0e>02gj5b=3g" 1: "6a>64;7:5707<=g>64?g3015bj7g7fca<ma44<40>6g:,7Ek6;cg50:25l25c`1aj1`j<;d7eek0c025419;;ad,7@0f26j`4l00g33;?5`m53`e6`:abj3:1`0f;3glc;#6Bf9d`o356b6f>0b01`73c`81gjg4g2751g0k322b8" これをbM(b[3],a)を通すと、E==b[3]となる aはinit時に定義されてて77行目の var bq = function() { var a = bZ("hidden_iframe"); a.src = "time.htm?time=" + (new Date()).getTime() }; でtime.html?time=xxx をコールしてるな 中身は 時間合わせか。 でbM(b[3],a)。 var bM = function(a, b, c) { for (var i = 0; i < a.length; i++) { var d = a[i]; if (c) d = escape(d); var e = 0; var f = ""; for (var g = 0; g < d.length; ++g) { var h = d.charAt(g).charCodeAt(); var j = b.charAt(e).charCodeAt() & J; ++e; if (e >= b.length) e = 0; h = h ^ j; f = f + String.fromCharCode(h) } ; if (!c) f = unescape(f); a[i] = f } ; return a }; 全部このなかで完結してるな cはnudefinedでした bMの中に・・・a=1395695364 bM(["s","p2","p2g","p1l","d","y1"],1395695364)→["r","q1","q1n","q2e","e","x2"] ["uk`vozjmewr","pjdb4xrf`q"]→["thisisoncss","qimg2qwefu"]" ["80=038g1c=d`1g6:a`4=e:m6dl6g21gaj<0k`e4a$1J4d>337=db!3@17ejg4bfd3?de94b60b10<4h=4ca9fo6co=436cg,7E0aac`2el06m0:046fjg68g4g48eka7m05bbc2141,7@2f6695383f7f9fm67<6gb1e4:gg:0e>02gj5b=3g","6a>64;7:5707<=g>64?g3015bj7g7fca<ma44<40>6g:,7Ek6;cg50:25l25c`1aj1`j<;d7eek0c025419;;ad,7@0f26j`4l00g33;?5`m53`e6`:abj3:1`0f;3glc;#6Bf9d`o356b6f>0b01`73c`81gjg4g2751g0k322b8"]→["934551b2e9ec8b03dc29d9d3be3d45fbc96bef2e,1b76019ea5a85f3b3a8e7ee202ffe975ed57eaf9,887c71489dced4fc5b15171a7da2531339bf50ff,64acdda1e0e1767ef9819ab4a6b3f54ebc360b68,82ccb7dbe06ac01a04c2992a87ee8ef3ef8752bd,9dbed3fe50d59607ecb01b7a09fbd1d56dfb1817,4b7500516e1b8ed3153dd5d73ba35f843dc0d46d","7b732229331458a7379c2380dc2d1bbb59a32157,28dd7285379a812a5b7d29b335e6f5ad491c02f2,86a43b3d2002dd9ab7e9f765722c02b745155d26,cc5aa1b12c05df7642e1cd60b6fc52c65fa246d1,63aa4cde0a424ef84f5f18d3cacebdfda88382f9,b38ec43373e76ed0bc4fc98b3dfb5e97625882db,6b35ce2e53a72860fd00fa7c3ddc697d1e26aef8,e0aff660f7e75d94c17bc14acb7a6668b6b614f9"] ["iw}uu,6B)+bd`+rkv-ek/iy*vyvkq+sfhibndncPW,",".fgtslqf(`n"]→"["https://cgi.tbs.co.jp/ppshw/realdgameTV/","/enquete.do"]" ["Pvlvr`jmY5^&|66?@&s2C5: s1 v5444,p590E#q2397#:Fat!33& 5L v3B06,p591G#q6G0D#|632@$v:568 v117B,p1M17#q2307#|6330$v1 v547A,p593B#q23?6#|6302$v:52H v0=6G,p5904#q23>C#|1F6F$v:53< v5457,p5951","$v<72M v315E,p?11@#q23?G#|3A07$v1=D0,p593E#q23J<#|63C=$v:5BL v3596,p5934#q65>D#|=;0<$v:53> v546F,p590:#q2397#:Fat!33& 5L v3B06,p591G#q6G0D#|632@$v>00H v1@57,p59<1#q23<1#|=:G3$v:50K v547B,p5930#q23?3#|632E$v?<1M v5444,p592E#q5F9G#|6331$v:52= v5411"]→"["Question_1_の正解は「9S&z?65F w9<58)s6205/y0?9@ w62:>&)s273C/y4K82 w623>&z?606 w25B8)s623@/y0?:G w62正解はドラマ内で発表します。
引き続き番組をご覧になってお楽しみ下さい。"]" "["sfmZrqq","lb`k","ojjnhhhf"]"→"["red_txt","main","nickname"]" 簡単なビット演算だなこれ var Aの中で必要なパラメーターを定義して、bMの中で復号化する その中に答えのハッシュ値がある。 入力された文字を再びハッシュ化して比較する。