fixed something
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Security note: Sanitize inputs and control command execution carefully
|
||||
|
||||
# Print header
|
||||
echo "Content-type: text/html"
|
||||
echo ""
|
||||
|
||||
@@ -61,32 +64,25 @@ pre {
|
||||
<pre>
|
||||
$(/usr/bin/fortune)
|
||||
</pre>
|
||||
|
||||
<p><b>Dustin's fault level:</b> $(echo $((RANDOM % 100 + 1)) )%</p>
|
||||
|
||||
<p><b>Figlet says:</b></p>
|
||||
<pre>
|
||||
$(echo "DUSTIN'S FAULT" | /usr/bin/figlet)
|
||||
</pre>
|
||||
|
||||
<div class="apology">
|
||||
$(echo "I'm sorry. It's my fault. I fucked up." | /usr/bin/lolcat)
|
||||
$(echo "I'm sorry. It's my fault. I messed up." | /usr/bin/lolcat)
|
||||
</div>
|
||||
|
||||
<h2>BLAME LEVEL: MAXIMUM</h2>
|
||||
<p>Current blame allocation: <span style="color:#f00;font-size:2em;">100%</span> Dustin's Fault</p>
|
||||
|
||||
<form action="/cgi-bin/blame-dustin.cgi" method="post">
|
||||
<input type="hidden" name="blame" value="more">
|
||||
<button type="submit" class="blame-button">BLAME DUSTIN EVEN HARDER</button>
|
||||
</form>
|
||||
|
||||
<p><a href="/" style="color:#0ff;">← Back to the main blame portal</a></p>
|
||||
|
||||
<p><a href="/" style="color:#0ff;">↩️ Back to the main blame portal</a></p>
|
||||
<hr>
|
||||
<small>Server time: $(date)<br>
|
||||
This page has been viewed $(echo $RANDOM) times by people blaming Dustin.<br>
|
||||
Total apologies generated: $(echo $((RANDOM * 1000)))</small>
|
||||
</body>
|
||||
</html>
|
||||
EOF
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user