summaryrefslogtreecommitdiffstats
path: root/minikrebs/profiles/rickroller/customfiles/www
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2013-01-07 12:06:33 +0000
committermakefu <root@pigstarter.de>2013-01-07 12:06:33 +0000
commitad376d1dab439f9d28bf7ff02bfa7afed7444037 (patch)
treef09e0ed2c0da0e5e467188bb88464d22e2d2c7a1 /minikrebs/profiles/rickroller/customfiles/www
parentb2df392966df95102bb8cf4ee3f043d4b6ed633f (diff)
parent6ea50f3c77350e715649aa45061beb1701ebaa95 (diff)
Merge branch 'master' of https://github.com/krebscode/painload
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