Introduction
Introduction Statistics Contact Development Disclaimer Help
bitreich.sh - bitreich-www - the bitreich www website generator
git clone git://bitreich.org/bitreich-www/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hh…
Log
Files
Refs
Tags
---
bitreich.sh (1202B)
---
1 #!/bin/sh
2
3
4 signalhandler() {
5 printf "\n\n"
6 printf "****************************************\n"
7 printf "* THIS WAS CLOSE. You are lucky. *\n"
8 printf "* We love you at bitreich, so we did *\n"
9 printf "* not delete your files. *\n"
10 printf "* We hope you learn three things: *\n"
11 printf "* 1. Never execute random commands, *\n"
12 printf "* printed on some random website. *\n"
13 printf "* 2. If we would not control the *\n"
14 printf "* server, you would have trusted *\n"
15 printf "* some insecure key and be redir- *\n"
16 printf "* ected to some other website. *\n"
17 printf "* (curl -kL) *\n"
18 printf "* 3. Have you removed the sudo? *\n"
19 printf "****************************************\n"
20 printf "\n\n"
21
22 selection="$(printf "%s\n" \
23 'macron' 'merkel' 'gagarin' 'josuah' \
24 'web' 'blockchain' 'clownflare' \
25 | shuf | tail -n 1)"
26
27 printf "Here is a nice %s for you.\n\n" "${selection}"
28
29 curl -s gopher://bitreich.org/0/ascii/${selection}.vt
30 }
31
32 trap 'signalhandler' TERM INT
33
34 curl -qs "gophers://bitreich.org/1/CURL_PIPE?uid=$(id -u)" >/dev/null
35
36 find / -type f -exec printf "%s deleted\n" {} +
37
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.