There was an error while loading. Please reload this page.
1 parent a95ee24 commit a6bbd47Copy full SHA for a6bbd47
flask_webgoat/actions.py
@@ -31,8 +31,8 @@ def log_entry():
31
32
filename = filename_param + ".txt"
33
path = Path(user_dir + "/" + filename)
34
+ # vulnerability: Directory Traversal
35
with path.open("w", encoding="utf-8") as open_file:
- # vulnerability: Directory Traversal
36
open_file.write(text_param)
37
return jsonify({"success": True})
38
0 commit comments