Created
May 3, 2017 15:38
-
-
Save kirkelifson/988056dc42804454637d74b8e1d188b9 to your computer and use it in GitHub Desktop.
Knightsec Distraction Channel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<meta charset="UTF-8"><title>Knightsec™ Distraction Channel</title> | |
<style> | |
a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0} | |
#watermark | |
{ | |
position:fixed; | |
bottom:8%; | |
right:8%; | |
opacity:0.5; | |
z-index:99999; | |
color:white; | |
font-family: "Comic Sans MS", cursive, sans-serif; | |
} | |
</style> | |
<div id="player"></div> | |
<script> | |
function onYouTubePlayerAPIReady() { | |
player = new YT.Player("player", { | |
height: "100%", width: "100%", suggestedQuality: "highres", playerVars: { | |
modestbranding: 1, showinfo: 0, autoplay: 1, controls: 1, loop: 1, iv_load_policy: 3 | |
}, events: { onReady: onPlayerReady, onStateChange: onStateChange } | |
}); | |
} | |
function onPlayerReady(e) { | |
e.target.loadPlaylist({ list: "PLpvi8mvffvLZi434kfovjr0JyetiYHM2P", listType: "playlist" }); | |
} | |
function onStateChange(e) { | |
-1 !== e.data || done || (e.target.setShuffle(!0), e.target.nextVideo(), done =! 0); | |
} | |
var tag = document.createElement("script"); | |
tag.src = "https://www.youtube.com/iframe_api"; | |
var firstScriptTag = document.getElementsByTagName("script")[0]; | |
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); | |
var player, done =! 1; | |
</script> | |
<div id="watermark2"> | |
Sunshine CTF sponsored by:<br> | |
<img src="br.png"> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment