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.202.60
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.back /
v2021 /
protected /
Pages /
Admin /
[ HOME SHELL ]
Name
Size
Permission
Action
ClassCatalog.page
18.95
KB
-rw-r--r--
ClassCatalog.php
16.13
KB
-rw-r--r--
ClassMaterials.page
2.26
KB
-rw-r--r--
ClassMaterials.php
4.73
KB
-rw-r--r--
ClassSchedule.page
1.58
KB
-rw-r--r--
ClassSchedule.php
1.26
KB
-rw-r--r--
ClassScheduleBlockEdit.page
2.7
KB
-rw-r--r--
ClassScheduleBlockEdit.php
7.7
KB
-rw-r--r--
ContentBrowse.page
1.41
KB
-rw-r--r--
ContentBrowse.php
4.16
KB
-rw-r--r--
GlobalPapersEdit.page
3.43
KB
-rw-r--r--
GlobalPapersList.php
1.37
KB
-rw-r--r--
Home.page
43
B
-rw-r--r--
Login.page
670
B
-rw-r--r--
Login.php
446
B
-rw-r--r--
NewsItemEdit.page
3.1
KB
-rw-r--r--
NewsItemEdit.php
2.25
KB
-rw-r--r--
NewsItemImageEdit.page
1.49
KB
-rw-r--r--
NewsItemImageEdit.php
3.97
KB
-rw-r--r--
NewsItems.page
2.08
KB
-rw-r--r--
NewsItems.php
1.46
KB
-rw-r--r--
PaperCoverEdit.page
1.47
KB
-rw-r--r--
PaperCoverEdit.php
4.08
KB
-rw-r--r--
PapersEdit.page
5.44
KB
-rw-r--r--
PapersEdit.php
12.41
KB
-rw-r--r--
PasswordChange.page
511
B
-rw-r--r--
PasswordChange.php
1.16
KB
-rw-r--r--
RightBoxEdit.page
2.54
KB
-rw-r--r--
RightBoxEdit.php
4.1
KB
-rw-r--r--
RightBoxImageEdit.page
1.47
KB
-rw-r--r--
RightBoxImageEdit.php
4.11
KB
-rw-r--r--
RightBoxesList.page
1.52
KB
-rw-r--r--
RightBoxesList.php
1.47
KB
-rw-r--r--
UserBrowse.page
3.46
KB
-rw-r--r--
UserBrowse.php
2.79
KB
-rw-r--r--
UserCreate.page
1.86
KB
-rw-r--r--
UserCreate.php
1.51
KB
-rw-r--r--
UserEdit.page
8.95
KB
-rw-r--r--
UserEdit.php
8.9
KB
-rw-r--r--
UserPapers.page
3.63
KB
-rw-r--r--
UserPapers.php
1.74
KB
-rw-r--r--
UserPhotoEdit.page
1.5
KB
-rw-r--r--
UserPhotoEdit.php
3.96
KB
-rw-r--r--
config.xml
227
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : PaperCoverEdit.php
<?php Prado::using("Application.Common.KImage"); class PaperCoverEdit extends KAdminPage { private $_Paper; public function onLoad($p) { parent::onLoad($p); if (is_numeric($this->Request['pid'])) { $pid = $this->Request['pid']; $this->_Paper = KPaper::finder()->findByPk($pid); if ($this->Paper instanceof KPaper) { if (!$this->isPostBack && !$this->isCallBack) $this->bindData(); } else parent::Error("Nie ma takiej książki!"); } else parent::Error("Niepoprawny identyfikator książki!"); } public function backToPapersList() { $this->response->Redirect($this->Service->constructUrl('Admin.UserPapers', array('uid'=>$this->Request['uid']))); } public function bindData() { $this->UploadedFilePanel->Visible = false; $this->ConfirmPanel->Visible = false; $this->ErrorPanel->Visible = false; } public function uploadFile($sender, $param) { if($sender->hasFile) { $tempname = md5(microtime()); $sender->saveAs($this->Application->Parameters['TEMP_PATH'].'/'.$tempname); $this->TempName->Value = $tempname; $image = KImageManager::openImage($this->Application->Parameters['TEMP_PATH'].'/'.$tempname); if (imagesx($image) < KImageType::t("CoverBasic")->Width || imagesy($image) < KImageType::t("CoverBasic")->Height) $this->ErrorPanel->Visible = true; else { $resized_image = KImageManager::refineImage($image, KImageType::t("CoverUploadStep")); $resized_tempname = $tempname."_resize"; KImageManager::saveImage($resized_image, $this->Application->Parameters['TEMP_PATH'].'/'.$resized_tempname); $this->ErrorPanel->Visible = false; $this->UploadedFilePanel->Visible = true; $this->ConfirmPanel->Visible = true; $this->UploadedImage->ImageUrl = $this->Application->Parameters['TEMP_URL'].'/'.$resized_tempname; $ori_size = max(imagesx($image), imagesy($image)); $resized_size = max(imagesx($resized_image), imagesy($resized_image)); $resize_ratio = $ori_size / $resized_size; $crop_init_x = round(KImageType::t("CoverBasic")->Width / $resize_ratio); $crop_init_y = round(KImageType::t("CoverBasic")->Height / $resize_ratio); $this->getClientScript()->registerEndScript("oi4h3ngj", " Event.observe( window, 'load', function() { new Cropper.Img( '".$this->UploadedImage->ClientID."', { ratioDim: { x: $crop_init_x, y: $crop_init_y }, minWidth: $crop_init_x, minHeight: $crop_init_y, displayOnInit: true, onEndCrop: onEndCrop } ); } ); function onEndCrop(coords, dimensions) { $( '".$this->CropData->ClientID."' ).value = coords.x1+','+coords.y1+','+coords.x2+','+coords.y2; } "); } } else $this->ErrorPanel->Visible = true; } public function confirmCrop() { $crop_data = explode(',', $this->CropData->Value); $image = KImageManager::openImage($this->Application->Parameters['TEMP_PATH'].'/'.$this->TempName->Value); $ori_size = max(imagesx($image), imagesy($image)); $resized_size = max(KImageType::t("CoverUploadStep")->Width, KImageType::t("CoverUploadStep")->Height); $resize_ratio = $ori_size / $resized_size; $cropped_image = KImageManager::cropImage($image, $crop_data[0]*$resize_ratio, $crop_data[1]*$resize_ratio, $crop_data[2]*$resize_ratio, $crop_data[3]*$resize_ratio); $cover_image_types = array("CoverOriginal", "CoverBasic", "CoverIcon", "CoverAdminIcon"); $this->Paper->Cover->save($cropped_image, $cover_image_types); if (file_exists($this->Application->Parameters['TEMP_PATH'].'/'.$this->TempName->Value)) unlink($this->Application->Parameters['TEMP_PATH'].'/'.$this->TempName->Value); if (file_exists($this->Application->Parameters['TEMP_PATH'].'/'.$this->TempName->Value."_resize")) unlink($this->Application->Parameters['TEMP_PATH'].'/'.$this->TempName->Value."_resize"); imagedestroy($cropped_image); imagedestroy($image); $this->response->redirect($this->Service->constructUrl('Admin.UserPapers', array('uid'=>$this->Request['uid']))); } public function getPaper() { return $this->_Paper; } } ?>
Close