shell bypass 403
<?php
session_start();
include('../include/dbconnect.php');
include('include/sessioncheck.php');
if(isset($_POST["social_upd"])){
$twitter=mysqli_real_escape_string($con,$_POST["twitter"]);
$facebook=mysqli_real_escape_string($con,$_POST["facebook"]);
$youtube=mysqli_real_escape_string($con,$_POST["youtube"]);
$linkedin=mysqli_real_escape_string($con,$_POST["linkedin"]);
$upd_link_sql="UPDATE social SET linkFacebook='".$facebook."',linkTwitter='".$twitter."',linkYoutube='".$youtube."',linkLinkedin='".$linkedin."'";
mysqli_query($con,$upd_link_sql) or die('Update Failed');
$Msg=showSuccessAlert('Social Link Details Updated Successfully',$con);
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Meta, title, CSS, favicons, etc. -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo TITLE; ?></title>
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/bootstrap-fileupload.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">
<link href="css/font-awesome.min.css" rel="stylesheet">
<!-- NProgress -->
<!--<link href="../vendors/nprogress/nprogress.css" rel="stylesheet">-->
<!-- iCheck -->
<link href="../vendors/iCheck/skins/flat/green.css" rel="stylesheet">
<!-- Custom Theme Style -->
<link href="css/custom.min.css" rel="stylesheet">
</head>
<body class="nav-md">
<div class="container body">
<div class="main_container">
<div class="col-md-3 left_col">
<div class="left_col scroll-view">
<?php include('include/sidebar.php'); ?>
<!-- /menu footer buttons -->
<div class="sidebar-footer hidden-small">
<a data-toggle="tooltip" data-placement="top" title="Settings">
<span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
</a>
<a data-toggle="tooltip" data-placement="top" title="FullScreen">
<span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span>
</a>
<a data-toggle="tooltip" data-placement="top" title="Lock">
<span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
</a>
<a data-toggle="tooltip" data-placement="top" title="Logout">
<span class="glyphicon glyphicon-off" aria-hidden="true"></span>
</a>
</div>
<!-- /menu footer buttons -->
</div>
</div>
<!-- top navigation -->
<?php include('include/header.php'); ?>
<!-- /top navigation -->
<!-- page content -->
<div class="right_col" role="main">
<div class="">
<div class="clearfix"></div>
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2>Social</h2>
<ul class="nav navbar-right panel_toolbox">
<li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
</li>
<li><a class="close-link"><i class="fa fa-close"></i></a>
</li>
</ul>
<div class="clearfix"></div>
</div>
<div class="x_content">
<br />
<?php
$dis_social_sql="SELECT * FROM social";
$dis_social_exe=mysqli_query($con,$dis_social_sql);
$dis_social_result=mysqli_fetch_array($dis_social_exe);
?>
<form method="post" enctype="multipart/form-data" data-parsley-validate class="form-horizontal form-label-left">
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name">Facebook <span class="required">*</span>
</label>
<div class="col-md-4 col-sm-6 col-xs-12">
<input type="text" name="facebook" value="<?php echo $dis_social_result["linkFacebook"]; ?>" required="required" class="form-control col-md-7 col-xs-12">
</div>
</div>
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name">Twitter<span class="required">*</span>
</label>
<div class="col-md-4 col-sm-6 col-xs-12">
<input type="text" name="twitter" value="<?php echo $dis_social_result["linkTwitter"]; ?>" required="required" class="form-control col-md-7 col-xs-12">
</div>
</div>
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name">Youtube<span class="required">*</span>
</label>
<div class="col-md-4 col-sm-6 col-xs-12">
<input type="text" name="youtube" value="<?php echo $dis_social_result["linkYoutube"]; ?>" required="required" class="form-control col-md-7 col-xs-12">
</div>
</div>
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name">LinkedIn <span class="required">*</span>
</label>
<div class="col-md-4 col-sm-6 col-xs-12">
<input type="text" name="linkedin" value="<?php echo $dis_social_result["linkLinkedin"]; ?>" required="required" class="form-control col-md-7 col-xs-12">
</div>
</div>
<div class="ln_solid"></div>
<div class="form-group">
<div class="col-md-6 col-sm-6 col-xs-12 col-md-offset-3">
<button type="submit" class="btn btn-primary">Cancel</button>
<button type="submit" name="social_upd" class="btn btn-success">Submit</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<?php include('include/footer.php'); ?>
</div>
</div>
<!-- jQuery -->
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="validate/parsley.min.js"></script>
<script src="js/jquery.js"></script>
<script src="js/jquery-1.8.3.min.js"></script>
<!-- Bootstrap -->
<script type="text/javascript" src="js/bootstrap-fileupload.js"></script>
<script src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/ckeditor/ckeditor.js"></script>
<script src="js/moment.min.js"></script>
<script src="js/daterangepicker.js"></script>
<!-- Custom Theme Scripts -->
<script src="js/custom.min.js"></script>
</body>
</html>