mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 19:31:33 +00:00
Add linebreaks to FSM model
This commit is contained in:
parent
7cc5268f9b
commit
af3de243df
@ -2,7 +2,15 @@ from fsm_base import FSMBase
|
|||||||
|
|
||||||
|
|
||||||
class SQLInjectionFSM(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 = [
|
transitions = [
|
||||||
{'trigger': 'anchor_webide', 'source': 'start', 'dest': 'stripped_code'},
|
{'trigger': 'anchor_webide', 'source': 'start', 'dest': 'stripped_code'},
|
||||||
{'trigger': 'anchor_login', 'source': 'stripped_code', 'dest': 'sql'},
|
{'trigger': 'anchor_login', 'source': 'stripped_code', 'dest': 'sql'},
|
||||||
|
Loading…
Reference in New Issue
Block a user