Created
September 5, 2025 16:25
-
-
Save MHaggis/371eb2a904f611e793527556aca3e345 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Human Verification</title> | |
| <style> | |
| body { | |
| font-family: Roboto, Helvetica, Arial, sans-serif; | |
| background: #f5f5f5; | |
| } | |
| .center-box { | |
| position: fixed; | |
| top: 50%; | |
| left: 50%; | |
| transform: translate(-50%, -50%); | |
| background: #fff; | |
| border: 1px solid #d3d3d3; | |
| border-radius: 5px; | |
| box-shadow: 0 5px 15px rgba(0,0,0,0.08); | |
| padding: 32px 24px 24px 24px; | |
| text-align: center; | |
| min-width: 260px; | |
| } | |
| .human-btn { | |
| background: #1A73E8; | |
| color: #fff; | |
| border: none; | |
| border-radius: 3px; | |
| padding: 12px 32px; | |
| font-size: 16px; | |
| font-weight: 600; | |
| cursor: pointer; | |
| margin-top: 18px; | |
| transition: background 0.2s; | |
| } | |
| .human-btn:active { | |
| background: #155ab6; | |
| } | |
| .copied-msg { | |
| color: #388e3c; | |
| margin-top: 16px; | |
| font-size: 14px; | |
| display: none; | |
| } | |
| .desc { | |
| color: #555; | |
| font-size: 13px; | |
| margin-top: 10px; | |
| } | |
| code { | |
| font-size: 12px; | |
| color: #888; | |
| background: #f0f0f0; | |
| border-radius: 3px; | |
| padding: 2px 6px; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="center-box"> | |
| <div style="font-size:20px; font-weight:500; margin-bottom:10px;">Are you a human?</div> | |
| <div class="desc"> | |
| Click the button below to confirm you are human. | |
| </div> | |
| <button class="human-btn" id="humanBtn">I'm a human</button> | |
| <div class="copied-msg" id="copiedMsg">Copied to clipboard!</div> | |
| </div> | |
| <script> | |
| document.getElementById('humanBtn').addEventListener('click', function() { | |
| const textToCopy = "whoami.exe"; | |
| if (navigator.clipboard) { | |
| navigator.clipboard.writeText(textToCopy).then(function() { | |
| showCopiedMsg(); | |
| }, function() { | |
| fallbackCopy(); | |
| }); | |
| } else { | |
| fallbackCopy(); | |
| } | |
| function fallbackCopy() { | |
| const temp = document.createElement("textarea"); | |
| temp.value = textToCopy; | |
| document.body.appendChild(temp); | |
| temp.select(); | |
| document.execCommand("copy"); | |
| document.body.removeChild(temp); | |
| showCopiedMsg(); | |
| } | |
| function showCopiedMsg() { | |
| const msg = document.getElementById('copiedMsg'); | |
| msg.style.display = 'block'; | |
| setTimeout(() => { msg.style.display = 'none'; }, 2000); | |
| } | |
| }); | |
| </script> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment