Menu

πŸ“°
0

I Challenge Thee

lists.debian.orgΒ·4 months ago
#qD9XK8QT
Reading 0:00
15s threshold

"use strict"; async function solve() { const output = document.getElementById('progressText'); const bar = document.getElementById('progressBar'); // Get challenge from cookie const match = document.cookie.match(/pow_challenge=([^;]+)/); if (!match) { output.innerText = "Error: No challenge cookie found. Please enable cookies."; return; } const challenge = match[1]; output.innerText = "βœ‹ Checking connection, please wait"; bar.innerText = 'πŸŒ€'; bar.className = 'animate'; const te = new TextEncoder(); let tries = 0; // Get original URL from query params const params = new URLSearchParams(location.search); const _originalUrl = params.get("original") || "/"; // Ignore attempts to redirect out of the site let originalUrl = _originalUrl.replace(new RegExp("^//+"), "/") originalUrl = originalUrl.replace(new RegExp("^[^/]*//.*"), "/") // Capture the original referer so we can forward it on the…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More