From 7296c90dff5e260c6279aed071fe507a4ddedc4a Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 10 Jan 2013 14:37:10 +0100 Subject: emergency commit, i am so sorry... --- .../rickroller_bare/customfiles/www/1x1.gif | Bin 0 -> 35 bytes .../customfiles/www/cgi-bin/rrhelper | 15 ++++++++++++ .../rickroller_bare/customfiles/www/index.html | 27 +++++++++++++++++++++ .../rickroller_bare/customfiles/www/rick.gif | Bin 0 -> 506229 bytes .../rickroller_bare/customfiles/www/rick.ogg | Bin 0 -> 390604 bytes 5 files changed, 42 insertions(+) create mode 100644 minikrebs/profiles/rickroller_bare/customfiles/www/1x1.gif create mode 100755 minikrebs/profiles/rickroller_bare/customfiles/www/cgi-bin/rrhelper create mode 100644 minikrebs/profiles/rickroller_bare/customfiles/www/index.html create mode 100644 minikrebs/profiles/rickroller_bare/customfiles/www/rick.gif create mode 100644 minikrebs/profiles/rickroller_bare/customfiles/www/rick.ogg (limited to 'minikrebs/profiles/rickroller_bare/customfiles/www') diff --git a/minikrebs/profiles/rickroller_bare/customfiles/www/1x1.gif b/minikrebs/profiles/rickroller_bare/customfiles/www/1x1.gif new file mode 100644 index 00000000..8e91660f Binary files /dev/null and b/minikrebs/profiles/rickroller_bare/customfiles/www/1x1.gif differ diff --git a/minikrebs/profiles/rickroller_bare/customfiles/www/cgi-bin/rrhelper b/minikrebs/profiles/rickroller_bare/customfiles/www/cgi-bin/rrhelper new file mode 100755 index 00000000..ec328a3b --- /dev/null +++ b/minikrebs/profiles/rickroller_bare/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_bare/customfiles/www/index.html b/minikrebs/profiles/rickroller_bare/customfiles/www/index.html new file mode 100644 index 00000000..46bd7c33 --- /dev/null +++ b/minikrebs/profiles/rickroller_bare/customfiles/www/index.html @@ -0,0 +1,27 @@ + + +RickRoll'D + + +
+

RickRoll'D

+
+ +
+ + + + diff --git a/minikrebs/profiles/rickroller_bare/customfiles/www/rick.gif b/minikrebs/profiles/rickroller_bare/customfiles/www/rick.gif new file mode 100644 index 00000000..3ce9c237 Binary files /dev/null and b/minikrebs/profiles/rickroller_bare/customfiles/www/rick.gif differ diff --git a/minikrebs/profiles/rickroller_bare/customfiles/www/rick.ogg b/minikrebs/profiles/rickroller_bare/customfiles/www/rick.ogg new file mode 100644 index 00000000..f52a3d71 Binary files /dev/null and b/minikrebs/profiles/rickroller_bare/customfiles/www/rick.ogg differ -- cgit v1.2.3