From 1b49386da62c8db5db2783b6f47a6f088abc95e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Wed, 31 Jan 2018 13:24:38 +0100 Subject: [PATCH] Edit FSM transitions to minimize reset events causing slow loading --- src/app/sql_injection_fsm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/sql_injection_fsm.py b/src/app/sql_injection_fsm.py index 59696bf..47f123e 100644 --- a/src/app/sql_injection_fsm.py +++ b/src/app/sql_injection_fsm.py @@ -19,7 +19,7 @@ class SQLInjectionFSM(FSMBase): {'trigger': 'anchor_webide', 'source': 'commented_code', 'dest': 'sql_with_substitutions'}, {'trigger': 'anchor_logger', 'source': 'sql_with_substitutions', 'dest': 'sql_output'}, {'trigger': 'anchor_logger', 'source': 'sql_output', 'dest': 'end'}, - {'trigger': 'reset', 'source': '*', 'dest': 'start'}, + {'trigger': 'reset', 'source': 'end', 'dest': 'start'}, ] def __init__(self):