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.141.25.100
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 /
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
3.96
KB
-rw-r--r--
GlobalDutiesList.page
3.25
KB
-rw-r--r--
GlobalDutiesList.php
3.21
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.05
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
4.31
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--
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
10.97
KB
-rw-r--r--
UserEdit.php
11.55
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 : UserEdit.php
<?php class UserEdit extends KAdminPage { const EDITMODE_NAMETITLE = 1; const EDITMODE_CONTACT = 2; const EDITMODE_INTERESTS = 4; const EDITMODE_STATUS = 8; const EDITMODE_DUTIES = 16; const EDITMODE_BIOGRAM = 32; private $_UserRecord; public $_editmode; public function onLoad($p) { parent::onLoad($p); if (is_numeric($this->Request['uid'])) { $uid = $this->Request['uid']; $this->editmode = is_null($this->Request['EditModeHolder']) ? 0 : $this->Request['EditModeHolder']; if ($this->User->id != $uid) $this->requireAdminRights(); $this->_UserRecord = KUserRecord::finder()->findByPk($uid); if ($this->UserRecord instanceof KUserRecord) { if (! $this->isPostBack && ! $this->isCallBack) $this->bindData(); } else parent::Error("Nie ma takiego użytkownika!"); } } public function bindData() { if ($this->EditMode & self::EDITMODE_NAMETITLE) { $this->NameTitle_Edit->Visible = true; $this->NameTitle_View->Visible = false; $this->UserTitleSelect->setDataSource(KUserRecord::getTitles()); $this->UserTitleSelect->dataBind(); $this->UserTitleSelect->SelectedValue = $this->UserRecord->title_id; $this->UserFirstName->Text = $this->UserRecord->first_name; $this->UserSecondName->Text = $this->UserRecord->second_name; } else { $this->NameTitle_View->Visible = true; $this->NameTitle_Edit->Visible = false; } if ($this->EditMode & self::EDITMODE_CONTACT) { $this->Contact_Edit->Visible = true; $this->Contact_View->Visible = false; $this->UserEmail->Text = $this->UserRecord->email; $this->UserEmailVisible->Checked = $this->UserRecord->email_visible; $this->UserPhone->Text = $this->UserRecord->phone_no; $this->UserMobilePhone->Text = $this->UserRecord->mobile_phone_no; $this->UserFax->Text = $this->UserRecord->fax_no; $this->UserAddress->Text = $this->UserRecord->address; } else { $this->Contact_View->Visible = true; $this->Contact_Edit->Visible = false; } if ($this->EditMode & self::EDITMODE_INTERESTS) { $ds = array_filter(explode(';-;-;', $this->UserRecord->interests)); if (count($ds) < 2) { $ds[] = ""; $ds[] = ""; $ds[] = ""; } else $ds[] = ""; $this->InterestsList_Edit->setDataSource($ds); $this->InterestsList_Edit->dataBind(); $this->Interests_Edit->Visible = true; $this->Interests_View->Visible = false; } else { $this->InterestsList_View->setDataSource(array_filter(explode(';-;-;', $this->UserRecord->interests))); $this->InterestsList_View->dataBind(); $this->Interests_View->Visible = true; $this->Interests_Edit->Visible = false; } if ($this->EditMode & self::EDITMODE_STATUS) { $ds = array_filter(explode(';-;-;', $this->UserRecord->status)); if (count($ds) < 2) { $ds[] = ""; $ds[] = ""; $ds[] = ""; } else $ds[] = ""; $this->StatusList_Edit->setDataSource($ds); $this->StatusList_Edit->dataBind(); $this->Status_Edit->Visible = true; $this->Status_View->Visible = false; } else { $this->StatusList_View->setDataSource(array_filter(explode(';-;-;', $this->UserRecord->status))); $this->StatusList_View->dataBind(); $this->Status_View->Visible = true; $this->Status_Edit->Visible = false; } if ($this->EditMode & self::EDITMODE_DUTIES) { $ds = array_pad($this->UserRecord->duties, count($this->UserRecord->duties) + 1, new KDuty()); $this->DutiesList_Edit->setDataSource($ds); $this->DutiesList_Edit->dataBind(); $this->Duties_Edit->Visible = true; $this->Duties_View->Visible = false; } else { $this->DutiesList_View->setDataSource($this->UserRecord->getDuties()); $this->DutiesList_View->dataBind(); $this->Duties_View->Visible = true; $this->Duties_Edit->Visible = false; } if ($this->EditMode & self::EDITMODE_BIOGRAM) { $this->BiogramText_Edit->setText($this->UserRecord->getBiogram()); $this->Biogram_Edit->Visible = true; $this->Biogram_View->Visible = false; } else { //$this->BiogramText_Edit->setText($this->UserRecord->getBiogram()); $this->Biogram_View->Visible = true; $this->Biogram_Edit->Visible = false; } $this->ClassList_View->setDataSource($this->UserRecord->getClasses()); $this->ClassList_View->dataBind(); } public function fillScheduleEntries($sender, $param) { $item = $param->Item; $schedule_entries = array(); $_entries = array(); $_days = array( "poniedziałek", "wtorek", "środa", "czwartek", "piątek" ); $n = 0; $_entries = explode('!!!!', $item->Data->blocks); foreach ($_entries as $_entry) { $_d = explode(';;', $_entry); $schedule_entries[$n]['day'] = $_days[$_d[0][0] - 1]; $schedule_entries[$n]['hours'] = KScheduleEntry::$_block_hours[$_d[0][1] - 1]; $schedule_entries[$n]['place'] = $_d[1]; $schedule_entries[$n]['notes'] = $_d[2]; $n ++; } $item->ScheduleEntries->setDataSource($schedule_entries); $item->ScheduleEntries->dataBind(); } public function editNameTitle() { $this->EditMode |= self::EDITMODE_NAMETITLE; $this->bindData(); } public function saveNameTitle() { $this->UserRecord->first_name = trim($this->UserFirstName->SafeText); $this->UserRecord->second_name = trim($this->UserSecondName->SafeText); $this->UserRecord->title_id = $this->UserTitleSelect->SelectedValue; $this->UserRecord->save(); $this->EditMode |= ! self::EDITMODE_NAMETITLE; $this->bindData(); } public function editContact() { $this->EditMode |= self::EDITMODE_CONTACT; $this->bindData(); } public function saveContact() { $this->UserRecord->email = trim($this->UserEmail->SafeText); $this->UserRecord->email_visible = TPropertyValue::ensureBoolean($this->UserEmailVisible->Checked); $this->UserRecord->phone_no = trim($this->UserPhone->SafeText); $this->UserRecord->mobile_phone_no = trim($this->UserMobilePhone->SafeText); $this->UserRecord->fax_no = trim($this->UserFax->SafeText); $this->UserRecord->address = trim($this->UserAddress->SafeText); $this->UserRecord->save(); $this->EditMode |= ! self::EDITMODE_CONTACT; $this->bindData(); } public function editInterests() { $this->EditMode |= self::EDITMODE_INTERESTS; $this->bindData(); } public function saveInterests() { $_i = array(); foreach ($this->InterestsList_Edit->Items as $item) { $value = trim($item->TextBox->Text); if ($value != '') $_i[] = $value; } $this->UserRecord->interests = implode(';-;-;', array_values($_i)); $this->UserRecord->save(); $this->EditMode |= ! self::EDITMODE_INTERESTS; $this->bindData(); } public function editBiogram() { $this->EditMode |= self::EDITMODE_BIOGRAM; $this->bindData(); } public function saveBiogram() { $this->UserRecord->biogram = trim($this->BiogramText_Edit->getSafeText()); $this->UserRecord->save(); $this->EditMode |= ! self::EDITMODE_BIOGRAM; $this->bindData(); } public function editStatus() { $this->EditMode |= self::EDITMODE_STATUS; $this->bindData(); } public function saveStatus() { $_i = array(); foreach ($this->StatusList_Edit->Items as $item) { $value = trim($item->TextBox->Text); if ($value != '') $_i[] = $value; } $this->UserRecord->status = implode(';-;-;', array_values($_i)); $this->UserRecord->save(); $this->EditMode |= ! self::EDITMODE_STATUS; $this->bindData(); } public function editPapers() { $this->response->redirect($this->Service->constructUrl('Admin.UserPapers', array( 'uid' => $this->UserRecord->id ))); } public function editDuties() { $this->EditMode |= self::EDITMODE_DUTIES; $this->bindData(); } public function addDutyDates($sender, $param) { $oneday = 24 * 60 * 60; $item = $param->Item; for ($i = 0; $i < 30; $i ++) { $day = new TListItem(); $day->Value = date("Ymd", time() + $oneday * $i); $day->Text = strftime("%e %B (%A)", time() + $oneday * $i); $item->DutyDay->Items->add($day); } if (isset($this->UserRecord->duties[$item->ItemIndex])) { $item->DutyDay->SelectedValue = $this->UserRecord->duties[$item->ItemIndex]->Day; } } public function saveDuties() { $_duties = $this->UserRecord->getDuties(); for ($i = 0; $i < $this->DutiesList_Edit->Items->count; $i ++) { if (isset($_duties[$i])) $_duty = $_duties[$i]; else { $_duty = new KDuty(); $_duty->user_id = $this->UserRecord->id; } $item = $this->DutiesList_Edit->Items->itemAt($i); // echo TVarDumper::dump($item->DutyDay, 2); if ($item->DutyDay->SelectedIndex == - 1) { if (! is_null($_duty->id)) $_duty->delete(); } else { $_duty->day = $item->DutyDay->SelectedValue; $_duty->time_start = str_pad(TPropertyValue::ensureInteger($item->FromH->SafeText), 2, '0', STR_PAD_LEFT) . ":" . str_pad(TPropertyValue::ensureInteger($item->FromM->SafeText), 2, '0', STR_PAD_LEFT) . ":00"; $_duty->time_end = str_pad(TPropertyValue::ensureInteger($item->ToH->SafeText), 2, '0', STR_PAD_LEFT) . ":" . str_pad(TPropertyValue::ensureInteger($item->ToM->SafeText), 2, '0', STR_PAD_LEFT) . ":00"; $_duty->notes = trim($item->Notes->SafeText); $_duty->save(); } } $this->UserRecord->resetDuties(); $this->EditMode |= ! self::EDITMODE_DUTIES; $this->bindData(); } public function editPhoto() { $this->response->redirect($this->Service->constructUrl('Admin.UserPhotoEdit', array( 'uid' => $this->UserRecord->id ))); } public function getUserRecord() { return $this->_UserRecord; } public function getEditMode() { return is_null($this->EditModeHolder->Value) ? 0 : $this->EditModeHolder->Value; } public function setEditMode($value) { $this->_editmode = TPropertyValue::ensureInteger($value); $this->EditModeHolder->Value = TPropertyValue::ensureInteger($value); } } ?>
Close