#!/usr/bin/env python import cgi import json from bs4 import BeautifulSoup # Worse code here. Prepare your eyes for this monster. # Its almost as bad as programming anything in php or even worse javascript. print('Content-Type: text/html') # Mode for letting peope inject stuff. form = cgi.FieldStorage() unsafe_mode = form.getvalue("unsafe_mode") == "on" # Hehehe def check_for_injection(value): if bool(BeautifulSoup(value, "html.parser").find()) and not unsafe_mode: return """ This silly silly tried to hack this website lmao. Click to see the website with the hack """ return value def create_blahaj_tables(): try: tables_html = """
Submit yours here if you haven't already!Back to blahaj room |
put_name_hereDate submitted: put_date_here |
put_info_here |
No blahaj's found ):Yours could be first tho :3Submit yours here |