Skip to content

Commit 5cba5ec

Browse files
committed
Change the "dangerous" payload for flask mysql
1 parent 8c3d095 commit 5cba5ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

end2end/flask_mysql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
flask_mysql_app.add_payload(
77
"sql", test_event=events["flask_mysql_attack_sql"],
88
safe_request=Request("/create", body={"dog_name": "Bobby"}, data_type="form"),
9-
unsafe_request=Request("/create", body={"dog_name": "Bobby"}, data_type="form")
9+
unsafe_request=Request("/create", body={"dog_name": "Dangerous bobby\", 1); -- "}, data_type="form")
1010
)
1111
flask_mysql_app.add_payload(
1212
"shell", test_event=events["flask_mysql_attack_shell"],

0 commit comments

Comments
 (0)