#!/usr/bin/python3 print("Content-Type: text/html\n\n") print("""\n\n""") import cgi import cgitb; cgitb.enable() import os import sys import Config try: from urllib.parse import quote except: from urllib import quote try: from ctf import teams except: path = '/home/pflarr/repos/gctf/' sys.path.append(path) from ctf import teams teams.build_teams() head = open('head.html').read() % "Submission Results" print(head) print("