~ K A L I ~
UNAME : Linux web63.extendcp.co.uk 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64SERVER IP : 10.0.187.63 -________-
CLIENT IP : 216.73.216.155 MINI SHELL D ZAB '
Current File : //home/phpmyadmin-www/botprotection/captcha.cgi |
#!/usr/bin/perl
use strict;
use warnings;
use CGI;
use LWP::UserAgent;
use Captcha::reCAPTCHA;
use Sys::Hostname;
my $q = CGI->new;
my $c = Captcha::reCAPTCHA->new;
my $REMOTE_IP = $ENV{'HTTP_X_FORWARDED_FOR'};
$REMOTE_IP = $ENV{'REMOTE_ADDR'} unless $REMOTE_IP;
my $message = 'Are you human?';
if ( $ENV{'REQUEST_METHOD'} eq 'POST' and $q->param('submit') and $q->param('g-recaptcha-response') ) {
my $result = $c->check_answer_v2('6Lf100wUAAAAAGU_nnSt1t594vEGhgW65j-VgZEU', $q->param('g-recaptcha-response'), $REMOTE_IP);
if ($result->{is_valid}) {
my $hostname = hostname;
$hostname =~ s/extendcp\.co\.uk/secure-secure.co.uk/g;
my $ua = LWP::UserAgent->new;
$ua->timeout(10);
$ua->env_proxy;
$ua->get('https://'.$hostname, 'X-CAPTCHA-PASS' => $REMOTE_IP );
print $q->header(-Refresh => "0;url=");
exit;
} else {
$message = 'Please try again.';
}
}
print <<HTML;
Content-type: text/html
<!doctype html>
<html>
<head>
<title>Are you human?</title>
<script src='https://www.google.com/recaptcha/api.js'></script>
<style>
html, body {
height: 100%;
background: #f1f1f1;
color: #72777c;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
font-size: 28px;
}
div {
margin: auto;
text-align: center;
vertical-align: middle;
position: relative;
}
#container {
top: 25%;
max-width: 340px;
min-width: 340px;
background: #fff;
padding: 16px 16px 16px;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.13);
box-shadow: 0 1px 3px rgba(0,0,0,.13);
}
form {
padding: 10px;
}
input {
height: 30px;
padding: 0 12px 2px;
background: #0085ba;
border-color: #0073aa #006799 #006799;
-webkit-box-shadow: 0 1px 0 #006799;
box-shadow: 0 1px 0 #006799;
color: #fff;
line-height: 28px;
text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
border-radius: 3px;
cursor: pointer;
margin-top: 20px;
}
</style>
</head>
<body>
<div id='container'>
<p>$message</p>
<form action="" method="POST">
HTML
print $c->get_html_v2('6Lf100wUAAAAAI4vAIqwTfuyUNHcYa7NQSidm9NY');
print <<HTML;
<input type="submit" name="submit" value="Continue">
</form>
</div>
</body>
</html>
HTML
Coded by KALI :v Greetz to DR HARD ../ kali.zbi@hotmail.com