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 a5faf6a commit 0db7b34
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions intercepting-communication/sniff-cookie/run
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ class ServerHost(Host):
password = flask.request.form.get("password")
if username == "admin" and password == admin_pw:
flask.session["user"] = "admin"
return "OK"
flask.abort(403, "NOPE")

@app.route("/ping", methods=["GET"])
def ping():
Expand Down

0 comments on commit 0db7b34

Please sign in to comment.