Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

Question Whitelist IP to bypass google captcha

Wncstreams

Extended Member
Ext. Member
Joined
Jan 27, 2020
Messages
40
Reaction score
98
Points
29
Location
USA
Trying to find some help or a how-to on how to whitelist a IP (whmcs automation site) that will allow the google captcha to be bypassed on xui


I know it can be done because I see people using it. So don't say it's not possible
 
If you can figure out where to put these blocks of code, you'll be a winner.

PHP:
<?php
include "functions.php";
if (isset($_SESSION['hash'])) { header("Location: ./dashboard.php"); exit; }
if ($_SERVER['REMOTE_ADDR'] == 'WHITELIST_IP'){ $CaptchaBypass = $_SERVER['REMOTE_ADDR']; }


PHP:
<?php if ($rAdminSettings["recaptcha_enable"] && !$CaptchaBypass) { ?>

PHP:
        <script src="assets/js/vendor.min.js"></script>
        <script src="assets/libs/parsleyjs/parsley.min.js"></script>
        <script src="assets/js/app.min.js?rid=<?=getID()?>"></script>
        <?php if ($rAdminSettings["recaptcha_enable"] && !$CaptchaBypass) { ?>
        <script src="https://www.google.com/recaptcha/api.js" async defer></script>
        <?php } ?>
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top