Skip to content

Commit f32c4f8

Browse files
authored
Update title and restructure HTML layout
1 parent 93c3ba1 commit f32c4f8

1 file changed

Lines changed: 39 additions & 78 deletions

File tree

bypass/home.html

Lines changed: 39 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>Bypass Engine | krovixa</title>
6+
<title>Bypass Utility | krovixa</title>
77
<style>
88
:root {
99
--bg: #0d1117;
@@ -13,75 +13,47 @@
1313
--success: #3fb950;
1414
--warning: #d29922;
1515
}
16-
body {
17-
font-family: ui-monospace, monospace;
18-
background: var(--bg); color: var(--text);
19-
display: flex; justify-content: center; padding-top: 50px; margin: 0;
20-
}
21-
.container { width: 95%; max-width: 650px; border: 1px solid var(--border); border-radius: 6px; padding: 24px; background: #161b22; }
22-
input {
23-
width: 100%; padding: 12px; background: var(--bg); border: 1px solid var(--border);
24-
border-radius: 6px; color: white; margin-bottom: 12px; box-sizing: border-box; outline: none;
25-
}
26-
button {
27-
background: #238636; color: white; border: 1px solid rgba(240,246,252,0.1);
28-
padding: 10px 20px; border-radius: 6px; cursor: pointer; font-weight: bold; width: 100%;
29-
}
30-
button:disabled { background: #161b22; color: #8b949e; cursor: not-allowed; }
31-
#console {
32-
margin-top: 20px; padding: 15px; border-radius: 6px; background: #010409;
33-
border: 1px solid var(--border); font-size: 12px; line-height: 1.6; max-height: 300px; overflow-y: auto;
34-
}
35-
.step-info { color: var(--accent); }
36-
.step-wait { color: var(--warning); }
37-
.step-success { color: var(--success); font-weight: bold; border-top: 1px solid var(--border); margin-top: 10px; padding-top: 10px; }
16+
body { font-family: ui-monospace, monospace; background: var(--bg); color: var(--text); padding: 40px; display: flex; justify-content: center; }
17+
.box { width: 100%; max-width: 600px; border: 1px solid var(--border); border-radius: 6px; padding: 20px; background: #161b22; }
18+
input { width: 100%; padding: 10px; background: #0d1117; border: 1px solid var(--border); border-radius: 6px; color: white; margin-bottom: 10px; box-sizing: border-box; }
19+
button { width: 100%; padding: 10px; background: #21262d; border: 1px solid var(--border); color: var(--text); cursor: pointer; border-radius: 6px; font-weight: bold; }
20+
button:hover { background: #30363d; }
21+
#log { margin-top: 15px; font-size: 12px; border-top: 1px solid var(--border); padding-top: 10px; display: none; }
22+
.relay-status { color: var(--warning); }
23+
.final-link { color: var(--accent); display: block; margin-top: 10px; font-weight: bold; text-decoration: none; word-break: break-all; }
3824
</style>
3925
</head>
4026
<body>
4127

42-
<div class="container">
43-
<h2 style="font-size: 14px; margin-bottom: 20px; color: #8b949e;">SYSTEM://MULTISTEP_BYPASS_ENGINE</h2>
44-
<input type="text" id="targetLink" placeholder="Enter Platoboost or Linkvertise URL...">
45-
<button id="execBtn" onclick="startMultistep()">INITIALIZE_BYPASS</button>
46-
47-
<div id="console" style="display: none;">
48-
<div id="log"></div>
49-
</div>
28+
<div class="box">
29+
<h3 style="margin-top:0; font-size: 14px; color: #8b949e;">LUPSUP39 // PLATORELAY_BYPASSER</h3>
30+
<input type="text" id="url" placeholder="Paste PlatoRelay / Platoboost link here...">
31+
<button onclick="runBypass()">INITIALIZE_RELAY_BYPASS</button>
32+
33+
<div id="log"></div>
5034
</div>
5135

5236
<script>
53-
let attempts = 0;
54-
const MAX_ATTEMPTS = 5;
55-
56-
function addLog(msg, type = 'info') {
57-
const log = document.getElementById('log');
58-
const div = document.createElement('div');
59-
div.className = `step-${type}`;
60-
div.innerHTML = `[${new Date().toLocaleTimeString()}] ${msg}`;
61-
log.appendChild(div);
62-
document.getElementById('console').scrollTop = document.getElementById('console').scrollHeight;
63-
}
37+
async function runBypass() {
38+
const targetUrl = document.getElementById('url').value;
39+
const logBox = document.getElementById('log');
40+
if (!targetUrl) return;
6441

65-
async function startMultistep() {
66-
const url = document.getElementById('targetLink').value;
67-
const btn = document.getElementById('execBtn');
68-
if (!url) return;
42+
logBox.style.display = "block";
43+
logBox.innerHTML = `<div class="relay-status">[SYS] Analyzing relay sequence...</div>`;
6944

70-
// Reset UI
71-
attempts = 0;
72-
document.getElementById('log').innerHTML = "";
73-
document.getElementById('console').style.display = "block";
74-
btn.disabled = true;
75-
76-
processLink(url);
45+
// The logic: PlatoRelay often needs to be sent to a specific bypass engine
46+
// that mimics the "Relay" handshake.
47+
await processStep(targetUrl, 1);
7748
}
7849

79-
async function processLink(currentUrl) {
80-
attempts++;
81-
addLog(`Attempt ${attempts}: Processing target link...`, 'info');
50+
async function processStep(currentUrl, step) {
51+
const logBox = document.getElementById('log');
52+
logBox.innerHTML += `<div class="relay-status">[STEP ${step}] Querying relay server...</div>`;
8253

83-
const apiBase = `https://api2.adbypass.org/bypass?url=${encodeURIComponent(currentUrl)}`;
84-
const proxiedUrl = `https://corsproxy.io/?url=${encodeURIComponent(apiBase)}`;
54+
// Wrap the API with your recommended CORS Proxy
55+
const apiEndpoint = `https://api2.adbypass.org/bypass?url=${encodeURIComponent(currentUrl)}`;
56+
const proxiedUrl = `https://corsproxy.io/?url=${encodeURIComponent(apiEndpoint)}`;
8557

8658
try {
8759
const response = await fetch(proxiedUrl);
@@ -90,30 +62,19 @@ <h2 style="font-size: 14px; margin-bottom: 20px; color: #8b949e;">SYSTEM://MULTI
9062
if (data.status === "success") {
9163
const result = data.destination || data.result;
9264

93-
// Check if the result is just another checkpoint
94-
if (result.includes("platoboost.com/checkpoint") || result.includes("linkvertise.com/checkpoint")) {
95-
if (attempts >= MAX_ATTEMPTS) {
96-
addLog("Error: Max steps reached. The bypasser is stuck in a loop.", "wait");
97-
return;
98-
}
99-
addLog("Checkpoint detected. Waiting 3 seconds for engine to refresh...", "wait");
100-
setTimeout(() => processLink(result), 3000); // Wait and recurse
65+
// PlatoRelay Detection: If the result still contains 'relay' or 'checkpoint', we go again.
66+
if (result.includes("platorelay") || result.includes("checkpoint")) {
67+
logBox.innerHTML += `<div class="relay-status">[WAIT] Relay handshake detected. Retrying in 2s...</div>`;
68+
setTimeout(() => processStep(result, step + 1), 2000);
10169
} else {
102-
// Final URL reached
103-
addLog(`BYPASS_COMPLETE: Destination found!`, 'success');
104-
document.getElementById('log').innerHTML += `
105-
<div class="step-success">
106-
<a href="${result}" target="_blank" style="color: var(--accent);">${result}</a>
107-
</div>`;
108-
document.getElementById('execBtn').disabled = false;
70+
logBox.innerHTML += `<div style="color:var(--success)">[DONE] Relay bypassed successfully.</div>`;
71+
logBox.innerHTML += `<a href="${result}" target="_blank" class="final-link">${result}</a>`;
10972
}
11073
} else {
111-
addLog(`Engine Error: ${data.message || "Unknown error"}`, "wait");
112-
document.getElementById('execBtn').disabled = false;
74+
logBox.innerHTML += `<div style="color:#f85149">[ERR] Relay Engine: ${data.message || "Failed"}</div>`;
11375
}
114-
} catch (err) {
115-
addLog("Network Fail: Check CORS proxy or connection.", "wait");
116-
document.getElementById('execBtn').disabled = false;
76+
} catch (e) {
77+
logBox.innerHTML += `<div style="color:#f85149">[FATAL] Proxy connection failed.</div>`;
11778
}
11879
}
11980
</script>

0 commit comments

Comments
 (0)