Update boykisser, fix nginx version stuff

This commit is contained in:
askiiart 2023-11-20 10:54:02 -06:00
parent 9abad91402
commit 0b8b990da3
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67
24 changed files with 154 additions and 143 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

BIN
boykisser.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View file

@ -1,10 +1,14 @@
import requests
import os
import json
from subprocess import getoutput
# Replace with a known-404 page for whatever you want. Doing this so the nginx version is accurate.
url_404 = 'https://askiiart.net/sdlfjsadljfs'
html_404 = str(requests.get(url_404).text)
# Replaces nginx version with actual version, provide URL to site to find nginx version
url = 'https://askiiart.net'
with open('stock-404.html', 'r') as html_404:
html_404 = html_404.read()
html_404 = html_404.replace('nginx/0.0.0', requests.get(url).headers['Server'])
boykisser_url = '/boykisser.png'
gandalf_url = '/you.gif'

View file

@ -1,7 +1,7 @@
<html>
<head><title>202 You In My Heart</title></head>
<body>
<center><h1>202 You In My Heart</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>
<html>
<head><title>202 You In My Heart</title></head>
<body>
<center><h1>202 You In My Heart</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>

View file

@ -1,7 +1,7 @@
<html>
<head><title>204 Head Empty No Thoughts</title></head>
<body>
<center><h1>204 Head Empty No Thoughts</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>
<html>
<head><title>204 Head Empty No Thoughts</title></head>
<body>
<center><h1>204 Head Empty No Thoughts</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>

View file

@ -1,7 +1,7 @@
<html>
<head><title>300 Poll</title></head>
<body>
<center><h1>300 Poll</h1><br>57% Yes, 43% No<br>(300 Multiple Choices is the actual error code? Geddit?)</center>
<hr><center>nginx/1.25.3</center>
</body>
</html>
<html>
<head><title>300 Poll</title></head>
<body>
<center><h1>300 Poll</h1><br>57% Yes, 43% No<br>(300 Multiple Choices is the actual error code? Geddit?)</center>
<hr><center>nginx/1.25.3</center>
</body>
</html>

View file

@ -1,7 +1,7 @@
<html>
<head><title>301 Your Princess Is In Another Castle</title></head>
<body>
<center><h1>301 Your Princess Is In Another Castle</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>
<html>
<head><title>301 Your Princess Is In Another Castle</title></head>
<body>
<center><h1>301 Your Princess Is In Another Castle</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>

View file

@ -1,7 +1,7 @@
<html>
<head><title>401 This Is Against TOS You've Been Reported</title></head>
<body>
<center><h1>401 This Is Against TOS You've Been Reported</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>
<html>
<head><title>401 This Is Against TOS You've Been Reported</title></head>
<body>
<center><h1>401 This Is Against TOS You've Been Reported</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>

View file

@ -1,7 +1,7 @@
<html>
<head><title>402 Come Back When You're a Little MMMMMM Richer</title></head>
<body>
<center><h1>402 Come Back When You're a Little MMMMMM Richer</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>
<html>
<head><title>402 Come Back When You're a Little MMMMMM Richer</title></head>
<body>
<center><h1>402 Come Back When You're a Little MMMMMM Richer</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>

View file

@ -1,7 +1,7 @@
<html>
<head><title>403 You Shall Not Pass</title></head>
<body>
<center><h1>403 You Shall Not Pass</h1><br><img src=/you.gif alt="gandalf saying you looped infinitely" width="350"</center>
<hr><center>nginx/1.25.3</center>
</body>
</html>
<html>
<head><title>403 You Shall Not Pass</title></head>
<body>
<center><h1>403 You Shall Not Pass</h1><br><img src=/you.gif alt="gandalf saying you looped infinitely" width="350"</center>
<hr><center>nginx/1.25.3</center>
</body>
</html>

View file

@ -1,7 +1,7 @@
<html>
<head><title>404 You Made A Typo In The URL, Didn't You?</title></head>
<body>
<center><h1>404 You Made A Typo In The URL, Didn't You?</h1><br><img src=https://askiiart.net/assets/boykisser.png alt="boykisser" width="350"</center>
<hr><center>nginx/1.25.3</center>
</body>
</html>
<html>
<head><title>404 You Made A Typo In The URL, Didn't You?</title></head>
<body>
<center><h1>404 You Made A Typo In The URL, Didn't You?</h1><br><img src=/boykisser.png alt="boykisser" width="350"</center>
<hr><center>nginx/1.25.3</center>
</body>
</html>

View file

@ -1,7 +1,7 @@
<html>
<head><title>406 I Can't Believe You've Done This</title></head>
<body>
<center><h1>406 I Can't Believe You've Done This</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>
<html>
<head><title>406 I Can't Believe You've Done This</title></head>
<body>
<center><h1>406 I Can't Believe You've Done This</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>

View file

@ -1,7 +1,7 @@
<html>
<head><title>410 Your Father</title></head>
<body>
<center><h1>410 Your Father</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>
<html>
<head><title>410 Your Father</title></head>
<body>
<center><h1>410 Your Father</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>

View file

@ -1,7 +1,7 @@
<html>
<head><title>413 Me After a Night With Your Mother</title></head>
<body>
<center><h1>413 Me After a Night With Your Mother</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>
<html>
<head><title>413 Me After a Night With Your Mother</title></head>
<body>
<center><h1>413 Me After a Night With Your Mother</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>

View file

@ -1,7 +1,7 @@
<html>
<head><title>417 Me After 20-something Years With My Mother</title></head>
<body>
<center><h1>417 Me After 20-something Years With My Mother</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>
<html>
<head><title>417 Me After 20-something Years With My Mother</title></head>
<body>
<center><h1>417 Me After 20-something Years With My Mother</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>

View file

@ -1,7 +1,7 @@
<html>
<head><title>418 I'm a Teapot</title></head>
<body>
<center><h1>418 I'm a Teapot</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>
<html>
<head><title>418 I'm a Teapot</title></head>
<body>
<center><h1>418 I'm a Teapot</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>

View file

@ -1,7 +1,7 @@
<html>
<head><title>423 Fine Then, Keep Your Secrets</title></head>
<body>
<center><h1>423 Fine Then, Keep Your Secrets</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>
<html>
<head><title>423 Fine Then, Keep Your Secrets</title></head>
<body>
<center><h1>423 Fine Then, Keep Your Secrets</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>

View file

@ -1,7 +1,7 @@
<html>
<head><title>425 Sorry This Never Happens With Other Women</title></head>
<body>
<center><h1>425 Sorry This Never Happens With Other Women</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>
<html>
<head><title>425 Sorry This Never Happens With Other Women</title></head>
<body>
<center><h1>425 Sorry This Never Happens With Other Women</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>

View file

@ -1,7 +1,7 @@
<html>
<head><title>429 i'm scared stop asking me q.q</title></head>
<body>
<center><h1>429 i'm scared stop asking me q.q</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>
<html>
<head><title>429 i'm scared stop asking me q.q</title></head>
<body>
<center><h1>429 i'm scared stop asking me q.q</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>

View file

@ -1,7 +1,7 @@
<html>
<head><title>451 Oi, You Got a Loicense For That Mate?</title></head>
<body>
<center><h1>451 Oi, You Got a Loicense For That Mate?</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>
<html>
<head><title>451 Oi, You Got a Loicense For That Mate?</title></head>
<body>
<center><h1>451 Oi, You Got a Loicense For That Mate?</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>

View file

@ -1,7 +1,7 @@
<html>
<head><title>502 Forgive Me Father For My Gateway Has Sinned</title></head>
<body>
<center><h1>502 Forgive Me Father For My Gateway Has Sinned</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>
<html>
<head><title>502 Forgive Me Father For My Gateway Has Sinned</title></head>
<body>
<center><h1>502 Forgive Me Father For My Gateway Has Sinned</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>

View file

@ -1,7 +1,7 @@
<html>
<head><title>504 Gateway died on the way back from its home planet</title></head>
<body>
<center><h1>504 Gateway died on the way back from its home planet</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>
<html>
<head><title>504 Gateway died on the way back from its home planet</title></head>
<body>
<center><h1>504 Gateway died on the way back from its home planet</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>

View file

@ -1,7 +1,7 @@
<html>
<head><title>508 508 508 508 508 508 508 508 508 508 508 508 508 508 508</title></head>
<body>
<center><h1>508 508 508 508 508 508 508 508 508 508 508 508 508 508 508</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>
<html>
<head><title>508 508 508 508 508 508 508 508 508 508 508 508 508 508 508</title></head>
<body>
<center><h1>508 508 508 508 508 508 508 508 508 508 508 508 508 508 508</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>

7
stock-404.html Normal file
View file

@ -0,0 +1,7 @@
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/0.0.0</center>
</body>
</html>