-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy pathindex.php
69 lines (66 loc) · 3.8 KB
/
index.php
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
63
64
65
66
67
68
69
<?php
require __DIR__ . '/vendor/autoload.php';
include_once __DIR__ . '/inc/browsers.inc.php';
if(isset($_POST['delete']) && !empty($_POST['delete'])) {
deleteHookedBrowsers($pdo, $_POST['delete']);
}
?>
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>XSS Exploitation Tool</title>
<link rel="stylesheet" href="./styles/bootstrap.css"/>
<link rel="stylesheet" href="./styles/bootstrap-icons.css">
<link rel="stylesheet" href="./styles/flag-icons.css"/>
<link rel="stylesheet" href="./styles/styles.css"/>
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon.ico">
</head>
<body id="body">
<?php include_once __DIR__ .'/inc/header.inc.php'; ?>
<div class="container-fluid mt-2 mb-5">
<div class="row">
<div class="col">
<div class="card bg-dark border-0" style="--bs-bg-opacity: .50;">
<div class="card-body p-2">
<table class="table table-striped custom-table-striped table-bordered border-light border-1 border-opacity-25 text-light mb-0">
<thead class="bg-dark" style="--bs-bg-opacity: .50;">
<tr>
<th class="bg-transparent text-light text-center" style="width: 10%;">Id</th>
<th class="bg-transparent text-light text-center" style="width: 5%;">Online</th>
<th class="bg-transparent text-light text-center" style="width: 10%;">Last Seen Online</th>
<th class="bg-transparent text-light text-center" style="width: 10%;">Hooked Date</th>
<th class="bg-transparent text-light text-center" style="width: 10%;">Platform</th>
<th class="bg-transparent text-light text-center" style="width: 10%;">Browser</th>
<th class="bg-transparent text-light text-center" style="width: 10%;">Browser version</th>
<th class="bg-transparent text-light text-center" style="width: 5%;">Country</th>
<th class="bg-transparent text-light text-center" style="width: 10%;">Public IP</th>
<th class="bg-transparent text-light text-center" style="width: 10%;">Exploited website</th>
<th class="bg-transparent text-light text-center" style="width: 10%;">Action</th>
</tr>
</thead>
<tbody class="fw-light text-center" id="tbody">
<?php include_once __DIR__ . '/summaryBrowsersCard.php'; ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<?php include_once __DIR__ . '/inc/footer.inc.php'; ?>
<script src="./scripts/jquery-3.7.1.min.js"></script>
<script src="./scripts/utils.js"></script>
<script>
function refresh(){
$('#subHeader').load('./inc/subheader.inc.php');
$('#tbody').load('./summaryBrowsersCard.php', function () {
convertUTCToLocal();
});
}
setInterval("refresh();",3000);
document.addEventListener("DOMContentLoaded", convertUTCToLocal);
</script>
</body>
</html>