hotfix fix

This commit is contained in:
Simon
2025-06-19 11:20:17 +00:00
parent 242ce91525
commit 026266dd83

View File

@@ -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