!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/domains/sms.picotech.app/public_html/vendor/dompdf/dompdf/src/Renderer/   drwxr-xr-x
Free 28.74 GB of 117.98 GB (24.36%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Image.php (2.57 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * @package dompdf
 * @link    https://github.com/dompdf/dompdf
 * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
 */
namespace Dompdf\Renderer;

use 
Dompdf\Frame;
use 
Dompdf\FrameDecorator\Image as ImageFrameDecorator;
use 
Dompdf\Image\Cache;

/**
 * Image renderer
 *
 * @package dompdf
 */
class Image extends Block
{
    
/**
     * @param ImageFrameDecorator $frame
     */
    
function render(Frame $frame)
    {
        
$style $frame->get_style();
        
$border_box $frame->get_border_box();

        
$this->_set_opacity($frame->get_opacity($style->opacity));

        
// Render background & borders
        
$this->_render_background($frame$border_box);
        
$this->_render_border($frame$border_box);
        
$this->_render_outline($frame$border_box);

        
$content_box $frame->get_content_box();
        [
$x$y$w$h] = $content_box;

        
$src $frame->get_image_url();
        
$alt null;

        if (
Cache::is_broken($src) &&
            
$alt $frame->get_node()->getAttribute("alt")
        ) {
            
$font $style->font_family;
            
$size $style->font_size;
            
$word_spacing $style->word_spacing;
            
$letter_spacing $style->letter_spacing;

            
$this->_canvas->text(
                
$x,
                
$y,
                
$alt,
                
$font,
                
$size,
                
$style->color,
                
$word_spacing,
                
$letter_spacing
            
);
        } elseif (
$w && $h 0) {
            if (
$style->has_border_radius()) {
                [
$tl$tr$br$bl] = $style->resolve_border_radius($border_box$content_box);
                
$this->_canvas->clipping_roundrectangle($x$y$w$h$tl$tr$br$bl);
            }

            
$this->_canvas->image($src$x$y$w$h$style->image_resolution);

            if (
$style->has_border_radius()) {
                
$this->_canvas->clipping_end();
            }
        }

        if (
$msg $frame->get_image_msg()) {
            
$parts preg_split("/\s*\n\s*/"$msg);
            
$font $style->font_family;
            
$height 10;
            
$_y $alt $y $h count($parts) * $height $y;

            foreach (
$parts as $i => $_part) {
                
$this->_canvas->text($x$_y $i $height$_part$font$height 0.8, [0.50.50.5]);
            }
        }

        
$id $frame->get_node()->getAttribute("id");
        if (
strlen($id) > 0) {
            
$this->_canvas->add_named_dest($id);
        }

        
$this->debugBlockLayout($frame"blue");
    }
}

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