-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch.php
More file actions
62 lines (49 loc) · 1.39 KB
/
search.php
File metadata and controls
62 lines (49 loc) · 1.39 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?php
// Include required template file
require_once('includes/templates.php');
// Include required functions file
require_once('includes/functions.php');
// Include required sessions file
require_once('includes/Session.class.php');
// Start session
session_start('SentinelPlus', 0, '/', 'sentinelplus.net', true);
//SessionManager::sessionStart('SentinelPlus', 0, '/', 'sentinelplus.net', true);
// If we don't have a session key
if (!isset($_SESSION['key']))
{
// Redirect to the index
header( 'Location: index.php' );
}
// Decrypt the session key
$key = trim(decrypt($_SESSION['key']));
?>
<HTML>
<HEAD>
<TITLE>SentinelPlus: Advanced Reporting for WhiteHat Sentinel Vulnerabilities</TITLE>
<link rel="stylesheet" type="text/css" href="css/style.css" media="all" />
<script src="js/searchQuery.js"></script>
</HEAD>
<BODY>
<? display_header(); ?>
<div id="search">
<p>
<table class="searchOutsideTable" cellspacing="0" summary="Search Table">
<tr>
<td class="searchTableInside">
<table class="searchQueryTable" cellspacing="0" summary="Search Table">
<tr>
<td class="searchTableHeader">Search for vulnerable URLs containing: <input type="text" size="50" onkeyup="searchQuery(this.value);" name="inputText" id="inputText" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="searchTableInside">
<div id="txtHint"></div>
</td>
</tr>
</table>
</p>
</div>
</BODY>
</HTML>