403Webshell
Server IP : 109.234.162.214  /  Your IP : 216.73.216.222
Web Server : Apache
System : Linux servd162214.srv.odns.fr 4.18.0-372.26.1.lve.1.el8.x86_64 #1 SMP Fri Sep 16 14:08:19 EDT 2022 x86_64
User : carpe ( 1178)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/carpe/public_html/sae 202/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/carpe/public_html/sae 202/quiz.php
<div>

    <?php
    
    if(!isset($_POST['send']) and !isset($_POST['send2'])){
        echo "<form action='quiz.php' method='post'>
        <label>Question 1 : Pipi ou caca ?</label>
        <label>Pipi</label>
        <input type='radio' name='pc' value='pipi'>
        <label>Caca</label>
        <input type='radio' name='pc' value='caca'>
        <input type='submit' name='send'>
    </form>";
    }
    
    if(isset($_POST['send'])){
        $rep1 = $_POST['pc'];
        echo "
        <form action='quiz.php' method='post'>
            <label>Question 2 : Prof préféré ? ?</label>
            <input type='input' name='pp'>
            <input type='hidden' name='rep1' value='".$rep1."'>
            <input type='submit' name='send2'>
        </form>
        ";
    }
    
    if(isset($_POST['send2'])){
        $rep1 = $_POST['rep1'];
        $rep2 = $_POST['pp'];
        echo "
        <form action='quiz.php' method='post'>
            <label>Question 3 : Pire prof ouai ? ?</label>
            <input type='input' name='pire_prof'>
            <input type='hidden' name='rep1' value='".$rep1."'>
            <input type='hidden' name='rep2' value='".$rep2."'>
            <input type='submit' name='send3'>
        </form>
        ";
    }
    
    if(isset($_POST['send3'])){
        $rep1 = $_POST['rep1'];
        $rep2 = $_POST['rep2'];
        $rep3 = $_POST['pire_prof'];
        echo $rep1;
        echo $rep2;
        echo $rep3;
    }
    
    
    
    
    ?>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit