[src=text]HTTP/1.1 200 OK
Date: Wed, 13 Dec 2017 18:14:17 GMT
Server: Apache/2.4.27
X-Powered-By: PHP/5.6.31
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Upgrade: h2c
Connection: Upgrade, Keep-Alive
Keep-Alive: timeout=5, max=100
Content-Type: text/html; charset=UTF-8
Content-Length: 4225
코드가 잘못되었습니다. 암호 변경됨!!!<!-- Der Code ist ungültig. Passwort geändert !!!, wird bei falscher Lösung eingefügt-->
<html>
<head>
<style>
#seed{
margin : 0px;
background-color: rgb(182,128,236);
}
body{
text-align:center;
margin:0px;
}
#countdown{
font-weight:900;
font-size:40px;
background-color: black;
color:white;
display:block;
padding:10px;
font-family: "Arial", Verdana, sans;
}
</style>
<script>
var solved=0;
var end = new Date('2022-12-13 19:14:17'); /*unter anderem wird das Jahr geändert*/
var _second = 1000;
var _minute = _second * 60;
var _hour = _minute * 60;
var _day = _hour * 24;
var _year = _day * 365;
var timer;
function showRemaining() {
var now = new Date();
var distance = end - now;
if (distance < 0) {
clearInterval(timer);
document.getElementById('countdown').innerHTML = '만료!';
return;
}
var years = Math.floor(distance / _year);
var days = Math.floor((distance % _year) / _day);
var hours = Math.floor((distance % _day) / _hour);
var minutes = Math.floor((distance % _hour) / _minute);
var seconds = Math.floor((distance % _minute) / _second);
document.getElementById('countdown').innerHTML ="유효한 코드 "+ years + ' 년 ';
document.getElementById('countdown').innerHTML += days + ' 일 ';
document.getElementById('countdown').innerHTML += hours + ' 시간 ';
document.getElementById('countdown').innerHTML += minutes + ' 분 ';
document.getElementById('countdown').innerHTML += seconds + ' 초';
}
timer = setInterval(showRemaining, 1000);
function rainbow(pos){
if(pos < colors.length){
setTimeout(function () {
document.getElementById("seed").style.backgroundColor = ""+colors[pos];
rainbow(++pos);
}, 30000)
}else{
getnewColors(nextSeed);
}
}
function startRainbow(pos){
if(pos < colors.length){
setTimeout(function () {
document.getElementById("seed").style.backgroundColor = ""+colors[pos];
rainbow(++pos);
}, 18000) /*andere Werte z. B. 21000*/
}else{
getnewColors(nextSeed);
}
}
function getnewColors(seed){
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
if (xmlhttp.readyState == XMLHttpRequest.DONE) { // XMLHttpRequest.DONE == 4
if (xmlhttp.status == 200) {
var response=JSON.parse(xmlhttp.responseText);
colors=response.colors;
nextSeed=response.nextSeed;
document.getElementById("seed").innerHTML =nextSeed;
rainbow(0);
}
else if (xmlhttp.status == 400) {
}
else {
}
}
};
xmlhttp.open("GET", "?seed="+seed, false);
xmlhttp.send();
}
/*Die Farbwerte ändern sich jedesmal*/
var colors=["rgb(182,128,236)","rgb(108,52,215)","rgb(101,238,249)","rgb(109,159,185)","rgb(16,64,102)","rgb(227,192,63)","rgb(230,101,94)","rgb(90,251,77)","rgb(126,21,145)","rgb(98,1,152)","rgb(3,183,24)","rgb(239,36,77)","rgb(199,138,59)","rgb(193,247,218)","rgb(123,8,26)","rgb(225,235,219)","rgb(33,210,64)","rgb(127,44,59)","rgb(204,170,80)","rgb(94,13,82)","rgb(246,16,9)","rgb(14,0,46)","rgb(91,200,184)","rgb(151,137,175)","rgb(113,4,184)","rgb(140,230,164)","rgb(103,7,118)","rgb(167,134,163)","rgb(227,82,78)","rgb(52,177,91)","rgb(134,167,108)","rgb(144,182,108)","rgb(190,17,53)","rgb(119,168,190)","rgb(39,26,195)","rgb(223,167,169)","rgb(131,14,176)","rgb(250,182,55)","rgb(157,153,138)","rgb(236,205,59)","rgb(71,84,226)","rgb(180,228,152)","rgb(32,163,170)","rgb(85,26,83)","rgb(20,65,109)","rgb(215,32,20)","rgb(129,164,35)","rgb(50,158,217)","rgb(105,60,115)","rgb(243,40,65)"];
var nextSeed=1138546066; /*anderer zufälliger seed: 1119993506*/
document.addEventListener("DOMContentLoaded", function(){
if(solved!=1){
startRainbow(1);
}
});
</script>
</head><body id="body">
<span id="countdown"></span>
<h2 id="seed" style="transition: all 3s;">1138546066</h2>
<h3>패스 코드를 입력하십시오.</h3>
<form method=post target=''>
<input type=text name=passcode value ="">
<button type=submit>제출</button>
</form>
<body>
<footer>
<iframe width="560" height="0" src="https://www.youtube.com/embed/sH2JwbAk_2Y?rel=0&autohide=0″&autoplay=1" frameborder="0" gesture="media" allow="encrypted-media" allowfullscreen></iframe>
</footer>
</html>[/src]