!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/lampp/phpmyadmin/vendor/pragmarx/google2fa-qrcode/src/QRCode/   drwxr-xr-x
Free 13.77 GB of 61.93 GB (22.24%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Chillerlan.php (1.7 KB)      -rw-r--r--
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 ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.4903 ]--