-
Notifications
You must be signed in to change notification settings - Fork 114
/
index.php
executable file
·36 lines (35 loc) · 1.14 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
<?php
try{
if (!file_exists('anti_ddos/start.php'))
throw new Exception ('anti_ddos/start.php does not exist');
else
require_once('anti_ddos/start.php');
}
//CATCH the exception if something goes wrong.
catch (Exception $ex) {
echo '<div style="padding:10px;color:white;position:fixed;top:0;left:0;width:100%;background:black;text-align:center;">'.
'The <a href="https://github.com/sanix-darker/antiddos-system" target="_blank">"AntiDDOS System"</a> failed to load '.
'properly on this Web Site, please de-comment the \'catch Exception\' to see what happening!</div>';
//Print out the exception message.
//echo $ex->getMessage();
}
?>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="css/flottant.css">
<title>Example Webpage</title>
</head>
<body>
<center>
<div class="container">
<a href="https://github.com/Sanix-Darker">
<img src="https://avatars1.githubusercontent.com/u/22576758?s=400&v=4" style="border-radius: 100%;width:200px;"><br>
Sanix Darker Github
</a>
<h1>Example Webpage</h1>
<p>This web Site is protected by AntiDDOS-System PHP.</p>
</div>
</center>
</body>
</html>