Add linebreaks to FSM model

This commit is contained in:
Bálint Bokros 2018-01-10 16:26:40 +01:00
parent 7cc5268f9b
commit af3de243df

View File

@ -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'},