From 026266dd83baf366a889a74a24401b0653384981 Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 19 Jun 2025 11:20:17 +0000 Subject: [PATCH] hotfix fix --- burp/start_burp.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/burp/start_burp.py b/burp/start_burp.py index 90041dc..bfab422 100644 --- a/burp/start_burp.py +++ b/burp/start_burp.py @@ -23,6 +23,7 @@ end_time = datetime.datetime.now() + datetime.timedelta(days=1) button = None proxy_clicked = False history_clicked = False +sort_clicked = False while True: if datetime.datetime.now() > end_time: print("Burp Suite has been running for 24 hours, restarting...") @@ -32,6 +33,7 @@ while True: end_time = datetime.datetime.now() + datetime.timedelta(days=1) proxy_clicked = False history_clicked = False + sort_clicked = False try: button = pyautogui.locateCenterOnScreen("/app/burp/next_button.png", confidence=0.8) @@ -83,6 +85,8 @@ while True: button = pyautogui.locateCenterOnScreen("/app/burp/sort.png", confidence=0.8) except: pass - if button: + if button and not sort_clicked: print("Clicking on the 'Sorting' button...") pyautogui.click(button) + button = None + sort_clicked = True