Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.140.254.100
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
3 /
werneckbh /
qr-code /
src /
helpers /
Delete
Unzip
Name
Size
Permission
Date
Action
constants.php
2.86
KB
-rw-r--r--
2018-02-04 09:00
functions.php
2.87
KB
-rw-r--r--
2018-02-04 09:00
Save
Rename
<?php if (!function_exists('isPng')) { /** * Checks if file is a PNG image * * @param string $filename * @return bool */ function isPng (string $filename) : bool { return exif_imagetype($filename) === IMAGETYPE_PNG; } } if (!function_exists('isSvg')) { /** * Checks if file is an SVG image * * @param string $filename * @return bool */ function isSvg (string $filename) : bool { return 'image/svg+xml' === mime_content_type($filename); } } if (!function_exists('inString')) { /** * Checks if substring exists in string * * @param string $haystack * @param string $needle * @return bool */ function inString (string $haystack, string $needle) : bool { if (strpos($haystack, $needle) !== false) { return true; } return false; } } if (!function_exists('validateErrorCorrectionLevel')) { /** * Validates Error Correction Level * * @param string $errorCorrectionLevel * @return bool */ function validateErrorCorrectionLevel (string $errorCorrectionLevel) : bool { $allowedValues = ['L', 'M', 'Q', 'H']; /** * Must be 1 char long */ if (strlen($errorCorrectionLevel) > 1) return false; /** * Must be in $allowedValues array */ if (!in_array($errorCorrectionLevel, $allowedValues)) return false; return true; } } if (!function_exists('dropFilesBySubstring')) { /** * Deletes file(s) from a directory * * @param string $directory * @param string $substring */ function dropFilesBySubstring(string $directory, string $substring) : void { $files = scandir($directory); foreach ($files as $file) { if (inString($file, $substring)) { unlink ($directory . $file); } } } } if (!function_exists('startsWith')) { /** * Checks if string starts with substring * * @param string $needle * @param string $haystack * @return bool */ function startsWith (string $needle, string $haystack) : bool { return substr($haystack, 0, strlen($needle)) === $needle; } } if (!function_exists('strSet')) { /** * I have absolutely no idea what this does * * @param array $srctab * @param int $x * @param int $y * @param string $repl * @param bool|int $replLen */ function strSet (array &$srctab, int $x, int $y, string $repl, $replLen = false) : void { $srctab[$y] = substr_replace($srctab[$y], ($replLen !== false) ? substr($repl, 0, $replLen) : $repl, $x, ($replLen !== false) ? $replLen : strlen($repl)); } }