Skip to content

Instantly share code, notes, and snippets.

@robbiet480
Forked from dennistang/FLV.php
Created January 24, 2011 07:52
Show Gist options
  • Save robbiet480/792953 to your computer and use it in GitHub Desktop.
Save robbiet480/792953 to your computer and use it in GitHub Desktop.
<?php
if(isset($_REQUEST['file'])) {
echo '<html>
<!--
-\-
\-- \-
\ - -\
\ \\
\ \
\ \\
\ \\
\ \\
\ \\\
\ \\
\ \\
\. . \\
\ . \\
\ . \\
\ . \\
\ . \\
\ <=)
\ <==)
\ <=)
\ .\\ _-
\ . \\ _-//
\ . \\ _-_/ /
\ . . . \\ _--_/ _/
\ \\ _- _/ _/
\ \\ ___-(O) _/ _/
\ \ __-- __ /_ / ***********************************
\ \\ ____--__---- / \_ I AM A MOTHERFUCKING PTERODACTYL!
\ \\ ------- / \_ \_ HERE TO PTERO-YOU A NEW ASSHOLE
\ \ // // \__ \_ HTTP://PTERODACTYL.ME
\ \\ // // \_ \_ **********************************
\ \\ /// // \__-
\ - \\///////// //
\ - \_ //
/ - //
/ - ///
/ - //
__--/ ///
__________/ // |
//-_________ ___ //// |
____\__--/ ///// |
-----______ -/---________//// |
_______/ --/ \ |
/_________-/ \ |
// \ /
\. /
\ . /
\ . /
\\ . /
\ /
\ __|
\ ==/
/ //
/ . //
/ . . //
/. /
/ //
/ /
/ //
/ //
--/ /
/ //
//// //
///_________////
-->
<!-- http://dnn.st/index.php?file=FILENAME where FILENAME is the swf you wanna play -->
<head><title>'.$_REQUEST['file'].'</title>
<script type="text/javascript" src="http://include.reinvigorate.net/re_.js"></script>
<script type="text/javascript">
try {
reinvigorate.track("ks74s-857rmjp5v4");
} catch(err) {}
</script>
</head><body style="background: #000;"><h1>
<object width="100%" height="100%">
<param name="movie" value="swf/'.$_REQUEST['file'].'">
<embed src="swf/'.$_REQUEST['file'].'" width="100%" height="100%">
</embed>
</object>
</h1></body></html>';
} else {
$dir=opendir("/var/www/swf");
$i=0;
while($flvfile=readdir($dir))
{
if ($flvfile != "." && $flvfile!=".." && $flvfile!="index.php")
{
$flvarray[$i]=$flvfile;
$i++;
}
}
closedir($dir);
$rand=rand(0,count($flvarray)-1);
if($rand >= 0)
{
echo '<html>
<!--
-\-
\-- \-
\ - -\
\ \\
\ \
\ \\
\ \\
\ \\
\ \\\
\ \\
\ \\
\. . \\
\ . \\
\ . \\
\ . \\
\ . \\
\ <=)
\ <==)
\ <=)
\ .\\ _-
\ . \\ _-//
\ . \\ _-_/ /
\ . . . \\ _--_/ _/
\ \\ _- _/ _/
\ \\ ___-(O) _/ _/
\ \ __-- __ /_ / ***********************************
\ \\ ____--__---- / \_ I AM A MOTHERFUCKING PTERODACTYL!
\ \\ ------- / \_ \_ HERE TO PTERO-YOU A NEW ASSHOLE
\ \ // // \__ \_ HTTP://PTERODACTYL.ME
\ \\ // // \_ \_ **********************************
\ \\ /// // \__-
\ - \\///////// //
\ - \_ //
/ - //
/ - ///
/ - //
__--/ ///
__________/ // |
//-_________ ___ //// |
____\__--/ ///// |
-----______ -/---________//// |
_______/ --/ \ |
/_________-/ \ |
// \ /
\. /
\ . /
\ . /
\\ . /
\ /
\ __|
\ ==/
/ //
/ . //
/ . . //
/. /
/ //
/ /
/ //
/ //
--/ /
/ //
//// //
///_________////
-->
<head><title>'.$flvarray[$rand].'</title>
<script type="text/javascript" src="http://include.reinvigorate.net/re_.js"></script>
<script type="text/javascript">
try {
reinvigorate.track("ks74s-857rmjp5v4");
} catch(err) {}
</script>
</head><body style="background: #000;"><h1>
<object width="100%" height="100%">
<param name="movie" value="swf/'.$flvarray[$rand].'">
<embed src="swf/'.$flvarray[$rand].'" width="100%" height="100%">
</embed>
</object>
</h1></body></html>';
}
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment