diff --git a/gui/app.py b/gui/app.py index 94207ce..b6c406a 100644 --- a/gui/app.py +++ b/gui/app.py @@ -135,7 +135,8 @@ def wants_json_error(): )) or request.path in { "/reports/vendors/update", - "/reports/search/data" + "/reports/search/data", + "/reports/search/cracklab", } ) @@ -1920,6 +1921,8 @@ def reports_search_cracklab(): try: + reports_conn.execute("BEGIN") + access_points = search_access_points( reports_conn, criteria @@ -1936,6 +1939,8 @@ def reports_search_cracklab(): for handshake in items ] + reports_conn.rollback() + if not handshake_ids: return jsonify(