-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathexploits.html
More file actions
146 lines (128 loc) · 6.43 KB
/
Copy pathexploits.html
File metadata and controls
146 lines (128 loc) · 6.43 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SpaceXploits, A Classroom84X product</title>
<style>
body {
font-family: Arial, sans-serif;
text-align: center;
margin-top: 50px;
background-image: url('https://wallpapers.com/images/featured/space-sjryfre8k8f6i3ge.jpg');
background-position: center center;
background-attachment: fixed;
background-repeat: no-repeat;
background-size: cover;
}
.button-container {
display: flex;
justify-content: center;
gap: 20px;
}
button {
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
border: none;
background-color: #4CAF50;
color: white;
border-radius: 5px;
}
button:hover {
background-color: #45a049;
}
h1 {
color: white;
}
p {
color: white;
}
.danger {
background-color: red;
}
.danger:hover {
background-color: #8B0000;
}
.reload {
position: absolute;
top: 20px;
left: 20px;
padding: 15px 30px;
font-size: 18px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 10px;
cursor: pointer;
}
</style>
</head>
<body>
<h1>SpaceXploits by Classroom84X</h1>
<p>Premium exploits require you to watch one ad to activate it and btw permium exploits are the color blackish blue and dangerous buttons are red</p>
<div class="button-container">
<button onclick="runScript1()">Flood History</button>
<button onclick="runScript2()">Disco Mode</button>
<button onclick="runScript3()">Average Finder</button>
<button onclick="calculator()">Calculator</button>
<button onclick="crash()" class="danger">Crash my computer</button>
<button onclick="safety()">Activate safety</button>
<button onclick="math()">Is integer?</button>
<button onclick="loansmath()">Interest finder</button>
</div>
<button onclick="location.reload()" class="reload">Reload</button>
<script>
function runScript1() {
javascript:var num=prompt("History flood amount: "); done = false; x = window.location.href; for (var i=1; i<=num; i++) {history.pushState(0, 0, i==num?x:i.toString()); if(i==num){done=true}}if(done===true){alert("History flood successful! "+window.location.href+" now appears in your history "+num+(num==1?" time.":" times. (Made by JonasFlynn, Edited by Classroom84X)"))}
}
function runScript2() {
javascript:(function() {
var discoInterval = null;
var colors = ["red", "orange", "yellow", "green", "blue", "purple", "pink"];
function startDisco() {
discoInterval = setInterval(function() {
var color = colors[Math.floor(Math.random() * colors.length)];
var elements = document.querySelectorAll("*");
for (var i = 0; i < elements.length; i++) {
elements[i].style.backgroundColor = color;
}
}, 100);
}
function stopDisco() {
clearInterval(discoInterval);
var elements = document.querySelectorAll("*");
for (var i = 0; i < elements.length; i++) {
elements[i].style.backgroundColor = "";
}
}
if (discoInterval) {
stopDisco();
} else {
startDisco();
}
})();
alert("Script executed! Thank you for choosing Classroom84x exploits! Notice: To turn off disco mode hit the reload button in the top left corner");
}
function runScript3() {
javascript: for(var many=prompt("How many numbers do you want to find the average of?"),count=0,sum=0;count<many;)sum+=parseInt(prompt("What is one of the numbers?")),count++;sum/=count,alert("The result is: "+sum); alert("made by 22yeets22, Edited by Classroom84X");
}
function calculator() {
alert("Multiplacation is * and division is /! Thank for using Classroom84X Exploits");
javascript:eval('function calc(){_o=prompt(_t,_z);if(_o!=\'\'&&_o!=null&&_o.toUpperCase()==_o.toLowerCase())_z=eval(_o);}');_t='Calculator - Input the expression to be calculated:';_z='';calc();while(_o!=''&&_o!=null&&_o.toUpperCase()==_o.toLowerCase())calc()
}
function crash() {
javascript:alert("Are You Sure?");alert("Use At Your Own Risk! Classroom84X will not be held responsible for any damages or trouble you get in");alert("Ready? IF NO RELOAD NOW.");setTimeout(() => {while (true) {while(1)location.reload(1)}}, 1000);
}
function safety() {
javascript: (function () { var elem = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(elem); elem.style.position = 'fixed'; elem.style.top = '0px'; elem.style.right = '0px'; elem.style.margin = '10px'; elem.style.paddingTop = '10px'; elem.style.width = '200px'; elem.style.height = '40px'; elem.style.zIndex = 10000; elem.style.opacity = 0.9; elem.style.color = 'white'; elem.style.backgroundColor = 'black'; elem.style.border = '1px solid white'; elem.style.textAlign = 'center'; elem.style.cursor = 'pointer'; elem.id = 'elem'; elem.style.display = 'block'; elem.innerText = 'Z'; }()); var safety=prompt("what tab do you want to open when a teacher comes by? click z to go to that tab. warning: may have to click out of element for it to work"); window.addEventListener("keydown",function(event){ if (event.key=="z"){ window.location.href=safety; } }); document.getElementById('elem').addEventListener('click', function() { window.location.href=safety; });
}
function math() {
javascript: Number.isInteger(parseFloat(prompt("Enter number:")))?alert("Yes"):alert("No");
}
function loansmath() {
javascript:var b=prompt("how much is the loan? do not include the $ sign. just write the number.");var i=prompt("what is the intrest? please write it as percent but without the percent sign.");var t=prompt("how much years?");var percent=i/100;var e=b*percent*t;alert("the answer is "+e+".");
}
</script>
</body>
</html>