summaryrefslogtreecommitdiffstats
path: root/minikrebs/profiles/rickroller/customfiles/www
diff options
context:
space:
mode:
Diffstat (limited to 'minikrebs/profiles/rickroller/customfiles/www')
-rw-r--r--minikrebs/profiles/rickroller/customfiles/www/1x1.gifbin0 -> 35 bytes
-rwxr-xr-xminikrebs/profiles/rickroller/customfiles/www/cgi-bin/rrhelper15
-rw-r--r--minikrebs/profiles/rickroller/customfiles/www/flvplayer.swfbin0 -> 29708 bytes
-rw-r--r--minikrebs/profiles/rickroller/customfiles/www/index.html24
-rw-r--r--minikrebs/profiles/rickroller/customfiles/www/rickroll.flvbin0 -> 1078840 bytes
5 files changed, 39 insertions, 0 deletions
diff --git a/minikrebs/profiles/rickroller/customfiles/www/1x1.gif b/minikrebs/profiles/rickroller/customfiles/www/1x1.gif
new file mode 100644
index 00000000..8e91660f
--- /dev/null
+++ b/minikrebs/profiles/rickroller/customfiles/www/1x1.gif
Binary files differ
diff --git a/minikrebs/profiles/rickroller/customfiles/www/cgi-bin/rrhelper b/minikrebs/profiles/rickroller/customfiles/www/cgi-bin/rrhelper
new file mode 100755
index 00000000..ec328a3b
--- /dev/null
+++ b/minikrebs/profiles/rickroller/customfiles/www/cgi-bin/rrhelper
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+RRLOG="/tmp/rrlog"
+
+if [ -n "$RRLOG" ]; then
+ echo `awk '{print $1}' /proc/uptime` $REMOTE_ADDR:$REMOTE_PORT \'$HTTP_REFERER\' \'$HTTP_USER_AGENT\' >>"$RRLOG"
+fi
+
+# To signal a rickroll, blink for 15 seconds
+(echo timer > /sys/devices/platform/leds-gpio/leds/tp-link:blue:system/trigger ;sleep 15;echo none > /sys/devices/platform/leds-gpio/leds/tp-link:blue:system/trigger) &
+
+
+echo "Content-type: image/gif"
+echo ""
+cat /www/1x1.gif
diff --git a/minikrebs/profiles/rickroller/customfiles/www/flvplayer.swf b/minikrebs/profiles/rickroller/customfiles/www/flvplayer.swf
new file mode 100644
index 00000000..a5ec0fa5
--- /dev/null
+++ b/minikrebs/profiles/rickroller/customfiles/www/flvplayer.swf
Binary files differ
diff --git a/minikrebs/profiles/rickroller/customfiles/www/index.html b/minikrebs/profiles/rickroller/customfiles/www/index.html
new file mode 100644
index 00000000..4c4a9d9f
--- /dev/null
+++ b/minikrebs/profiles/rickroller/customfiles/www/index.html
@@ -0,0 +1,24 @@
+<html>
+<head>
+<title>RickRoll'D</title>
+</head>
+<body >
+<img src="/cgi-bin/rrhelper">
+<center>
+<h1>RickRoll'D</h1>
+<!-- start of flv player -->
+<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8" width="80%" height="98%" id="theMediaPlayer">
+<param name=movie value="flvplayer.swf">
+<param name=quality value="high">
+<param name=bgcolor value="#FFFFFF">
+<param name=allowFullScreen value="true">
+<param name=swLiveConnect value="true">
+<param name=allowScriptAccess value="sameDomain">
+<param name="FlashVars" value="file=/rickroll.flv&overstretch=true&autostart=true">
+<embed type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" width="80%" height="98%" bgcolor="#000000" name="theMediaPlayer" src="/flvplayer.swf" flashvars="file=/rickroll.flv&overstretch=true&autostart=true">
+</embed>
+</object>
+</center>
+<!-- end of flv player -->
+</body>
+</html>
diff --git a/minikrebs/profiles/rickroller/customfiles/www/rickroll.flv b/minikrebs/profiles/rickroller/customfiles/www/rickroll.flv
new file mode 100644
index 00000000..1ad37ee1
--- /dev/null
+++ b/minikrebs/profiles/rickroller/customfiles/www/rickroll.flv
Binary files differ