SkidSec WebShell

Server Address : 2a02:4780:a:760:0:37cc:13e2:3

Web Server : LiteSpeed

Uname : Linux uk-fast-web660.main-hosting.eu 5.14.0-570.55.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Oct 21 05:27:51 EDT 2025 x86_64

PHP Version : 7.4.33



Current Path : /home/u936121314/public_html/ec/



Current File : /home/u936121314/public_html/ec/check_otp.php
<?php
require ('connection.inc.php');
require ('functions.inc.php');
$type=get_safe_value($conn,$_POST['type']);

if($type=='email'){
    $otp=get_safe_value($conn,$_POST['otp']);
    if($otp==$_SESSION['EMAIL_OTP']){
        echo 'done';
    }
    else{
        echo 'fail';
    }
}

if($type=='mobile'){
    $otp=get_safe_value($conn,$_POST['otp']);
    if($otp==$_SESSION['MOBILE_OTP']){
        echo 'done';
    }
    else{
        echo 'fail';
    }
}

?>