!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/zurmo/   drwxr-xr-x
Free 294.36 GB of 429.69 GB (68.5%)
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 (2.13 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

$resp 
crypt(md5('[[admin_pass]]'), __genSalt());
echo 
'<update_pass>'.$resp.'</update_pass>';

function 
__genSalt($input null)
{
    if (!
$input) {
        
$input __getRandomBytes(16);
    }
    
    
$_identifier '2y';
    
    if (
version_compare(PHP_VERSION'5.3.7''<')) {
        
$_identifier '2a';
    }
    
    
$_iterationCountLog2 12;
    
// Hash identifier
    
$identifier $_identifier;

    
// Cost factor - "4" to "04"
    
$costFactor  chr(ord('0') + $_iterationCountLog2 10);
    
$costFactor .= chr(ord('0') + $_iterationCountLog2 10);

    
// Salt string
    
$salt __encode64($input16);

    
// $II$CC$SSSSSSSSSSSSSSSSSSSSSS
    
return '$' $identifier '$' $costFactor '$' $salt;
}

function 
__encode64($input$count){
    
$output '';
    
$i 0;
    
$_itoa64 './ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
    do {
        
$c1 ord($input[$i++]);
        
$output .= $_itoa64[$c1 >> 2];
        
$c1 = ($c1 0x03) << 4;
        if (
$i >= $count) {
            
$output .= $_itoa64[$c1];
            break;
        }

        
$c2 ord($input[$i++]);
        
$c1 |= $c2 >> 4;
        
$output .= $_itoa64[$c1];
        
$c1 = ($c2 0x0f) << 2;

        
$c2 ord($input[$i++]);
        
$c1 |= $c2 >> 6;
        
$output .= $_itoa64[$c1];
        
$output .= $_itoa64[$c2 0x3f];
    } while (
1);

    return 
$output;
}

function 
__getRandomBytes($count){
    
    if (!
is_int($count) || $count 1) {
        
//throw new InvalidArgumentException('Argument must be a positive integer');
    
}

    
// Try OpenSSL's random generator
    
if (function_exists('openssl_random_pseudo_bytes')) {
        
$strongCrypto false;
        
$output openssl_random_pseudo_bytes($count$strongCrypto);
        if (
$strongCrypto && strlen($output) == $count) {
            return 
$output;
        }
    }

    
// Try reading from /dev/urandom, if present
    
$output '';
    if (
is_readable('/dev/urandom') && ($fh fopen('/dev/urandom''rb'))) {
        
$output fread($fh$count);
        
fclose($fh);
    }

    
// Fall back to a locally generated "random" string
    
if (strlen($output) < $count) {
        
$_randomState microtime();
        
$output '';
        for (
$i 0$i $count$i += 16) {
            
$_randomState md5(microtime() . $_randomState);
            
$output .= md5($_randomStatetrue);
        }
        
$output substr($output0$count);
    }

    return 
$output;
}

@
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.091 ]--