File: //opt/cpguard/app/api/public/captcha/ssl.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Captcha Verification</title>
<script async defer src="https://cdn.jsdelivr.net/npm/altcha/dist/altcha.min.js" type="module"></script>
<style>
/* General Styles */
body {
font-family: Arial, sans-serif;
background-color: #f9f9f9;
margin: 0;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
/* Main container */
.container {
text-align: center;
background-color: #fff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 8px;
padding: 20px;
max-width: 400px;
width: 100%;
}
/* Logo */
.logo img {
max-width: 100px;
margin-bottom: 20px;
}
/* Headings and Text */
h1 {
font-size: 1.5em;
color: #333;
}
p {
font-size: 0.95em;
color: #555;
line-height: 1.5;
margin-bottom: 20px;
}
/* Captcha Section */
.captcha-container img {
border: 1px solid #ddd;
border-radius: 4px;
margin: 10px 0;
}
.captcha-input {
margin-top: 10px;
}
input[type="text"] {
width: calc(100% - 20px);
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 1em;
}
button {
background-color: #4CAF50;
color: white;
padding: 10px 15px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 1em;
}
button:hover {
background-color: #45a049;
}
/* Footer */
.footer {
margin-top: 20px;
font-size: 0.85em;
color: #999;
}
</style>
</head>
<body>
<div class="container">
<!-- Logo -->
<div class="logo">
<img src="https://opsshield.com/images/cpguard-logo.svg" alt="cPGuard Logo">
</div>
<!-- Explanation -->
<h1>Verify Captcha</h1>
<p>We’ve noticed unusual activity from your network. To proceed, please complete the captcha below. This helps
us ensure that you're not a robot.</p>
<!-- Captcha Section -->
<div style="display: flex; justify-content: center;">
<altcha-widget challengeurl="/captcha.php">
</altcha-widget>
</div>
<!-- Footer -->
<div class="footer">
<p>If you need assistance, contact support.</p>
</div>
</div>
</body>
</html>