Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
zardus committed Sep 1, 2024
1 parent 500fd6b commit 36ce873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web-security/xss-stored-html/server
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def challenge_post():
@app.route("/", methods=["GET"])
def challenge_get():
page = "<html><body>\nWelcome to pwnpost, the anonymous posting service. Post away!\n"
page += "<form method=post>Post:<input type=text name=content></form>\n"
page += "<form method=post>Post:<input type=text name=content><input type=submit value=Submit></form>\n"

for post in db.execute("SELECT content FROM posts").fetchall():
page += "<hr>" + post["content"] + "\n"
Expand Down

0 comments on commit 36ce873

Please sign in to comment.