shell bypass 403
UnknownSec Shell
:
/
home
/
delvin
/
public_html
/
dev2.delv-in.com
/
models
/ [
drwxr-xr-x
]
upload
mass deface
mass delete
console
info server
name :
m_template.php
<?php /* Template Class Handle all templating tasks - displaying views, alerts, errors and view data */ class Template { private $data; private $alert_types = array('success', 'alert', 'error'); function __construct() {} /** * Loads specified url * * @access public * @param string, string * @return null */ public function load($url, $title = '') { if ($title != '') { $this->set_data('page_title', $title); } include($url); } /** * Redirects to specified url * * @access public * @param string * @return null */ public function redirect($url) { header("Location: $url"); exit; } /* Get / Set Data */ /** * Saves provided data for use by the view later * * @access public * @param string, string, bool * @return null */ public function set_data($name, $value) { $this->data[$name] = htmlentities($value, ENT_QUOTES); } /** * Retrieves data based on provided name for access by view * * @access public * @param string, bool * @return string */ public function get_data($name) { if (isset($this->data[$name])) { return $this->data[$name]; } return ''; } /* Get / Set Alerts */ /** * Sets a alert message stored in the session * * @access public * @param string, string (optional) * @return null */ public function set_alert($value, $type = 'success') { $_SESSION[$type][] = $value; } /** * Returns string, containing multiple list items of alerts * * @access public * @param * @return string */ public function get_alerts() { $data = ''; foreach($this->alert_types as $alert) { if (isset($_SESSION[$alert])) { foreach($_SESSION[$alert] as $value) { echo '<div id="alert_div" class="alert_' . $alert . '">' . $value . ' <div class="col-12 right"><a href=\'javascript::\' onclick=\'hide_div("alert_div")\'>[X]</a> </div> </div>'; } unset($_SESSION[$alert]); } } } }
© 2026 UnknownSec