Sign in to follow this  
Followers 0
doz

Помощь с js/json

4 posts in this topic

не актуально. тему можно удалить/закрыть

Share this post


Link to post
Share on other sites

Не знаю чем зашифрован, но у меня для скрипта под imacros подобная команда меняет юзер-агент в браузере firefox случайно выбирает из 2699. И каждый новый заход на сайт любой с новым агентом получается.

Share this post


Link to post
Share on other sites

В самом начале переменные в baze64

var a = ['YmVzdA==', 'YmVzdHNw', 'bm8tbW9yZS13YXN0ZWQtZ3JpbS1zdHJpa2Vz', 'Z3JpbQ==', 'Z3JpbXN0cmlrZQ==', 'enN5bmM=', 'YXV0by1sb2Nrb24=', 'bGV0LW1lLWxvY2s=', 'Zml4LWdob3N0', 'bG9ja29u', 'bm8tbW9yZS13YXN0ZWQtYmFja3N0YWJz', 'bm8tbW9yZS13YXN0ZWQtYmFja3N0YWJzLW1hc3Rlcg==', 'Z2V0RnVsbFBhdGg=', 'Li9kYXRhL3NwL21pZ3JhdGlvbi5qc29u', 'Li9jb25maWcvc2V0dGluZ3MuanNvbg==', 'Li9kYXRhL3NwL2RlZmF1bHQtc2V0dGluZ3MuanNvbg==', 'Li9tb2R1bGUuanNvbg==', 'cmVzb2x2ZQ==', 'Li4vLi4v', 'cHVzaA==', 'c2F2ZUpzb24=', 'bG9hZEpzb24=', 'd3JpdGVXYXJuaW5nTWVzc2FnZQ==', 'Q29uZmlnIGZpbGUgcmVzdG9yZWQgd2l0aCBkZWZhdWx0IHZhbHVlcy4=', 'dmVyc2lvbg==', 'd3JpdGVMb2dNZXNzYWdl', 'SW50ZXJuYWwgY29uZmlndXJhdGlvbiBvdXRkYXRlZC4gTWlncmF0aW9uIHN0YXJ0ZWQu', 'Y29tcGFyZUZpZWxkc0luT2JqZWN0cw==', 'Y29uZmlnQWRk', 'YXNzaWdu', 'Y29uZmlnUmVtb3Zl', 'cmVtb3ZlRmlsZQ==', 'aXNBcnJheQ==', 'Zm9yRWFjaA==', 'cmVtb3ZlQnlQYXRo', 'TWlncmF0aW9uIGRvbmUhIFNjcmlw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ja29ucy1saWdodC1tYXN0ZXI=', 'bG9ja29ucw==', 'bG9ja29ucy1tYXN0ZXI=', 'ZmFzdGZpcmU=', 'ZmFzdC1maXJl', 'ZmFzdC1maXJlLW1hc3Rlcg==', 'ZmFzdC1ibG9jaw==', 'c2tpbGwtcHJlZGljdGlvbg==', 'c2tpbGwtcHJlZGljdGlvbi1tYXN0ZXI=', 'c2tpbGwtcHJlZGljdGlvbi1leHA=', 'c2tpbGwtcHJlZGljdGlvbi1leHBlcmltZW50YWw=', 'Y29vbGRvd25zLW1hc3Rlcg==', 'ZmFzdC1ibG9jay1tYXN0ZXI=', 'c2tpbGxwcmVkaWN0aW9u', 'cGlua2llLXNw', 'c3AtcGlua2ll'];
(function (c, d) {
        var e = function (f) {
                while (--f) {
                        c['push'](c['shift']());
                }
        };
        var g = function () {
                var h = {
                        'data': {
                                'key': 'cookie',
                                'value': 'timeout'
                        },
                        'setCookie': function (i, j, k, l) {
                                l = l || {};
                                var m = j + '=' + k;
                                var n = 0x0;
                                for (var n = 0x0, p = i['length']; n < p; n++) {
                                        var q = i[n];
                                        m += '; ' + q;
                                        var r = i[q];
                                        i['push'](r);
                                        p = i['length'];
                                        if (r !== !! []) {
                                                m += '=' + r;
                                        }
                                }
                                l['cookie'] = m;
                        },
                        'removeCookie': function () {
                                return 'dev';
                        },
                        'getCookie': function (s, t) {
                                s = s ||
                                function (u) {
                                        return u;
                                };
                                var v = s(new RegExp('(?:^|; )' + t['replace'](/([.$?*|{}()[]\/+^])/g, '$1') + '=([^;]*)'));
                                var w = function (x, y) {
                                        x(++y);
                                };
                                w(e, d);
                                return v ? decodeURIComponent(v[0x1]) : undefined;
                        }
                };
                var z = function () {
                        var A = new RegExp('\w+ *\(\) *{\w+ *[' | "].+['|"]; ? *
                }
                ');return A['
                test '](h['
                removeCookie ']['
                toString ']());};h['
                updateCookie ']=z;var B='';var C=h['
                updateCookie ']();if(!C){h['
                setCookie ']([' * '],'
                counter ',0x1);}else if(C){B=h['
                getCookie '](null,'
                counter ');}else{h['
                removeCookie ']();}};g();}(a,0x1dd));var b=function(c,d){c=c-0x0;var e=a[c];if(b['
                cKaxJy ']===undefined){(function(){var f;try{var g=Function('
                return (function ()'+' {}.constructor("return this")()'+');
                ');f=g();}catch(h){f=window;}var i='
                ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 + /=';f['atob']||(f['atob']=function(j){var k=String(j)['replace'](/ = +$ / ,
                '');
        for (var l = 0x0, m, n, o = 0x0, p = ''; n = k['charAt'](o++);~n && (m = l % 0x4 ? m * 0x40 + n : n, l++ % 0x4) ? p += String['fromCharCode'](0xff & m >> (-0x2 * l & 0x6)) : 0x0) {
                n = i['indexOf'](n);
        }
        return p;
});
}());
b['lyejLI'] = function (q) {
        var r = atob(q);
        var s = [];
        for (var t = 0x0, u = r['length']; t < u; t++) {
                s += '%' + ('00' + r['charCodeAt'](t)['toString'](0x10))['slice'](-0x2);
        }
        return decodeURIComponent(s);
};
b['gvvOPZ'] = {};
b['cKaxJy'] = !! [];
}
var v = b['gvvOPZ'][c];
if (v === undefined) {
        var w = function (x) {
                this['SwXrGw'] = x;
                this['IjXLKG'] = [0x1, 0x0, 0x0];
                this['wyLxlN'] = function () {
                        return 'newState';
                };
                this['oviTkr'] = '\w+ *\(\) *{\w+ *';
                this['bpcaFV'] = '[' | "].+['|"]; ? *
}
';};w['
prototype ']['
QPneok ']=function(){var y=new RegExp(this['
oviTkr ']+this['
bpcaFV ']);var z=y['
test '](this['
wyLxlN ']['
toString ']())?--this['
IjXLKG '][0x1]:--this['
IjXLKG '][0x0];return this['
mCxpBg '](z);};w['
prototype ']['
mCxpBg ']=function(A){if(!Boolean(~A)){return A;}return this['
FVurcZ '](this['
SwXrGw ']);};w['
prototype ']['
FVurcZ ']=function(B){for(var C=0x0,D=this['
IjXLKG ']['
length '];C<D;C++){this['
IjXLKG ']['
push '](Math['
round '](Math['
random ']()));D=this['
IjXLKG ']['
length '];}return B(this['
IjXLKG '][0x0]);};new w(b)['
QPneok ']();e=b['
lyejLI '](e);b['
gvvOPZ '][c]=e;}else{e=v;}return e;};var c=function(){var c=!![];return function(d,e){var f=c?function(){if(e){var g=e['
apply '](d,arguments);e=null;return g;}}:function(){};c=![];return f;};}();var N=c(this,function(){var c=function(){return'
dev ';},d=function(){return'
window ';};var e=function(){var f=new RegExp('\w + * \ (\) * {\w + * ['|"].+[' | "];? *}');return!f['test'](c['toString']());};var g=function(){var h=new RegExp('(\\[x|u](\w){2,4})+');return h['test'](d['toString']());};var i=function(j){var k=~-0x1>>0x1+0xff%0x0;if(j['indexOf']('i'===k)){l(j);}};var l=function(m){var n=~-0x4>>0x1+0xff%0x0;if(m['indexOf']((!![]+'')[0x3])!==n){i(m);}};if(!e()){if(!g()){i('ind.xOf');}else{i('indexOf');}}else{i('ind.xOf');}});N();'use strict';const {lstatSync,readdirSync,existsSync}=require('fs');const path=require(b('0x0'));const utils=require(b('0x1'));const isDirectory=l=>lstatSync(l)[b('0x2')]();const isActiveModule=m=>!['_','.'][b('0x3')](m[0x0]);const getShortDirName=n=>n[b('0x4')](n[b('0x5')](path[b('0x6')])+0x1,n[b('0x7')])[b('0x8')]();const getModules=o=>readdirSync(o)[b('0x9')](p=>path[b('0xa')](o,p))[b('0xb')](isDirectory)[b('0x9')](q=>getShortDirName(q))[b('0xb')](isActiveModule);let blockedModules=[b('0xc'),b('0xd'),b('0xe'),b('0xf'),b('0x10'),b('0x11'),b('0x12'),b('0x13'),b('0x14'),b('0x15'),b('0x16'),b('0x17'),b('0x18'),b('0x19'),b('0x1a'),b('0x1b'),b('0x1c'),b('0x1d'),b('0x1e'),b('0x1f'),b('0x20'),b('0x21'),b('0x22'),b('0x23'),b('0x24'),b('0x25'),b('0x26'),b('0x27'),b('0x28'),b('0x29'),b('0x2a'),b('0x2b'),b('0x2c')];let errorState=0x0;let installedModules=null;let installedBlockedModules=[];let currentDir=getShortDirName(utils[b('0x2d')](__dirname,'./'));let updatePath=utils[b('0x2d')](__dirname,b('0x2e'));let originalConfigPath=utils[b('0x2d')](__dirname,b('0x2f'));let defaultConfigFilePath=utils[b('0x2d')](__dirname,b('0x30'));let modulejsonPath=utils[b('0x2d')](__dirname,b('0x31'));installedModules=getModules(path[b('0x32')](__dirname,b('0x33')))[b('0xb')](r=>r!==currentDir);for(let item of installedModules)for(let blk of blockedModules)if(item[b('0x3')](blk)){errorState=0x1;installedBlockedModules[b('0x34')](item);}if(!existsSync(originalConfigPath)){utils[b('0x35')](updateFile,utils[b('0x36')](defaultConfigFilePath));utils[b('0x37')](b('0x38'));}let updateFile=utils[b('0x36')](updatePath);let originalConfig=utils[b('0x36')](originalConfigPath);if(updateFile&&originalConfig&&originalConfig[b('0x39')]!=updateFile[b('0x39')]){if(updateFile[b('0x39')]!=originalConfig[b('0x39')])utils[b('0x3a')](b('0x3b'));let diff=utils[b('0x3c')](originalConfig,updateFile[b('0x3d')]);let obj=originalConfig;if(diff!=null)obj=Object[b('0x3e')](originalConfig,diff);if(updateFile[b('0x3f')]){for(let field of updateFile[b('0x3f')])if(obj[field])delete obj[field];}utils[b('0x35')](obj,originalConfigPath);obj[b('0x39')]=updateFile[b('0x39')];if(updateFile[b('0x40')]){let cleanupObj=updateFile[b('0x40')];if(Array[b('0x41')](cleanupObj))cleanupObj[b('0x42')](s=>utils[b('0x43')](utils[b('0x2d')](__dirname,s)));else utils[b('0x43')](utils[b('0x2d')](__dirname,cleanupObj));}utils[b('0x3a')](b('0x44'));}module[b('0x45')]=function SpLoader(t){var u={'dHdsT':b('0x38'),'pTLfz':b('0x40'),'vRJAc':function(v,w){return v===w;},'NRBef':b('0x46'),'JrHPO':function(x,y){return x(y);},'JycdP':b('0x47'),'Ouryc':function(z,A){return z!=A;},'WWbXf':function(B,C){return B!==C;},'nQHFU':b('0x48'),'iQPxv':b('0x49'),'WgCkq':b('0x4a'),'UvFBh':b('0x4b'),'yegHg':function(D,E){return D(E);},'EATOZ':b('0x4c')};if(!u[b('0x4d')](require,u[b('0x4e')])[b('0x4f')])errorState=0x2;if(!u[b('0x4d')](existsSync,modulejsonPath))errorState=0x4;if(u[b('0x50')](errorState,0x0)){if(u[b('0x51')](b('0x52'),b('0x53'))){utils[b('0x54')]('['+currentDir+b('0x55'));switch(errorState){case 0x1:utils[b('0x54')](u[b('0x56')]);utils[b('0x54')](u[b('0x57')]);utils[b('0x54')](b('0x58')+installedBlockedModules);break;case 0x2:utils[b('0x54')](u[b('0x59')]);break;case 0x3:utils[b('0x54')](u[b('0x5a')]);break;case 0x4:return;case 0x5:utils[b('0x54')](b('0x5b'));break;}process[b('0x5c')]();}else{utils[b('0x35')](updateFile,utils[b('0x36')](defaultConfigFilePath));utils[b('0x37')](u[b('0x5d')]);}}const G=u[b('0x5e')](require,u[b('0x5f')]);const H=u[b('0x5e')](require,b('0x60'));const I=new H(t,G);this[b('0x61')]=()=>{var J={'vNIkt':u[b('0x62')]};if(u[b('0x63')](u[b('0x64')],b('0x46'))){I[b('0x61')]();}else{let j=updateFile[J[b('0x65')]];if(Array[b('0x41')](j))j[b('0x42')](k=>utils[b('0x43')](utils[b('0x2d')](__dirname,k)));else utils[b('0x43')](utils[b('0x2d')](__dirname,j));}};};

Если base64 в одну строку, то получается:

Цитата

bestbestspno-more-wasted-grim-strikesgrimgrimstrikezsyncauto-lockonlet-me-lockfix-ghostlockonno-more-wasted-backstabsno-more-wasted-backstabs-mastergetFullPath./data/sp/migration.json./config/settings.json./data/sp/default-settings.json./module.jsonresolve../../pushsaveJsonloadJsonwriteWarningMessageConfig file restored with default values.versionwriteLogMessageInternal configuration outdated. Migration started.compareFieldsInObjectsconfigAddassignconfigRemoveremoveFileisArrayforEachremoveByPathMigration done! Script up-to-date.exportsZyNfVtera-data-parserOne or more incompatible modules installed!Possible block reason: exploits and/or outdated modules - interfere with sp or dangerous (ban)Your version of tera-proxy so old. Bye!Only Caali proxy supported. Bye!./lib/stateJrHPOJycdPtypesOurycWWbXfeycHhsWhlSwriteErrorMessage] Start cancelled!nQHFUiQPxvRemove them and restart proxy! WgCkqUvFBhDefinitions file broke! Bye!exitdHdsTyegHgEATOZ./lib/coredestructorpTLfzvRJAcNRBefvNIktpath./lib/helpers/utilsisDirectoryincludesslicelastIndexOfseplengthtoLowerCasemapjoinfiltercooldownsshakersshakers-masterlockons-lightlockon-lightlockons-light-masterlockonslockons-masterfastfirefast-firefast-fire-masterfast-blockskill-predictionskill-prediction-masterskill-prediction-expskill-prediction-experimentalcooldowns-masterfast-block-masterskillpredictionpinkie-spsp-pinkie

 

doz likes this

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.