@infobizon

Как расшифровать JS для imacros и валидность и структура?

Помогите!!!
Что это? Как расшифровать?
Как сделать код валидным?
Как правильно структурировать по строкам?
Заранее благодарен.

var _0xaf25=["\x43\x4F\x44\x45\x3A","\x53\x45\x54\x20\x21\x45\x52\x52\x4F\x52\x49\x47\x4E\x4F\x52\x45\x20\x59\x45\x53","\x0A","\x53\x45\x54\x20\x21\x45\x58\x54\x52\x41\x43\x54\x20\x4E\x55\x4C\x4C","\x53\x45\x54\x20\x21\x45\x58\x54\x52\x41\x43\x54\x5F\x54\x45\x53\x54\x5F\x50\x4F\x50\x55\x50\x20\x4E\x4F","\x57\x61\x69\x74\x20\x73\x65\x63\x6F\x6E\x64\x73\x3D\x31\x35\x2E\x37","\x54\x41\x47\x20\x50\x4F\x53\x3D\x31\x20\x54\x59\x50\x45\x3D\x53\x50\x41\x4E\x20\x41\x54\x54\x52\x3D\x43\x4C\x41\x53\x53\x3A\x22\x4E\x75\x6D\x62\x65\x72\x73\x20\x48\x69\x67\x68\x6C\x69\x67\x68\x74\x65\x64\x54\x65\x78\x74\x20\x55\x73\x65\x72\x42\x61\x6C\x61\x6E\x63\x65\x22\x20\x45\x58\x54\x52\x41\x43\x54\x3D\x54\x58\x54","\x54\x41\x47\x20\x50\x4F\x53\x3D\x31\x20\x54\x59\x50\x45\x3D\x44\x49\x56\x20\x41\x54\x54\x52\x3D\x49\x44\x3A\x4D\x61\x78\x42\x65\x74\x42\x75\x74\x74\x6F\x6E","\x54\x41\x47\x20\x50\x4F\x53\x3D\x31\x20\x54\x59\x50\x45\x3D\x44\x49\x56\x20\x41\x54\x54\x52\x3D\x49\x44\x3A\x44\x69\x76\x69\x64\x65\x42\x65\x74\x42\x75\x74\x74\x6F\x6E","\x43\x4F\x44\x45\x3A\x54\x41\x47\x20\x50\x4F\x53\x3D\x31\x20\x54\x59\x50\x45\x3D\x49\x4E\x50\x55\x54\x3A\x54\x45\x58\x54\x20\x41\x54\x54\x52\x3D\x49\x44\x3A\x42\x65\x74\x43\x68\x61\x6E\x63\x65\x49\x6E\x70\x75\x74\x20\x43\x4F\x4E\x54\x45\x4E\x54\x3D\x39\x30","\x72\x61\x6E\x64\x6F\x6D","\x43\x4F\x44\x45\x3A\x45\x56\x45\x4E\x54\x20\x54\x59\x50\x45\x3D\x43\x4C\x49\x43\x4B\x20\x53\x45\x4C\x45\x43\x54\x4F\x52\x3D\x22\x23\x42\x65\x74\x4C\x6F\x77\x42\x75\x74\x74\x6F\x6E\x22\x20\x42\x55\x54\x54\x4F\x4E\x3D\x30","\x43\x4F\x44\x45\x3A\x45\x56\x45\x4E\x54\x20\x54\x59\x50\x45\x3D\x43\x4C\x49\x43\x4B\x20\x53\x45\x4C\x45\x43\x54\x4F\x52\x3D\x22\x23\x42\x65\x74\x48\x69\x67\x68\x42\x75\x74\x74\x6F\x6E\x22\x20\x42\x55\x54\x54\x4F\x4E\x3D\x30","\x43\x4F\x44\x45\x3A\x54\x41\x47\x20\x50\x4F\x53\x3D\x31\x20\x54\x59\x50\x45\x3D\x49\x4E\x50\x55\x54\x3A\x54\x45\x58\x54\x20\x41\x54\x54\x52\x3D\x49\x44\x3A\x42\x65\x74\x43\x68\x61\x6E\x63\x65\x49\x6E\x70\x75\x74\x20\x43\x4F\x4E\x54\x45\x4E\x54\x3D\x39\x35","\x43\x4F\x44\x45\x3A\x45\x56\x45\x4E\x54\x20\x54\x59\x50\x45\x3D\x43\x4C\x49\x43\x4B\x20\x53\x45\x4C\x45\x43\x54\x4F\x52\x3D\x22\x23\x4D\x75\x6C\x74\x69\x70\x6C\x79\x42\x65\x74\x42\x75\x74\x74\x6F\x6E\x22\x20\x42\x55\x54\x54\x4F\x4E\x3D\x30","\x43\x4F\x44\x45\x3A\x54\x41\x47\x20\x50\x4F\x53\x3D\x31\x20\x54\x59\x50\x45\x3D\x49\x4E\x50\x55\x54\x3A\x54\x45\x58\x54\x20\x41\x54\x54\x52\x3D\x49\x44\x3A\x42\x65\x74\x53\x69\x7A\x65\x49\x6E\x70\x75\x74\x20\x45\x58\x54\x52\x41\x43\x54\x3D\x54\x58\x54","\x42\x65\x74","\x43\x4F\x44\x45\x3A\x54\x41\x47\x20\x50\x4F\x53\x3D\x31\x20\x54\x59\x50\x45\x3D\x49\x4E\x50\x55\x54\x3A\x54\x45\x58\x54\x20\x41\x54\x54\x52\x3D\x49\x44\x3A\x42\x65\x74\x53\x69\x7A\x65\x49\x6E\x70\x75\x74\x20\x43\x4F\x4E\x54\x45\x4E\x54\x3D\x7B\x7B\x42\x65\x74\x7D\x7D"];var macro1;macro=_0xaf25[0];macro+=_0xaf25[1]+_0xaf25[2];macro+=_0xaf25[3]+_0xaf25[2];macro+=_0xaf25[4]+_0xaf25[2];var macro2;macro1=_0xaf25[0];macro1+=_0xaf25[5]+_0xaf25[2];macro1+=_0xaf25[3]+_0xaf25[2];macro1+=_0xaf25[6]+_0xaf25[2];var macro3;macro2=_0xaf25[0];macro2+=_0xaf25[7]+_0xaf25[2];macro2+=_0xaf25[8]+_0xaf25[2];macro2+=_0xaf25[8]+_0xaf25[2];macro2+=_0xaf25[8]+_0xaf25[2];macro2+=_0xaf25[8]+_0xaf25[2];macro2+=_0xaf25[8]+_0xaf25[2];macro2+=_0xaf25[8]+_0xaf25[2];macro2+=_0xaf25[8]+_0xaf25[2];macro2+=_0xaf25[8]+_0xaf25[2];macro2+=_0xaf25[8]+_0xaf25[2];macro2+=_0xaf25[8]+_0xaf25[2];macro2+=_0xaf25[8]+_0xaf25[2];macro2+=_0xaf25[8]+_0xaf25[2];iimPlay(macro);var BetsNow=0;var LossNow=0;var WinBet=0;var Balance=0;var BalanceNow=0;while(true){WinBet=1;BetsNow=0;LossNow=0;Balance=0;BalanceNow=0;iimPlay(_0xaf25[9]);iimPlay(macro2);while(WinBet==1){iimPlay(macro1);Balance=parseFloat(iimGetLastExtract());BalanceNow=Balance;if(Math[_0xaf25[10]]()<=0.5){iimPlay(_0xaf25[11])}else {iimPlay(_0xaf25[12])};while(BalanceNow==Balance){iimPlay(macro1);BalanceNow=parseFloat(iimGetLastExtract());};if(BalanceNowBalance){WinBet=1}else {iimPlay(_0xaf25[13]);iimPlay(_0xaf25[14]);iimPlay(_0xaf25[14]);iimPlay(_0xaf25[14]);iimPlay(_0xaf25[14]);iimPlay(_0xaf25[14]);iimPlay(macro1);Balance=parseFloat(iimGetLastExtract());BalanceNow=Balance;if(Math[_0xaf25[10]]()<=0.5){iimPlay(_0xaf25[11])}else {iimPlay(_0xaf25[12])};while(BalanceNow==Balance){iimPlay(macro1);BalanceNow=parseFloat(iimGetLastExtract());};if(BalanceNow>Balance){WinBet=1}else {iimPlay(_0xaf25[15]);LossNow=parseFloat(iimGetLastExtract())*1.25;while(WinBet==0){BetsNow=LossNow/0.08;iimSet(_0xaf25[16],BetsNow);iimPlay(_0xaf25[17]);iimPlay(macro1);Balance=parseFloat(iimGetLastExtract());BalanceNow=Balance;if(Math[_0xaf25[10]]()<=0.5){iimPlay(_0xaf25[11])}else {iimPlay(_0xaf25[12])};while(BalanceNow==Balance){iimPlay(macro1);BalanceNow=parseFloat(iimGetLastExtract());};if(BalanceNow>Balance){WinBet=1;LossNow=0;}else {iimPlay(_0xaf25[15]);LossNow=LossNow+parseFloat(iimGetLastExtract());};};};};};
  • Вопрос задан
  • 490 просмотров
Решения вопроса 1
Гуглите деобфускацию
var macro1;
macro = 'CODE:';
macro += 'SET !ERRORIGNORE YES' + '\x0A';
macro += 'SET !EXTRACT NULL' + '\x0A';
macro += 'SET !EXTRACT_TEST_POPUP NO' + '\x0A';
var macro2;
macro1 = 'CODE:';
macro1 += 'Wait seconds=15.7' + '\x0A';
macro1 += 'SET !EXTRACT NULL' + '\x0A';
macro1 += 'TAG POS=1 TYPE=SPAN ATTR=CLASS:"Numbers HighlightedText UserBalance" EXTRACT=TXT' + '\x0A';
var macro3;
macro2 = 'CODE:';
macro2 += 'TAG POS=1 TYPE=DIV ATTR=ID:MaxBetButton' + '\x0A';
macro2 += 'TAG POS=1 TYPE=DIV ATTR=ID:DivideBetButton' + '\x0A';
macro2 += 'TAG POS=1 TYPE=DIV ATTR=ID:DivideBetButton' + '\x0A';
macro2 += 'TAG POS=1 TYPE=DIV ATTR=ID:DivideBetButton' + '\x0A';
macro2 += 'TAG POS=1 TYPE=DIV ATTR=ID:DivideBetButton' + '\x0A';
macro2 += 'TAG POS=1 TYPE=DIV ATTR=ID:DivideBetButton' + '\x0A';
macro2 += 'TAG POS=1 TYPE=DIV ATTR=ID:DivideBetButton' + '\x0A';
macro2 += 'TAG POS=1 TYPE=DIV ATTR=ID:DivideBetButton' + '\x0A';
macro2 += 'TAG POS=1 TYPE=DIV ATTR=ID:DivideBetButton' + '\x0A';
macro2 += 'TAG POS=1 TYPE=DIV ATTR=ID:DivideBetButton' + '\x0A';
macro2 += 'TAG POS=1 TYPE=DIV ATTR=ID:DivideBetButton' + '\x0A';
macro2 += 'TAG POS=1 TYPE=DIV ATTR=ID:DivideBetButton' + '\x0A';
macro2 += 'TAG POS=1 TYPE=DIV ATTR=ID:DivideBetButton' + '\x0A';
iimPlay(macro);
var BetsNow = 0;
var LossNow = 0;
var WinBet = 0;
var Balance = 0;
var BalanceNow = 0;
while (true) {
    WinBet = 1;
    BetsNow = 0;
    LossNow = 0;
    Balance = 0;
    BalanceNow = 0;
    iimPlay('CODE:TAG POS=1 TYPE=INPUT:TEXT ATTR=ID:BetChanceInput CONTENT=90');
    iimPlay(macro2);
    while (WinBet == 1) {
        iimPlay(macro1);
        Balance = parseFloat(iimGetLastExtract());
        BalanceNow = Balance;
        if (Math['random']() <= 0.5) {
            iimPlay('CODE:EVENT TYPE=CLICK SELECTOR="#BetLowButton" BUTTON=0')
        } else {
            iimPlay('CODE:EVENT TYPE=CLICK SELECTOR="#BetHighButton" BUTTON=0')
        };
        while (BalanceNow == Balance) {
            iimPlay(macro1);
            BalanceNow = parseFloat(iimGetLastExtract());
        };
        if (BalanceNowBalance) {
            WinBet = 1
        } else {
            iimPlay('CODE:TAG POS=1 TYPE=INPUT:TEXT ATTR=ID:BetChanceInput CONTENT=95');
            iimPlay('CODE:EVENT TYPE=CLICK SELECTOR="#MultiplyBetButton" BUTTON=0');
            iimPlay('CODE:EVENT TYPE=CLICK SELECTOR="#MultiplyBetButton" BUTTON=0');
            iimPlay('CODE:EVENT TYPE=CLICK SELECTOR="#MultiplyBetButton" BUTTON=0');
            iimPlay('CODE:EVENT TYPE=CLICK SELECTOR="#MultiplyBetButton" BUTTON=0');
            iimPlay('CODE:EVENT TYPE=CLICK SELECTOR="#MultiplyBetButton" BUTTON=0');
            iimPlay(macro1);
            Balance = parseFloat(iimGetLastExtract());
            BalanceNow = Balance;
            if (Math['random']() <= 0.5) {
                iimPlay('CODE:EVENT TYPE=CLICK SELECTOR="#BetLowButton" BUTTON=0')
            } else {
                iimPlay('CODE:EVENT TYPE=CLICK SELECTOR="#BetHighButton" BUTTON=0')
            };
            while (BalanceNow == Balance) {
                iimPlay(macro1);
                BalanceNow = parseFloat(iimGetLastExtract());
            };
            if (BalanceNow > Balance) {
                WinBet = 1
            } else {
                iimPlay('CODE:TAG POS=1 TYPE=INPUT:TEXT ATTR=ID:BetSizeInput EXTRACT=TXT');
                LossNow = parseFloat(iimGetLastExtract()) * 1.25;
                while (WinBet == 0) {
                    BetsNow = LossNow / 0.08;
                    iimSet('Bet', BetsNow);
                    iimPlay('CODE:TAG POS=1 TYPE=INPUT:TEXT ATTR=ID:BetSizeInput CONTENT={{Bet}}');
                    iimPlay(macro1);
                    Balance = parseFloat(iimGetLastExtract());
                    BalanceNow = Balance;
                    if (Math['random']() <= 0.5) {
                        iimPlay('CODE:EVENT TYPE=CLICK SELECTOR="#BetLowButton" BUTTON=0')
                    } else {
                        iimPlay('CODE:EVENT TYPE=CLICK SELECTOR="#BetHighButton" BUTTON=0')
                    };
                    while (BalanceNow == Balance) {
                        iimPlay(macro1);
                        BalanceNow = parseFloat(iimGetLastExtract());
                    };
                    if (BalanceNow > Balance) {
                        WinBet = 1;
                        LossNow = 0;
                    } else {
                        iimPlay('CODE:TAG POS=1 TYPE=INPUT:TEXT ATTR=ID:BetSizeInput EXTRACT=TXT');
                        LossNow = LossNow + parseFloat(iimGetLastExtract());
                    };
                };
            };
        };
    };
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы