From 6f77f5acb110eefd670b787babc9dc7cb4197de8 Mon Sep 17 00:00:00 2001
From: Vaxry
Date: Tue, 22 Apr 2025 00:26:44 +0100
Subject: [PATCH] handler/stop: add no js solution option
---
html/index.html | 81 +++++++++++++++++++++++++++++++++++++++++-
html/index.min.html | 4 +--
src/core/Challenge.cpp | 32 +++++++++++++++++
src/core/Challenge.hpp | 4 +++
src/core/Handler.cpp | 27 +++++++++++---
src/core/Handler.hpp | 2 +-
6 files changed, 142 insertions(+), 8 deletions(-)
diff --git a/html/index.html b/html/index.html
index d85ad0a..2faf85f 100644
--- a/html/index.html
+++ b/html/index.html
@@ -154,6 +154,19 @@
transition: ease-in-out 0.1s;
}
+ .link,
+ .link:visited,
+ .link:link,
+ .link:focus,
+ .link:active {
+ color: #c03940;
+ text-decoration: none;
+ }
+
+ .link:hover {
+ text-decoration: underline;
+ }
+
@media (pointer:none),
(pointer:coarse) {
.big-icon {
@@ -198,10 +211,76 @@
🛑
STOP!
This website usescheckpointand requires javascript to automatically verify you are not a bot.
You seem to be running without Javascript enabled, and thus will have to do this manually.
Paste this command into your Linux terminal and provide the output below:
perl -MDigest::SHA=sha256_hex -e '$nonce="{{ tl:text challengeNonce }}"; $d={{ tl:text challengeDifficulty }}; for($i=0;; $i++){ $h=sha256_hex($nonce.$i); if(substr($h,0,$d) eq "0"x$d){ print "$i\n"; last }}'
Verifying that you are not a bot. This might take a short moment.
You do not need to do anything.
Why am I seeing this?
This website protects itself from AI bots and scrapers by asking you to complete a cryptographic challenge before allowing you entry.
+