added krawl homepage to templates

This commit is contained in:
Patrick Di Fazio
2026-01-05 17:07:10 +01:00
parent bd8c326918
commit 4478c60956
4 changed files with 106 additions and 97 deletions

View File

@@ -60,3 +60,8 @@ def product_search() -> str:
def input_form() -> str:
"""Generate input form page for XSS honeypot"""
return load_template("input_form")
def main_page(counter: int, content: str) -> str:
"""Generate main Krawl page with links and canary token"""
return load_template("main_page", counter=counter, content=content)