-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbase_error.php
More file actions
34 lines (32 loc) · 1.07 KB
/
base_error.php
File metadata and controls
34 lines (32 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
// Basic Analysis and Security Engine (BASE)
// Copyright (C) 2019-2023 Nathan Gibbs
// Copyright (C) 2004 BASE Project Team
// Copyright (C) 2000 Carnegie Mellon University
//
// For license info: See the file 'base_main.php'
//
// Project Lead: Nathan Gibbs
// Built upon work by: Kevin Johnson & the BASE Project Team
// Roman Danyliw <rdd@cert.org>, <roman@danyliw.com>
//
// Purpose: Landing page for server errors.
//
// Author(s): Nathan Gibbs
// Kevin Johnson
$sc = DIRECTORY_SEPARATOR;
require_once("includes$sc" . 'base_krnl.php');
include_once(BASE_IPath . 'base_log_error.inc.php');
include_once(BASE_IPath . 'base_output_html.inc.php');
include_once(BASE_IPath . 'base_state_common.inc.php');
$tmp = 'Server Error!'; // Need to TD this.
PrintBASESubHeader();
NLIO("<div class='errorMsg'>", 3);
printIcon('tool', $tmp, 4, 'lg');
NLIO("<div style='line-height: 64px;'>", 4);
NLIO($tmp, 5);
NLIO("<a href='index.php'>Return to BASE.</a>", 5);
NLIO('</div>', 4);
NLIO('</div>', 3);
PrintBASESubFooter();
?>