403Webshell
Server IP : 173.209.174.21  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux wcfs-server 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64
User : nodor ( 1000)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/thelittlebigshow/app.05-08-26/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/thelittlebigshow/app.05-08-26/action.php.orig
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" />
<div class="container">
    <div class="row well alert alert-success">
        <?php 
            session_start();
            include_once("db.php");
            require_once("phpqrcode/qrlib.php");

             $imgTime = time();
            $path = 'images/';
            $qrcode = $path.$imgTime.'.png';

            //second qr
            $public_path = 'images/publicQr/';
            $public_qrcode = $public_path.$imgTime.'.png';

            $qrimage = $imgTime.'.png';

            

            // Database Store Code Start
            // if(!empty($_POST["name"]) && !empty($_POST["address"]) && !empty($_POST["phone"]) && !empty($_POST["vehicle_maker"]) && !empty($_POST["vehicle_model"]) && !empty($_POST["vehicle_year"]) && !empty($_POST["checkbox"]) ){
                if(isset($_POST["submit"])){
                    $name = $_POST["name"];
                    $address = $_POST["address"];
                    $phone = $_POST["phone"];
                    $vehicle_maker = $_POST["vehicle_maker"];
                    $vehicle_model = $_POST["vehicle_model"];
                    $vehicle_year = $_POST["vehicle_year"];
                    $category = $_POST["category"];
                    $my_date = date("Y-m-d H:i:s");
                    $checkbox = "yes";


                    // Image Upload Code 
                    
                    // $singature=$_FILES['signature']['name']; 
                    // $singatureArr=explode('.',$singature); 
                    // $rand=rand(10000,99999);
                    // $newSingatureName=$singatureArr[0].$rand.'.'.$singatureArr[1];
                    // $uploadPath="images/".$newSingatureName;
                    // $isUploaded=move_uploaded_file($_FILES["signature"]["tmp_name"],$uploadPath);


                    // Password Generator
                    // $passRam = openssl_random_pseudo_bytes(2);
                    // $password = bin2hex($passRam);
    
    
                    $sql = "INSERT INTO vehicles(name, address, phone, vehicle_maker, vehicle_model, vehicle_year, category, checkbox, qrcode, created_date,fav_qr) VALUES ('$name','$address','$phone','$vehicle_maker','$vehicle_model','$vehicle_year','$category','$checkbox','$qrimage','$my_date','$qrimage')";
                    if(mysqli_query($conn, $sql)){
                        $_SESSION['msg']="Thanks, Your data has been recorded successfully.";
                        header("Location: index.php");
                    }else{
                        $_SESSION['msg']="Please Try Again!!";
                    }

                    // Current Inserted ID 
                    $curr_id = mysqli_insert_id($conn);

                    // Get Base Url 
                    $base_url = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != "off") ? "https" : "http");
                    $base_url .= "://".$_SERVER['HTTP_HOST'];
                    $base_url .= str_replace(basename($_SERVER['SCRIPT_NAME']),"",$_SERVER['SCRIPT_NAME']);

                    // Data For QRCode
                    $data = $base_url."vote.php?id=".$curr_id;
                    $public_data = $base_url."public_vote.php?id=".$curr_id;

                    header( "Location: view.php?id={$curr_id}" );
                    mysqli_close($conn);
                }
            // }else{
            //     $_SESSION["err"]= "Please Fill The All Field !!";
            //     header("Location: index.php");
            // } 
            // Database Store Code End
            echo $base_url;
            QRcode ::png($data , $qrcode , 'H',4 , 4);
            QRcode ::png($public_data , $public_qrcode , 'H',4 , 4);
            // echo '<img src="'.$qrcode.'">';

            
        ?>
    </div>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit