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:     souscategorie.php (1.54 KB)      -rw----r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

//connection à la database
include ("connect.php");



//Nombre maximun d'articles par page
$per_page 8;

//d'ou on commence pour la variable
if (isset($_GET['start']))
   
$start $_GET['start'];
else
{
   
$start 0;
}
$categorie $_GET['categorie'];

//Titre de la catégorie
echo strtoupper("$categorie"); 
echo 
"<br>";

// compter le nombre de réponse
$record_count mysql_num_rows(mysql_query("SELECT * FROM articles_categorie WHERE CATEGORIE='$categorie'")); // a modifier pour la sélection de donnée (SELECT ..... FROM articles

// compter le nombre maximal de page
$max_pages $record_count $per_page//mais cela peut être décimal

//apparition des données
$get mysql_query("SELECT * FROM articles_categorie WHERE CATEGORIE='$categorie' LIMIT $start$per_page");
$i=1;
while (
$row mysql_fetch_assoc($get))
     {
      
// obtenir données
    
$i++;
    
$picture $row['PHOTO'];
       
$name $row['SOUSCATEGORIE'];

     echo 
"<a href='index.php?page=produits&categorie=$name'><img src='$picture' width='100' height='70'></a>";
     if (
$i>5)
       {
       echo 
"<br>";
       
$i=1;
       }
     }

//installer le bouton avant et après
$prev $start $per_page;
$next $start $per_page;

//montrer le bouton previous
if (!($start<=0))
       echo 
"<a href='index.php?page=souscategorie&start=$prev&categorie=$categorie'>Précédent</a> ";

//montrer le bouton next
if (!($start>=$record_count-$per_page))
       echo 
"<a href='index.php?page=souscategorie&start=$next&categorie=$categorie'>Suivant</a> ";

?>

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.0056 ]--