From 6ea50f3c77350e715649aa45061beb1701ebaa95 Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 7 Jan 2013 11:58:28 +0700 Subject: rickroller: initial commit --- .../profiles/rickroller/customfiles/www/1x1.gif | Bin 0 -> 35 bytes .../rickroller/customfiles/www/cgi-bin/rrhelper | 15 +++++++++++++ .../rickroller/customfiles/www/flvplayer.swf | Bin 0 -> 29708 bytes .../profiles/rickroller/customfiles/www/index.html | 24 +++++++++++++++++++++ .../rickroller/customfiles/www/rickroll.flv | Bin 0 -> 1078840 bytes 5 files changed, 39 insertions(+) create mode 100644 minikrebs/profiles/rickroller/customfiles/www/1x1.gif create mode 100755 minikrebs/profiles/rickroller/customfiles/www/cgi-bin/rrhelper create mode 100644 minikrebs/profiles/rickroller/customfiles/www/flvplayer.swf create mode 100644 minikrebs/profiles/rickroller/customfiles/www/index.html create mode 100644 minikrebs/profiles/rickroller/customfiles/www/rickroll.flv (limited to 'minikrebs/profiles/rickroller/customfiles/www') 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 Binary files /dev/null and b/minikrebs/profiles/rickroller/customfiles/www/1x1.gif 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 Binary files /dev/null and b/minikrebs/profiles/rickroller/customfiles/www/flvplayer.swf 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 @@ + + +RickRoll'D + + + +
+

RickRoll'D

+ + + + + + + + + + + + +
+ + + 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 Binary files /dev/null and b/minikrebs/profiles/rickroller/customfiles/www/rickroll.flv differ -- cgit v1.2.3