/** * 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 |
REDIRECT_UNIQUE_ID | ZgU5CFsS8H2D5BMEBv@VngAAAAU |
REDIRECT_HTTPS | on |
REDIRECT_SSL_TLS_SNI | www.gringomedia.com.au |
REDIRECT_STATUS | 200 |
UNIQUE_ID | ZgU5CFsS8H2D5BMEBv@VngAAAAU |
HTTPS | on |
SSL_TLS_SNI | www.gringomedia.com.au |
SSL_SERVER_S_DN_CN | gringomedia.com.au |
SSL_SERVER_I_DN_C | US |
SSL_SERVER_I_DN_O | Let's Encrypt |
SSL_SERVER_I_DN_CN | R3 |
SSL_SERVER_SAN_DNS_0 | gringomedia.com.au |
SSL_SERVER_SAN_DNS_1 | www.gringomedia.com.au |
SSL_VERSION_INTERFACE | mod_ssl/2.4.6 |
SSL_VERSION_LIBRARY | OpenSSL/1.0.2k-fips |
SSL_PROTOCOL | TLSv1.2 |
SSL_SECURE_RENEG | true |
SSL_COMPRESS_METHOD | NULL |
SSL_CIPHER | ECDHE-RSA-AES256-GCM-SHA384 |
SSL_CIPHER_EXPORT | false |
SSL_CIPHER_USEKEYSIZE | 256 |
SSL_CIPHER_ALGKEYSIZE | 256 |
SSL_CLIENT_VERIFY | NONE |
SSL_SERVER_M_VERSION | 3 |
SSL_SERVER_M_SERIAL | 04B3052F215F2218095F0256066805587CEF |
SSL_SERVER_V_START | Mar 3 23:04:37 2024 GMT |
SSL_SERVER_V_END | Jun 1 23:04:36 2024 GMT |
SSL_SERVER_S_DN | CN=gringomedia.com.au |
SSL_SERVER_I_DN | CN=R3,O=Let's Encrypt,C=US |
SSL_SERVER_A_KEY | rsaEncryption |
SSL_SERVER_A_SIG | sha256WithRSAEncryption |
SSL_SESSION_RESUMED | Initial |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_HOST | www.gringomedia.com.au |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache/2.4.6 (CentOS) mpm-itk/2.4.7-04 OpenSSL/1.0.2k-fips PHP/7.4.33 |
SERVER_NAME | www.gringomedia.com.au |
SERVER_ADDR | 62.72.12.172 |
SERVER_PORT | 443 |
REMOTE_ADDR | 44.199.212.254 |
DOCUMENT_ROOT | /home/cleberweb/public_html |
REQUEST_SCHEME | https |
CONTEXT_PREFIX | |
CONTEXT_DOCUMENT_ROOT | /home/cleberweb/public_html |
SERVER_ADMIN | sysadmin@hostdy.net |
SCRIPT_FILENAME | /home/cleberweb/public_html/index.php |
REMOTE_PORT | 54580 |
REDIRECT_URL | /gringo-video/white-party-2016/view |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | |
REQUEST_URI | /gringo-video/white-party-2016/view |
SCRIPT_NAME | /index.php |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711618312.9301 |
REQUEST_TIME | 1711618312 |