Exploit database

GH-93e637c4dbfaf96d0fd2dc420a76e08d

liadlevy/cve-2024-8309

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2024-8309

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files6
liadlevy/cve-2024-8309Revision 8367c22cad9e

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

backend/main.py

Suggested starting filePython · 542 bytes
import uvicorn
from fastapi import FastAPI
from dotenv import load_dotenv
load_dotenv()

from api import ingest, query, count


def create_application() -> FastAPI:
    app = FastAPI()
    app.include_router(ingest.router, prefix="/ingest", tags=["Ingest"])
    app.include_router(query.router, prefix="/query", tags=["Query"])
    app.include_router(count.router, prefix="/count", tags=["General"])
    return app


app = create_application()

if __name__ == "__main__":
    uvicorn.run("main:app", host="localhost", port=8001, reload=True)