!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.9%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Webauthn;

use 
CBOR\ByteStringObject;
use 
CBOR\MapItem;
use 
CBOR\MapObject;
use 
CBOR\NegativeIntegerObject;
use 
CBOR\UnsignedIntegerObject;

class 
U2FPublicKey
{
    public static function 
isU2FKey($publicKey): bool
    
{
        return 
$publicKey[0] === "\x04";
    }

    public static function 
createCOSEKey($publicKey): string
    
{

        
$mapObject = new MapObject([
            
=> MapItem::create(
                new 
UnsignedIntegerObject(1null),
                new 
UnsignedIntegerObject(2null)
            ),
            
=> MapItem::create(
                new 
UnsignedIntegerObject(3null),
                new 
NegativeIntegerObject(6null)
            ),
            -
=> MapItem::create(
                new 
NegativeIntegerObject(0null),
                new 
UnsignedIntegerObject(1null)
            ),
            -
=> MapItem::create(
                new 
NegativeIntegerObject(1null),
                new 
ByteStringObject(substr($publicKey132))
            ),
            -
=> MapItem::create(
                new 
NegativeIntegerObject(2null),
                new 
ByteStringObject(substr($publicKey33))
            ),
        ]);

        return 
$mapObject->__toString();
    }
}

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