diff --git a/burp/start_burp.py b/burp/start_burp.py index f21dbbb..99fd733 100644 --- a/burp/start_burp.py +++ b/burp/start_burp.py @@ -69,8 +69,8 @@ while True: if button and not proxy_clicked: print("Clicking on the 'Proxy' button...") pyautogui.click(button) - button = None proxy_clicked = True + button = None try: button = pyautogui.locateCenterOnScreen("/app/burp/http_history.png", confidence=0.8) @@ -79,8 +79,8 @@ while True: if button and not history_clicked: print("Clicking on the 'HTTP History' button...") pyautogui.click(button) - button = None history_clicked = True + button = None try: button = pyautogui.locateCenterOnScreen("/app/burp/sort.png", confidence=0.99) except: