-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
111 lines (103 loc) · 4.11 KB
/
index.html
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>You have been hacked!</title>
<link href='https://fonts.googleapis.com/css?family=Monoton' rel='stylesheet' type='text/css'>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
<link href="style.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body class="page">
<audio id="my_audio" src="Rush_Coil-Carol_of_the_Bells.mp3" autoplay preload loop>
<p>If you are reading this, it is because your browser does not support the audio element.</p>
</audio>
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-body">
<div class="embed-responsive embed-responsive-4by3">
<iframe id="player" width="1280" height="720" src="https://www.youtube.com/embed/-5OsqxQwZ8k?enablejsapi=1&rel=0&controls=1&showinfo=0" frameborder="0" allowfullscreen></iframe>
</div>
</div>
</div>
</div>
</div>
<div class="page__content">
<table class="">
<tr>
<td>
<div class="banner">
<h1 class="">
<div id="error">
Y<span>O</span>U HAVE <br> BEEN
</div>
<div id="code">
HACK<span>E</span><span>D</span>!
</div>
</h1>
<div class="banner__video">
<a class="videolink" data-toggle="modal" data-target="#myModal">
Watch video
</a>
</div>
</div>
</td>
</tr>
</table>
</div>
<div class="block">
</div>
<div class="footer">
Site HackeD<br>
By<br>
Anonymous
<div style="font-size:12px;">
<span >h4ck1n9 is not a cr1m3</span>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<script type="text/javascript">
// 2. This code loads the IFrame Player API code asynchronously.
var tag = document.createElement('script');
tag.src = "https://www.youtube.com/iframe_api";
var firstScriptTag = document.getElementsByTagName('script')[0];
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
// 3. This function creates an <iframe> (and YouTube player)
// after the API code downloads.
var player;
function onYouTubeIframeAPIReady() {
player = new YT.Player('player', {
events: {
}
});
}
$(document).ready(function(){
var my_audio = document.getElementById("my_audio");
$('#myModal').on('show.bs.modal', function (e) {
my_audio.pause();
})
$('#myModal').on('shown.bs.modal', function (e) {
player.playVideo();
})
$('#myModal').on('hide.bs.modal', function (e) {
player.pauseVideo();
})
$('#myModal').on('hidden.bs.modal', function (e) {
my_audio.play();
})
});
</script>
</body>
</html>