Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zardus committed Feb 24, 2025
1 parent 3bab882 commit 17210ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intercepting-communication/sniff-cookie/run
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class ServerHost(Host):
return "pong"

@app.route("/flag", methods=["GET"])
def flag():
def get_flag():
if flask.session.get("user", None) != "admin":
flask.abort(403, "NOPE")
return flag
Expand Down

0 comments on commit 17210ee

Please sign in to comment.