-
Notifications
You must be signed in to change notification settings - Fork 0
/
hacking.php
115 lines (52 loc) · 1.28 KB
/
hacking.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
<?php
if(!isset($hackingout)){
die('Error');
}
include('config.php');
?>
<!DOCTYPE html>
<html lang="de">
<head>
<?php
include('tamplate/header.php');
$datum=date("d-M-Y h:i:s", time());
$ip = $_SERVER['REMOTE_ADDR'];
if($hackingout==1){
$file='email-to-register.php';
$error_out=$language['you_now_hacking'].'<br>File: '.$file.'<br>Date: '.$datum.'<br>Your Ip-adress :'.$ip;
}
if($hackingout==2){
$file='profil.php';
$error_out=$language['error_hack'].'<br>File: '.$file.'<br>Date: '.$datum.'<br>Your Ip-adress :'.$ip;
}
?>
<title><?php echo $error_out; ?></title>
<style>
body {
background-image: url(images/hacking.jpg);
background-repeat:no-repeat;
background-size:cover;
min-height:100vh;
width:100%;
}
h1,h3{
color:white;
font-size:40px;
}
</style>
</head>
<body>
<?php
$hackdata="<tr><td>$datum</td><td>$file</td><td>$ip</td></tr>";
file_put_contents('hack_versuche.log', $hackdata, FILE_APPEND | LOCK_EX);
$wrror_page=true;
include('tamplate/nav.php');
?>
<h1><?php echo $error_out; ?></h1>
<?php
if(isset($footer_aktive) AND $footer_aktive=='true'){
include('tamplate/footer.php');
}
?>
</body>
</html>