#!/usr/bin/env python3
"""Minimal HTTP server for the MakeScriptPrivate bypass POC (Chrome iOS)."""
import http.server
import socketserver
import os

PORT = 8080

class Handler(http.server.SimpleHTTPRequestHandler):
    def __init__(self, *a, **kw):
        super().__init__(*a, directory=os.path.dirname(os.path.abspath(__file__)), **kw)

if __name__ == "__main__":
    with socketserver.TCPServer(("", PORT), Handler) as httpd:
        print(f"Serving POC on http://0.0.0.0:{PORT}/poc.html")
        httpd.serve_forever()
