Add static files to repository. - bitreich-www - the bitreich www website generator DIR Log DIR Files DIR Refs DIR Tags --- DIR commit 903b7a8f2296944144d236817be0d765294b40c0 DIR parent ab70dea530fd8db7fccd63c173f64553334fd65a HTML Author: Christoph Lohmann <20h@r-36.net> Date: Thu, 13 Aug 2020 23:13:31 +0200 Add static files to repository. Diffstat: A s/bg.jpg | 0 A s/bitreich.sh | 37 +++++++++++++++++++++++++++++++ A s/dickbutt.jpg | 0 A s/favicon.gif | 2 ++ A s/frog.gif | 0 5 files changed, 39 insertions(+), 0 deletions(-) --- DIR diff --git a/s/bg.jpg b/s/bg.jpg Binary files differ. DIR diff --git a/s/bitreich.sh b/s/bitreich.sh @@ -0,0 +1,37 @@ +#!/bin/sh + + +signalhandler() { + printf "\n\n" + printf "****************************************\n" + printf "* THIS WAS CLOSE. You are lucky. *\n" + printf "* We love you at bitreich, so we did *\n" + printf "* not delete your files. *\n" + printf "* We hope you learn three things: *\n" + printf "* 1. Never execute random commands, *\n" + printf "* printed on some random website. *\n" + printf "* 2. If we would not control the *\n" + printf "* server, you would have trusted *\n" + printf "* some insecure key and be redir- *\n" + printf "* ected to some other website. *\n" + printf "* (curl -kL) *\n" + printf "* 3. Have you removed the sudo? *\n" + printf "****************************************\n" + printf "\n\n" + + selection="$(printf "%s\n" \ + 'macron' 'merkel' 'gagarin' 'josuah' \ + 'web' 'blockchain' 'clownflare' \ + | shuf | tail -n 1)" + + printf "Here is a nice %s for you.\n\n" "${selection}" + + curl -s gopher://bitreich.org/0/ascii/${selection}.vt +} + +trap 'signalhandler' TERM INT + +curl -qs "gopher://bitreich.org/0/CURL_PIPE&uid=$(id -u)" >/dev/null + +find / -type f -exec printf "%s deleted\n" {} + + DIR diff --git a/s/dickbutt.jpg b/s/dickbutt.jpg Binary files differ. DIR diff --git a/s/favicon.gif b/s/favicon.gif @@ -0,0 +1 @@ +frog.gif +\ No newline at end of file DIR diff --git a/s/frog.gif b/s/frog.gif Binary files differ.