From af3de243dfaaafd552fb8f2a234c24a66bc6a3d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1lint=20Bokros?= Date: Wed, 10 Jan 2018 16:26:40 +0100 Subject: [PATCH] Add linebreaks to FSM model --- src/app/sql_injection_fsm.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/app/sql_injection_fsm.py b/src/app/sql_injection_fsm.py index 9c64796..def64aa 100644 --- a/src/app/sql_injection_fsm.py +++ b/src/app/sql_injection_fsm.py @@ -2,7 +2,15 @@ from fsm_base import FSMBase class SQLInjectionFSM(FSMBase): - states = ['start', 'stripped_code', 'sql', 'commented_code', 'sql_with_substitutions', 'sql_output', 'end'] + states = [ + 'start', + 'stripped_code', + 'sql', + 'commented_code', + 'sql_with_substitutions', + 'sql_output', + 'end', + ] transitions = [ {'trigger': 'anchor_webide', 'source': 'start', 'dest': 'stripped_code'}, {'trigger': 'anchor_login', 'source': 'stripped_code', 'dest': 'sql'},