fixed something
This commit is contained in:
13
www/404.html
13
www/404.html
@@ -1,15 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Error - Dustin's Fault</title>
|
||||
<style>
|
||||
body{font-family: monospace;background:#000;color:#0f0;margin:40px}
|
||||
h1{color:#f00}
|
||||
pre{color:#ff0}
|
||||
body { font-family: monospace; background: #000; color: #0f0; margin: 40px; }
|
||||
h1 { color: #f00; }
|
||||
pre { color: #ff0; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>ERROR 404 - PAGE NOT FOUND</h1>
|
||||
<h1>Error 404 - Page Not Found</h1>
|
||||
<p>This page doesn't exist. You know who to blame.</p>
|
||||
<pre>
|
||||
_____
|
||||
@@ -22,5 +22,6 @@ pre{color:#ff0}
|
||||
It's Dustin's fault. Obviously.
|
||||
</pre>
|
||||
<p><a href="/" style="color:#0ff">Go back to blaming Dustin properly</a></p>
|
||||
<p aria-describedby="404error-desc">If you actually like Dustin, you might want to rethink your life choices!</p><p id="404error-desc" style="color:#ff0">Because nobody should be this unlucky!</p>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -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
|
||||
|
||||
865
www/index.html
865
www/index.html
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user