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.189
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-8 /
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
-rwxrwxr-x
Barcode.php
5.92
KB
-rwxrwxr-x
Cache.php
2.32
KB
-rwxrwxr-x
CssManager.php
76.41
KB
-rwxrwxr-x
DirectWrite.php
14.58
KB
-rwxrwxr-x
Form.php
67.39
KB
-rwxrwxr-x
FpdiTrait.php
11.59
KB
-rwxrwxr-x
Gradient.php
34.06
KB
-rwxrwxr-x
HTMLParserMode.php
731
B
-rwxrwxr-x
Hyphenator.php
4.97
KB
-rwxrwxr-x
Mpdf.php
938.82
KB
-rwxrwxr-x
MpdfException.php
73
B
-rwxrwxr-x
MpdfImageException.php
82
B
-rwxrwxr-x
Otl.php
248.46
KB
-rwxrwxr-x
OtlDump.php
163.1
KB
-rwxrwxr-x
PageBox.php
1.02
KB
-rwxrwxr-x
PageFormat.php
2.33
KB
-rwxrwxr-x
ServiceFactory.php
5.79
KB
-rwxrwxr-x
SizeConverter.php
3.31
KB
-rwxrwxr-x
Strict.php
1.5
KB
-rwxrwxr-x
TTFontFile.php
169.31
KB
-rwxrwxr-x
TTFontFileAnalysis.php
14.22
KB
-rwxrwxr-x
TableOfContents.php
32.67
KB
-rwxrwxr-x
Tag.php
7.23
KB
-rwxrwxr-x
Ucdn.php
128.86
KB
-rwxrwxr-x
Watermark.php
49
B
-rwxrwxr-x
WatermarkImage.php
1.17
KB
-rwxrwxr-x
WatermarkText.php
887
B
-rwxrwxr-x
functions-dev.php
165
B
-rwxrwxr-x
functions.php
521
B
-rwxrwxr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Barcode.php
<?php namespace Mpdf; class Barcode { public function getBarcodeArray($code, $type, $pr = '', $quiet_zone_left = null, $quiet_zone_right = null) { $barcode = $this->getBarcode($code, $type, $pr, $quiet_zone_left, $quiet_zone_right); return $barcode ? $barcode->getData() : false; } public function getChecksum($code, $type) { $barcode = $this->getBarcode($code, $type); return $barcode ? $barcode->getChecksum() : false; } /** * @param string $code * @param string $type * @param float $pr * * @return \Mpdf\Barcode\BarcodeInterface */ public function getBarcode($code, $type, $pr = 0.0, $quiet_zone_left = null, $quiet_zone_right = null) { switch (strtoupper($type)) { case 'ISBN': case 'ISSN': case 'EAN13': // EAN 13 return new Barcode\EanUpc($code, 13, 11, 7, 0.33, 25.93); case 'UPCA': // UPC-A return new Barcode\EanUpc($code, 12, 9, 9, 0.33, 25.91); case 'UPCE': // UPC-E return new Barcode\EanUpc($code, 6, 9, 7, 0.33, 25.93); case 'EAN8': // EAN 8 return new Barcode\EanUpc($code, 8, 7, 7, 0.33, 21.64); case 'EAN2': // 2-Digits UPC-Based Extention return new Barcode\EanExt($code, 2, 7, 7, 0.33, 20, 9); case 'EAN5': // 5-Digits UPC-Based Extention return new Barcode\EanExt($code, 5, 7, 7, 0.33, 20, 9); case 'IMB': // IMB - Intelligent Mail Barcode - Onecode - USPS-B-3200 $xdim = 0.508; // Nominal value for X-dim (bar width) in mm (spec.) $bpi = 22; // Bars per inch return new Barcode\Imb($code, $xdim, ((25.4 / $bpi) - $xdim) / $xdim, ['D' => 2, 'A' => 2, 'F' => 3, 'T' => 1]); case 'RM4SCC': // RM4SCC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code) $xdim = 0.508; // Nominal value for X-dim (bar width) in mm (spec.) $bpi = 22; // Bars per inch return new Barcode\Rm4Scc($code, $xdim, ((25.4 / $bpi) - $xdim) / $xdim, ['D' => 5, 'A' => 5, 'F' => 8, 'T' => 2]); case 'KIX': // KIX (Klant index - Customer index) $xdim = 0.508; // Nominal value for X-dim (bar width) in mm (spec.) $bpi = 22; // Bars per inch return new Barcode\Rm4Scc($code, $xdim, ((25.4 / $bpi) - $xdim) / $xdim, ['D' => 5, 'A' => 5, 'F' => 8, 'T' => 2], true); case 'POSTNET': // POSTNET $xdim = 0.508; // Nominal value for X-dim (bar width) in mm (spec.) $bpi = 22; // Bars per inch return new Barcode\Postnet($code, $xdim, ((25.4 / $bpi) - $xdim) / $xdim, false); case 'PLANET': // PLANET $xdim = 0.508; // Nominal value for X-dim (bar width) in mm (spec.) $bpi = 22; // Bars per inch return new Barcode\Postnet($code, $xdim, ((25.4 / $bpi) - $xdim) / $xdim, true); case 'C93': // CODE 93 - USS-93 return new Barcode\Code93($code, $quiet_zone_left, $quiet_zone_right); case 'CODE11': // CODE 11 return new Barcode\Code11($code, ($pr > 0) ? $pr : 3, $quiet_zone_left, $quiet_zone_right); case 'MSI': // MSI (Variation of Plessey code) return new Barcode\Msi($code, false, $quiet_zone_left, $quiet_zone_right); case 'MSI+': // MSI + CHECKSUM (modulo 11) return new Barcode\Msi($code, true, $quiet_zone_left, $quiet_zone_right); case 'CODABAR': // CODABAR return new Barcode\Codabar($code, ($pr > 0) ? $pr : 2.5, $quiet_zone_left, $quiet_zone_right); case 'C128A': // CODE 128 A return new Barcode\Code128($code, 'A', false, $quiet_zone_left, $quiet_zone_right); case 'C128B': // CODE 128 B return new Barcode\Code128($code, 'B', false, $quiet_zone_left, $quiet_zone_right); case 'C128C': // CODE 128 C return new Barcode\Code128($code, 'C', false, $quiet_zone_left, $quiet_zone_right); case 'C128RAW': // CODE 128 RAW -- code is a space separated list of codes with startcode but without checkdigit,stop,end ex: "105 12 34" return new Barcode\Code128($code, 'RAW', false, $quiet_zone_left, $quiet_zone_right); case 'EAN128A': // EAN 128 A return new Barcode\Code128($code, 'A', true, $quiet_zone_left, $quiet_zone_right); case 'EAN128B': // EAN 128 B return new Barcode\Code128($code, 'B', true, $quiet_zone_left, $quiet_zone_right); case 'EAN128C': // EAN 128 C return new Barcode\Code128($code, 'C', true, $quiet_zone_left, $quiet_zone_right); case 'C39': // CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9. return new Barcode\Code39($this->sanitizeCode($code), ($pr > 0) ? $pr : 2.5, false, false, $quiet_zone_left, $quiet_zone_right); case 'C39+': // CODE 39 with checksum return new Barcode\Code39($this->sanitizeCode($code), ($pr > 0) ? $pr : 2.5, false, true, $quiet_zone_left, $quiet_zone_right); case 'C39E': // CODE 39 EXTENDED return new Barcode\Code39($this->sanitizeCode($code), ($pr > 0) ? $pr : 2.5, true, false, $quiet_zone_left, $quiet_zone_right); case 'C39E+': // CODE 39 EXTENDED + CHECKSUM return new Barcode\Code39($this->sanitizeCode($code), ($pr > 0) ? $pr : 2.5, true, true, $quiet_zone_left, $quiet_zone_right); case 'S25': // Standard 2 of 5 return new Barcode\S25($code, false, $quiet_zone_left, $quiet_zone_right); case 'S25+': // Standard 2 of 5 + CHECKSUM return new Barcode\S25($code, true, $quiet_zone_left, $quiet_zone_right); case 'I25': // Interleaved 2 of 5 return new Barcode\I25($code, 0, ($pr > 0) ? $pr : 2.5, false, $quiet_zone_left, $quiet_zone_right); case 'I25+': // Interleaved 2 of 5 + CHECKSUM return new Barcode\I25($code, 0, ($pr > 0) ? $pr : 2.5, true, $quiet_zone_left, $quiet_zone_right); case 'I25B': // Interleaved 2 of 5 + Bearer bars return new Barcode\I25($code, 2, ($pr > 0) ? $pr : 2.5, false, $quiet_zone_left, $quiet_zone_right); case 'I25B+': // Interleaved 2 of 5 + CHECKSUM + Bearer bars return new Barcode\I25($code, 2, ($pr > 0) ? $pr : 2.5, true, $quiet_zone_left, $quiet_zone_right); } return false; } private function sanitizeCode($code) { $code = str_replace(chr(194) . chr(160), ' ', $code); // mPDF 5.3.95 (for utf-8 encoded) $code = str_replace(chr(160), ' ', $code); // mPDF 5.3.95 (for win-1252) return $code; } }
Close