INNER CODE UNIT · Python

survive_page

Nour833/StegoForge · web/app.py:237

    def survive_page():
        return render_template("index.html", initial_tab="survive")

    @app.route("/artifact")
    def artifact_file():
        p = request.args.get("path", "")
        if not p:
            return jsonify({"error": "Missing path"}), 400
        artifact = Path(p)
        if not _artifact_allowed(artifact):
            return jsonify({"error": "Artifact not found"}), 404
        return send_file(str(artifact), as_attachment=False)

    @app.route("/api/platform-profiles", methods=["GET"])
    def api_platform_profiles():
        from detect.survival import PROFILES

        out = {}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…