Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 18.116.85.111
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
sdu /
libs /
dompdf /
include /
[ HOME SHELL ]
Name
Size
Permission
Action
absolute_positioner.cls.php
3.14
KB
-rwxr-xr-x
abstract_renderer.cls.php
22.41
KB
-rwxr-xr-x
attribute_translator.cls.php
14.87
KB
-rwxr-xr-x
autoload.inc.php
2.48
KB
-rwxr-xr-x
block_frame_decorator.cls.php
5.98
KB
-rwxr-xr-x
block_frame_reflower.cls.php
23.3
KB
-rwxr-xr-x
block_positioner.cls.php
1.4
KB
-rwxr-xr-x
block_renderer.cls.php
6.63
KB
-rwxr-xr-x
cached_pdf_decorator.cls.php
5.66
KB
-rwxr-xr-x
canvas.cls.php
9.16
KB
-rwxr-xr-x
canvas_factory.cls.php
1.49
KB
-rwxr-xr-x
cellmap.cls.php
19
KB
-rwxr-xr-x
cpdf_adapter.cls.php
24.47
KB
-rwxr-xr-x
css_color.cls.php
7.71
KB
-rwxr-xr-x
dompdf.cls.php
30.77
KB
-rwxr-xr-x
dompdf_exception.cls.php
551
B
-rwxr-xr-x
dompdf_image_exception.cls.php
553
B
-rwxr-xr-x
file.skel
228
B
-rwxr-xr-x
fixed_positioner.cls.php
2.73
KB
-rwxr-xr-x
font_metrics.cls.php
10.93
KB
-rwxr-xr-x
frame.cls.php
27.46
KB
-rwxr-xr-x
frame_decorator.cls.php
15.94
KB
-rwxr-xr-x
frame_factory.cls.php
6.59
KB
-rwxr-xr-x
frame_reflower.cls.php
12.66
KB
-rwxr-xr-x
frame_tree.cls.php
5.85
KB
-rwxr-xr-x
functions.inc.php
26.45
KB
-rwxr-xr-x
gd_adapter.cls.php
19.28
KB
-rwxr-xr-x
image_cache.cls.php
5.79
KB
-rwxr-xr-x
image_frame_decorator.cls.php
1.99
KB
-rwxr-xr-x
image_frame_reflower.cls.php
6.29
KB
-rwxr-xr-x
image_renderer.cls.php
3.36
KB
-rwxr-xr-x
inline_frame_decorator.cls.php
2.29
KB
-rwxr-xr-x
inline_frame_reflower.cls.php
1.84
KB
-rwxr-xr-x
inline_positioner.cls.php
1.86
KB
-rwxr-xr-x
inline_renderer.cls.php
7.28
KB
-rwxr-xr-x
javascript_embedder.cls.php
732
B
-rwxr-xr-x
line_box.cls.php
4.96
KB
-rwxr-xr-x
list_bullet_frame_decorator.cl...
2.01
KB
-rwxr-xr-x
list_bullet_frame_reflower.cls...
845
B
-rwxr-xr-x
list_bullet_image_frame_decora...
4.46
KB
-rwxr-xr-x
list_bullet_positioner.cls.php
2.57
KB
-rwxr-xr-x
list_bullet_renderer.cls.php
6.33
KB
-rwxr-xr-x
null_frame_decorator.cls.php
576
B
-rwxr-xr-x
null_frame_reflower.cls.php
475
B
-rwxr-xr-x
null_positioner.cls.php
452
B
-rwxr-xr-x
page_cache.cls.php
3.74
KB
-rwxr-xr-x
page_frame_decorator.cls.php
16.77
KB
-rwxr-xr-x
page_frame_reflower.cls.php
5.31
KB
-rwxr-xr-x
pdflib_adapter.cls.php
27.62
KB
-rwxr-xr-x
php_evaluator.cls.php
1.04
KB
-rwxr-xr-x
positioner.cls.php
1.08
KB
-rwxr-xr-x
renderer.cls.php
7.1
KB
-rwxr-xr-x
style.cls.php
70.98
KB
-rwxr-xr-x
stylesheet.cls.php
39.64
KB
-rwxr-xr-x
table_cell_frame_decorator.cls...
2.75
KB
-rwxr-xr-x
table_cell_frame_reflower.cls....
3.63
KB
-rwxr-xr-x
table_cell_positioner.cls.php
716
B
-rwxr-xr-x
table_cell_renderer.cls.php
4.92
KB
-rwxr-xr-x
table_frame_decorator.cls.php
8.35
KB
-rwxr-xr-x
table_frame_reflower.cls.php
16.47
KB
-rwxr-xr-x
table_row_frame_decorator.cls....
1.12
KB
-rwxr-xr-x
table_row_frame_reflower.cls.p...
1.48
KB
-rwxr-xr-x
table_row_group_frame_decorato...
1.53
KB
-rwxr-xr-x
table_row_group_frame_reflower...
1.53
KB
-rwxr-xr-x
table_row_group_renderer.cls.p...
1.11
KB
-rwxr-xr-x
table_row_positioner.cls.php
780
B
-rwxr-xr-x
tcpdf_adapter.cls.php
14.11
KB
-rwxr-xr-x
text_frame_decorator.cls.php
5.56
KB
-rwxr-xr-x
text_frame_reflower.cls.php
13.48
KB
-rwxr-xr-x
text_renderer.cls.php
4.89
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : image_frame_reflower.cls.php
<?php /** * @package dompdf * @link http://dompdf.github.com/ * @author Benj Carson <benjcarson@digitaljunkies.ca> * @author Fabien Ménager <fabien.menager@gmail.com> * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License */ /** * Image reflower class * * @access private * @package dompdf */ class Image_Frame_Reflower extends Frame_Reflower { function __construct(Image_Frame_Decorator $frame) { parent::__construct($frame); } function reflow(Block_Frame_Decorator $block = null) { $this->_frame->position(); //FLOAT //$frame = $this->_frame; //$page = $frame->get_root(); //$enable_css_float = $this->get_dompdf()->get_option("enable_css_float"); //if ($enable_css_float && $frame->get_style()->float !== "none" ) { // $page->add_floating_frame($this); //} // Set the frame's width $this->get_min_max_width(); if ( $block ) { $block->add_frame_to_line($this->_frame); } } function get_min_max_width() { if (DEBUGPNG) { // Determine the image's size. Time consuming. Only when really needed? list($img_width, $img_height) = dompdf_getimagesize($this->_frame->get_image_url(), $this->get_dompdf()->get_http_context()); print "get_min_max_width() ". $this->_frame->get_style()->width.' '. $this->_frame->get_style()->height.';'. $this->_frame->get_parent()->get_style()->width." ". $this->_frame->get_parent()->get_style()->height.";". $this->_frame->get_parent()->get_parent()->get_style()->width.' '. $this->_frame->get_parent()->get_parent()->get_style()->height.';'. $img_width. ' '. $img_height.'|' ; } $style = $this->_frame->get_style(); $width_forced = true; $height_forced = true; //own style auto or invalid value: use natural size in px //own style value: ignore suffix text including unit, use given number as px //own style %: walk up parent chain until found available space in pt; fill available space // //special ignored unit: e.g. 10ex: e treated as exponent; x ignored; 10e completely invalid ->like auto $width = ($style->width > 0 ? $style->width : 0); if ( is_percent($width) ) { $t = 0.0; for ($f = $this->_frame->get_parent(); $f; $f = $f->get_parent()) { $f_style = $f->get_style(); $t = $f_style->length_in_pt($f_style->width); if ($t != 0) { break; } } $width = ((float)rtrim($width,"%") * $t)/100; //maybe 0 } elseif ( !mb_strpos($width, 'pt') ) { // Don't set image original size if "%" branch was 0 or size not given. // Otherwise aspect changed on %/auto combination for width/height // Resample according to px per inch // See also List_Bullet_Image_Frame_Decorator::__construct $width = $style->length_in_pt($width); } $height = ($style->height > 0 ? $style->height : 0); if ( is_percent($height) ) { $t = 0.0; for ($f = $this->_frame->get_parent(); $f; $f = $f->get_parent()) { $f_style = $f->get_style(); $t = $f_style->length_in_pt($f_style->height); if ($t != 0) { break; } } $height = ((float)rtrim($height,"%") * $t)/100; //maybe 0 } elseif ( !mb_strpos($height, 'pt') ) { // Don't set image original size if "%" branch was 0 or size not given. // Otherwise aspect changed on %/auto combination for width/height // Resample according to px per inch // See also List_Bullet_Image_Frame_Decorator::__construct $height = $style->length_in_pt($height); } if ($width == 0 || $height == 0) { // Determine the image's size. Time consuming. Only when really needed! list($img_width, $img_height) = dompdf_getimagesize($this->_frame->get_image_url(), $this->get_dompdf()->get_http_context()); // don't treat 0 as error. Can be downscaled or can be catched elsewhere if image not readable. // Resample according to px per inch // See also List_Bullet_Image_Frame_Decorator::__construct if ($width == 0 && $height == 0) { $dpi = $this->_frame->get_dompdf()->get_option("dpi"); $width = (float)($img_width * 72) / $dpi; $height = (float)($img_height * 72) / $dpi; $width_forced = false; $height_forced = false; } elseif ($height == 0 && $width != 0) { $height_forced = false; $height = ($width / $img_width) * $img_height; //keep aspect ratio } elseif ($width == 0 && $height != 0) { $width_forced = false; $width = ($height / $img_height) * $img_width; //keep aspect ratio } } // Handle min/max width/height if ( $style->min_width !== "none" || $style->max_width !== "none" || $style->min_height !== "none" || $style->max_height !== "none" ) { list(/*$x*/, /*$y*/, $w, $h) = $this->_frame->get_containing_block(); $min_width = $style->length_in_pt($style->min_width, $w); $max_width = $style->length_in_pt($style->max_width, $w); $min_height = $style->length_in_pt($style->min_height, $h); $max_height = $style->length_in_pt($style->max_height, $h); if ( $max_width !== "none" && $width > $max_width ) { if ( !$height_forced ) { $height *= $max_width / $width; } $width = $max_width; } if ( $min_width !== "none" && $width < $min_width ) { if ( !$height_forced ) { $height *= $min_width / $width; } $width = $min_width; } if ( $max_height !== "none" && $height > $max_height ) { if ( !$width_forced ) { $width *= $max_height / $height; } $height = $max_height; } if ( $min_height !== "none" && $height < $min_height ) { if ( !$width_forced ) { $width *= $min_height / $height; } $height = $min_height; } } if (DEBUGPNG) print $width.' '.$height.';'; $style->width = $width . "pt"; $style->height = $height . "pt"; $style->min_width = "none"; $style->max_width = "none"; $style->min_height = "none"; $style->max_height = "none"; return array( $width, $width, "min" => $width, "max" => $width); } }
Close