/** * Get the IV size for the cipher. * * @return int */ protected function getIvSize() { return mcrypt_get_iv_size($this->cipher, $this->mode); }
/** * Get the IV size for the cipher. * * @return int */ protected function getIvSize() { return mcrypt_get_iv_size($this->cipher, $this->mode); }
* Encrypt the given value. * * @param string $value * @return string */ public function encrypt($value) { $iv = mcrypt_create_iv($this->getIvSize(), $this->getRandomizer()); $value = base64_encode($this->padAndMcrypt($value, $iv));
* @param \Symfony\Component\HttpFoundation\Response $response * @return \Symfony\Component\HttpFoundation\Response */ protected function encrypt(Response $response) { foreach ($response->headers->getCookies() as $key => $c) { $encrypted = $this->encrypter->encrypt($c->getValue()); $response->headers->setCookie($this->duplicate($c, $encrypted));
* @param \Symfony\Component\HttpFoundation\Request $request * @param int $type * @param bool $catch * @return \Symfony\Component\HttpFoundation\Response */ public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) { return $this->encrypt($this->app->handle($this->decrypt($request), $type, $catch)); }
{ $this->app = $app; $this->middlewares = $middlewares; } public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) { return $this->app->handle($request, $type, $catch); }
* @param \Symfony\Component\HttpFoundation\Request $request * @return void */ public function run(SymfonyRequest $request = null) { $request = $request ?: $this['request']; $response = with($stack = $this->getStackedClient())->handle($request); $response->send();
| Once we have the application, we can simply call the run method, | which will execute the request and send the response back to | the client's browser allowing them to enjoy the creative | and wonderful application we have whipped up for them. | */ $app->run();
Key | Value |
LSPHP_ENABLE_USER_INI | on |
PATH | /usr/local/bin:/usr/bin:/bin |
TEMP | /tmp |
TMP | /tmp |
TMPDIR | /tmp |
PWD | / |
HTTP_ACCEPT | */* |
CONTENT_LENGTH | 0 |
HTTP_HOST | colonus.com |
HTTP_REFERER | http://colonus.com/php/colonustv/people/523407-rocky-marshall |
HTTP_USER_AGENT | claudebot |
HTTP_X_HTTPS | 1 |
REDIRECT_UNIQUE_ID | Zgbl6qFIaCGmoBh1XVrHeQAApAg |
REDIRECT_SCRIPT_URL | /php/colonustv/people/523407-rocky-marshall |
REDIRECT_SCRIPT_URI | https://colonus.com/php/colonustv/people/523407-rocky-marshall |
REDIRECT_USER_ID | 4694377 |
REDIRECT_HTTPS | on |
REDIRECT_SSL_TLS_SNI | colonus.com |
REDIRECT_HTTP2 | on |
REDIRECT_H2PUSH | off |
REDIRECT_H2_PUSH | off |
REDIRECT_H2_PUSHED | |
REDIRECT_H2_PUSHED_ON | |
REDIRECT_H2_STREAM_ID | 3 |
REDIRECT_H2_STREAM_TAG | 769725-869-3 |
REDIRECT_STATUS | 200 |
UNIQUE_ID | Zgbl6qFIaCGmoBh1XVrHeQAApAg |
SCRIPT_URL | /php/colonustv/people/523407-rocky-marshall |
SCRIPT_URI | https://colonus.com/php/colonustv/people/523407-rocky-marshall |
USER_ID | 4694377 |
HTTPS | on |
SSL_TLS_SNI | colonus.com |
HTTP2 | on |
H2PUSH | off |
H2_PUSH | off |
H2_PUSHED | |
H2_PUSHED_ON | |
H2_STREAM_ID | 3 |
H2_STREAM_TAG | 769725-869-3 |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache |
SERVER_NAME | colonus.com |
SERVER_ADDR | 107.180.58.46 |
SERVER_PORT | 443 |
REMOTE_ADDR | 3.235.76.155 |
DOCUMENT_ROOT | /home/keft62eam9ut/public_html |
REQUEST_SCHEME | https |
CONTEXT_PREFIX | |
CONTEXT_DOCUMENT_ROOT | /home/keft62eam9ut/public_html |
SERVER_ADMIN | webmaster@colonus.com |
SCRIPT_FILENAME | /home/keft62eam9ut/public_html/php/colonustv/index.php |
REMOTE_PORT | 39044 |
REDIRECT_URL | /php/colonustv/people/523407-rocky-marshall |
SERVER_PROTOCOL | HTTP/2.0 |
REQUEST_METHOD | GET |
QUERY_STRING | |
REQUEST_URI | /php/colonustv/people/523407-rocky-marshall |
SCRIPT_NAME | /php/colonustv/index.php |
PHP_SELF | /php/colonustv/index.php |
REQUEST_TIME_FLOAT | 1711728106.1295 |
REQUEST_TIME | 1711728106 |
Key | Value |
LSPHP_ENABLE_USER_INI | on |
PATH | /usr/local/bin:/usr/bin:/bin |
TEMP | /tmp |
TMP | /tmp |
TMPDIR | /tmp |
PWD | / |