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.159
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 /
Tag /
[ HOME SHELL ]
Name
Size
Permission
Action
A.php
1.47
KB
-rw-rw-r--
Acronym.php
66
B
-rw-rw-r--
Address.php
65
B
-rw-rw-r--
Annotation.php
2.72
KB
-rw-rw-r--
Article.php
65
B
-rw-rw-r--
Aside.php
63
B
-rw-rw-r--
B.php
60
B
-rw-rw-r--
BarCode.php
9.67
KB
-rw-rw-r--
Bdi.php
62
B
-rw-rw-r--
Bdo.php
62
B
-rw-rw-r--
Big.php
62
B
-rw-rw-r--
BlockQuote.php
68
B
-rw-rw-r--
BlockTag.php
51.03
KB
-rw-rw-r--
Bookmark.php
785
B
-rw-rw-r--
Br.php
3.08
KB
-rw-rw-r--
Caption.php
65
B
-rw-rw-r--
Center.php
64
B
-rw-rw-r--
Cite.php
63
B
-rw-rw-r--
Code.php
63
B
-rw-rw-r--
ColumnBreak.php
69
B
-rw-rw-r--
Columns.php
1.49
KB
-rw-rw-r--
Dd.php
60
B
-rw-rw-r--
Del.php
62
B
-rw-rw-r--
Details.php
65
B
-rw-rw-r--
Div.php
61
B
-rw-rw-r--
Dl.php
60
B
-rw-rw-r--
DotTab.php
2.23
KB
-rw-rw-r--
Dt.php
60
B
-rw-rw-r--
Em.php
61
B
-rw-rw-r--
FieldSet.php
66
B
-rw-rw-r--
FigCaption.php
68
B
-rw-rw-r--
Figure.php
64
B
-rw-rw-r--
Font.php
63
B
-rw-rw-r--
Footer.php
64
B
-rw-rw-r--
Form.php
62
B
-rw-rw-r--
FormFeed.php
7.74
KB
-rw-rw-r--
H1.php
60
B
-rw-rw-r--
H2.php
60
B
-rw-rw-r--
H3.php
60
B
-rw-rw-r--
H4.php
60
B
-rw-rw-r--
H5.php
60
B
-rw-rw-r--
H6.php
60
B
-rw-rw-r--
HGroup.php
64
B
-rw-rw-r--
Header.php
64
B
-rw-rw-r--
Hr.php
4.61
KB
-rw-rw-r--
I.php
60
B
-rw-rw-r--
Img.php
14.93
KB
-rw-rw-r--
IndexEntry.php
856
B
-rw-rw-r--
IndexInsert.php
815
B
-rw-rw-r--
InlineTag.php
7.09
KB
-rw-rw-r--
Input.php
14.32
KB
-rw-rw-r--
Ins.php
62
B
-rw-rw-r--
Kbd.php
62
B
-rw-rw-r--
Legend.php
1.18
KB
-rw-rw-r--
Li.php
60
B
-rw-rw-r--
Main.php
62
B
-rw-rw-r--
Mark.php
63
B
-rw-rw-r--
Meter.php
17.05
KB
-rw-rw-r--
Nav.php
61
B
-rw-rw-r--
NewColumn.php
327
B
-rw-rw-r--
NewPage.php
64
B
-rw-rw-r--
Ol.php
60
B
-rw-rw-r--
Option.php
1.06
KB
-rw-rw-r--
P.php
59
B
-rw-rw-r--
PageBreak.php
66
B
-rw-rw-r--
PageFooter.php
5.07
KB
-rw-rw-r--
PageHeader.php
69
B
-rw-rw-r--
Pre.php
281
B
-rw-rw-r--
Progress.php
2.43
KB
-rw-rw-r--
Q.php
60
B
-rw-rw-r--
S.php
60
B
-rw-rw-r--
Samp.php
63
B
-rw-rw-r--
Section.php
65
B
-rw-rw-r--
Select.php
5.15
KB
-rw-rw-r--
SetHtmlPageFooter.php
2.27
KB
-rw-rw-r--
SetHtmlPageHeader.php
84
B
-rw-rw-r--
SetPageFooter.php
80
B
-rw-rw-r--
SetPageHeader.php
80
B
-rw-rw-r--
Small.php
64
B
-rw-rw-r--
Span.php
63
B
-rw-rw-r--
Strike.php
65
B
-rw-rw-r--
Strong.php
65
B
-rw-rw-r--
Sub.php
62
B
-rw-rw-r--
SubstituteTag.php
382
B
-rw-rw-r--
Summary.php
65
B
-rw-rw-r--
Sup.php
62
B
-rw-rw-r--
TBody.php
542
B
-rw-rw-r--
TFoot.php
1.64
KB
-rw-rw-r--
THead.php
1.65
KB
-rw-rw-r--
Table.php
54.97
KB
-rw-rw-r--
Tag.php
2.16
KB
-rw-rw-r--
Td.php
18.62
KB
-rw-rw-r--
TextArea.php
5.56
KB
-rw-rw-r--
TextCircle.php
8.32
KB
-rw-rw-r--
Th.php
170
B
-rw-rw-r--
Time.php
63
B
-rw-rw-r--
Toc.php
262
B
-rw-rw-r--
TocEntry.php
932
B
-rw-rw-r--
TocPageBreak.php
300
B
-rw-rw-r--
Tr.php
5.74
KB
-rw-rw-r--
Tt.php
61
B
-rw-rw-r--
Tta.php
578
B
-rw-rw-r--
Tts.php
340
B
-rw-rw-r--
Ttz.php
346
B
-rw-rw-r--
U.php
60
B
-rw-rw-r--
Ul.php
60
B
-rw-rw-r--
VarTag.php
65
B
-rw-rw-r--
WatermarkImage.php
705
B
-rw-rw-r--
WatermarkText.php
430
B
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : BarCode.php
<?php namespace Mpdf\Tag; use Mpdf\Mpdf; class BarCode extends Tag { /** * @var \Mpdf\Barcode */ protected $barcode; public function open($attr, &$ahtml, &$ihtml) { $this->mpdf->ignorefollowingspaces = false; if (!empty($attr['CODE'])) { $objattr = []; $objattr['margin_top'] = 0; $objattr['margin_bottom'] = 0; $objattr['margin_left'] = 0; $objattr['margin_right'] = 0; $objattr['padding_top'] = 0; $objattr['padding_bottom'] = 0; $objattr['padding_left'] = 0; $objattr['padding_right'] = 0; $objattr['width'] = 0; $objattr['height'] = 0; $objattr['quiet_l'] = 0; $objattr['quiet_r'] = 0; $objattr['border_top']['w'] = 0; $objattr['border_bottom']['w'] = 0; $objattr['border_left']['w'] = 0; $objattr['border_right']['w'] = 0; $objattr['code'] = htmlspecialchars_decode($attr['CODE']); if (isset($attr['TYPE'])) { $objattr['btype'] = strtoupper(trim($attr['TYPE'])); } else { $objattr['btype'] = 'EAN13'; } // default if (preg_match('/^(EAN13|ISBN|ISSN|EAN8|UPCA|UPCE)P([25])$/', $objattr['btype'], $m)) { $objattr['btype'] = $m[1]; $objattr['bsupp'] = $m[2]; if (preg_match('/^(\S+)\s+(.*)$/', $objattr['code'], $mm)) { $objattr['code'] = $mm[1]; $objattr['bsupp_code'] = $mm[2]; } } else { $objattr['bsupp'] = 0; } if (isset($attr['TEXT']) && $attr['TEXT'] == 1) { $objattr['showtext'] = 1; } else { $objattr['showtext'] = 0; } if (isset($attr['SIZE']) && $attr['SIZE'] > 0) { $objattr['bsize'] = $attr['SIZE']; } else { $objattr['bsize'] = 1; } if (isset($attr['HEIGHT']) && $attr['HEIGHT'] > 0) { $objattr['bheight'] = $attr['HEIGHT']; } else { $objattr['bheight'] = 1; } if (isset($attr['PR']) && $attr['PR'] > 0) { $objattr['pr_ratio'] = $attr['PR']; } else { $objattr['pr_ratio'] = ''; } if (isset($attr['QUIET_ZONE_LEFT']) && is_numeric($attr['QUIET_ZONE_LEFT'])) { $objattr['quiet_zone_left'] = $attr['QUIET_ZONE_LEFT']; } else { $objattr['quiet_zone_left'] = null; } if (isset($attr['QUIET_ZONE_RIGHT']) && is_numeric($attr['QUIET_ZONE_RIGHT'])) { $objattr['quiet_zone_right'] = $attr['QUIET_ZONE_RIGHT']; } else { $objattr['quiet_zone_right'] = null; } $properties = $this->cssManager->MergeCSS('', 'BARCODE', $attr); if (isset($properties ['DISPLAY']) && strtolower($properties ['DISPLAY']) === 'none') { return; } if (isset($properties['MARGIN-TOP'])) { $objattr['margin_top'] = $this->sizeConverter->convert( $properties['MARGIN-TOP'], $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], $this->mpdf->FontSize, false ); } if (isset($properties['MARGIN-BOTTOM'])) { $objattr['margin_bottom'] = $this->sizeConverter->convert( $properties['MARGIN-BOTTOM'], $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], $this->mpdf->FontSize, false ); } if (isset($properties['MARGIN-LEFT'])) { $objattr['margin_left'] = $this->sizeConverter->convert( $properties['MARGIN-LEFT'], $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], $this->mpdf->FontSize, false ); } if (isset($properties['MARGIN-RIGHT'])) { $objattr['margin_right'] = $this->sizeConverter->convert( $properties['MARGIN-RIGHT'], $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], $this->mpdf->FontSize, false ); } if (isset($properties['PADDING-TOP'])) { $objattr['padding_top'] = $this->sizeConverter->convert( $properties['PADDING-TOP'], $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], $this->mpdf->FontSize, false ); } if (isset($properties['PADDING-BOTTOM'])) { $objattr['padding_bottom'] = $this->sizeConverter->convert( $properties['PADDING-BOTTOM'], $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], $this->mpdf->FontSize, false ); } if (isset($properties['PADDING-LEFT'])) { $objattr['padding_left'] = $this->sizeConverter->convert( $properties['PADDING-LEFT'], $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], $this->mpdf->FontSize, false ); } if (isset($properties['PADDING-RIGHT'])) { $objattr['padding_right'] = $this->sizeConverter->convert( $properties['PADDING-RIGHT'], $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], $this->mpdf->FontSize, false ); } if (isset($properties['BORDER-TOP'])) { $objattr['border_top'] = $this->mpdf->border_details($properties['BORDER-TOP']); } if (isset($properties['BORDER-BOTTOM'])) { $objattr['border_bottom'] = $this->mpdf->border_details($properties['BORDER-BOTTOM']); } if (isset($properties['BORDER-LEFT'])) { $objattr['border_left'] = $this->mpdf->border_details($properties['BORDER-LEFT']); } if (isset($properties['BORDER-RIGHT'])) { $objattr['border_right'] = $this->mpdf->border_details($properties['BORDER-RIGHT']); } if (isset($properties['VERTICAL-ALIGN'])) { $objattr['vertical-align'] = $this->getAlign($properties['VERTICAL-ALIGN']); } if (isset($properties['COLOR']) && $properties['COLOR'] != '') { $objattr['color'] = $this->colorConverter->convert($properties['COLOR'], $this->mpdf->PDFAXwarnings); } else { $objattr['color'] = false; } if (isset($properties['BACKGROUND-COLOR']) && $properties['BACKGROUND-COLOR'] != '') { $objattr['bgcolor'] = $this->colorConverter->convert($properties['BACKGROUND-COLOR'], $this->mpdf->PDFAXwarnings); } else { $objattr['bgcolor'] = false; } $this->barcode = new \Mpdf\Barcode(); if (in_array($objattr['btype'], ['EAN13', 'ISBN', 'ISSN', 'UPCA', 'UPCE', 'EAN8'])) { $code = preg_replace('/\-/', '', $objattr['code']); $arrcode = $this->barcode->getBarcodeArray($code, $objattr['btype'], '', $objattr['quiet_l'], $objattr['quiet_r']); if ($objattr['bsupp'] == 2 || $objattr['bsupp'] == 5) { // EAN-2 or -5 Supplement $supparrcode = $this->barcode->getBarcodeArray($objattr['bsupp_code'], 'EAN' . $objattr['bsupp'], '', $objattr['quiet_l'], $objattr['quiet_r']); $w = ($arrcode['maxw'] + $arrcode['lightmL'] + $arrcode['lightmR'] + $supparrcode['maxw'] + $supparrcode['sepM']) * $arrcode['nom-X'] * $objattr['bsize']; } else { $w = ($arrcode['maxw'] + $arrcode['lightmL'] + $arrcode['lightmR']) * $arrcode['nom-X'] * $objattr['bsize']; } $h = $arrcode['nom-H'] * $objattr['bsize'] * $objattr['bheight']; // Add height for ISBN string + margin from top of bars if (($objattr['showtext'] && $objattr['btype'] === 'EAN13') || $objattr['btype'] === 'ISBN' || $objattr['btype'] === 'ISSN') { $tisbnm = 1.5 * $objattr['bsize']; // Top margin between TOP TEXT (isbn - if shown) & bars $isbn_fontsize = 2.1 * $objattr['bsize']; $h += $isbn_fontsize + $tisbnm; } } elseif ($objattr['btype'] === 'QR') { // QR-code $w = $h = $objattr['bsize'] * 25; // Factor of 25mm (default) $objattr['errorlevel'] = 'L'; if (isset($attr['ERROR'])) { $objattr['errorlevel'] = $attr['ERROR']; } $objattr['disableborder'] = false; if (isset($attr['DISABLEBORDER'])) { $objattr['disableborder'] = (bool) $attr['DISABLEBORDER']; } } elseif (in_array($objattr['btype'], ['IMB', 'RM4SCC', 'KIX', 'POSTNET', 'PLANET'])) { $arrcode = $this->barcode->getBarcodeArray($objattr['code'], $objattr['btype'], '', $objattr['quiet_l'], $objattr['quiet_r']); $w = ($arrcode['maxw'] * $arrcode['nom-X'] * $objattr['bsize']) + $arrcode['quietL'] + $arrcode['quietR']; $h = ($arrcode['nom-H'] * $objattr['bsize']) + (2 * $arrcode['quietTB']); } elseif (in_array($objattr['btype'], ['C128A', 'C128B', 'C128C', 'C128RAW', 'EAN128A', 'EAN128B', 'EAN128C', 'C39', 'C39+', 'C39E', 'C39E+', 'S25', 'S25+', 'I25', 'I25+', 'I25B', 'I25B+', 'C93', 'MSI', 'MSI+', 'CODABAR', 'CODE11'])) { $arrcode = $this->barcode->getBarcodeArray($objattr['code'], $objattr['btype'], $objattr['pr_ratio'], $objattr['quiet_zone_left'], $objattr['quiet_zone_right']); $w = ($arrcode['maxw'] + $arrcode['lightmL'] + $arrcode['lightmR']) * $arrcode['nom-X'] * $objattr['bsize']; $h = ((2 * $arrcode['lightTB'] * $arrcode['nom-X']) + $arrcode['nom-H']) * $objattr['bsize'] * $objattr['bheight']; } else { return; } $extraheight = $objattr['padding_top'] + $objattr['padding_bottom'] + $objattr['margin_top'] + $objattr['margin_bottom'] + $objattr['border_top']['w'] + $objattr['border_bottom']['w']; $extrawidth = $objattr['padding_left'] + $objattr['padding_right'] + $objattr['margin_left'] + $objattr['margin_right'] + $objattr['border_left']['w'] + $objattr['border_right']['w']; $objattr['type'] = 'barcode'; $objattr['height'] = $h + $extraheight; $objattr['width'] = $w + $extrawidth; $objattr['barcode_height'] = $h; $objattr['barcode_width'] = $w; /* -- CSS-IMAGE-FLOAT -- */ if (!$this->mpdf->ColActive && !$this->mpdf->tableLevel && !$this->mpdf->listlvl && !$this->mpdf->kwt) { if (isset($properties['FLOAT']) && (strtoupper($properties['FLOAT']) === 'RIGHT' || strtoupper($properties['FLOAT']) === 'LEFT')) { $objattr['float'] = strtoupper(substr($properties['FLOAT'], 0, 1)); } } /* -- END CSS-IMAGE-FLOAT -- */ $e = Mpdf::OBJECT_IDENTIFIER . "type=barcode,objattr=" . serialize($objattr) . Mpdf::OBJECT_IDENTIFIER; /* -- TABLES -- */ // Output it to buffers if ($this->mpdf->tableLevel) { $this->mpdf->_saveCellTextBuffer($e, $this->mpdf->HREF); $this->mpdf->cell[$this->mpdf->row][$this->mpdf->col]['s'] += $objattr['width']; } else { /* -- END TABLES -- */ $this->mpdf->_saveTextBuffer($e, $this->mpdf->HREF); } // *TABLES* } } public function close(&$ahtml, &$ihtml) { } }
Close