update start script

This commit is contained in:
Simon
2025-06-03 10:31:19 +00:00
parent d74b7b97e6
commit 08d7b09e05

View File

@@ -14,28 +14,48 @@ burp_process = subprocess.Popen([
f"--config-file={CONFIG_FILE}" f"--config-file={CONFIG_FILE}"
]) ])
button = None
while True: while True:
button = pyautogui.locateCenterOnScreen("/app/burp/next_button.png", confidence=0.8) try:
button = pyautogui.locateCenterOnScreen("/app/burp/next_button.png", confidence=0.8)
except:
pass
if button: if button:
print("Clicking on the 'Next' button...") print("Clicking on the 'Next' button...")
pyautogui.click(button) pyautogui.click(button)
button = None
button = pyautogui.locateCenterOnScreen("/app/burp/start_burp.png", confidence=0.8) try:
button = pyautogui.locateCenterOnScreen("/app/burp/start_burp.png", confidence=0.8)
except:
pass
if button: if button:
print("Clicking on the 'Start Burp' button...") print("Clicking on the 'Start Burp' button...")
pyautogui.click(button) pyautogui.click(button)
button = None
button = pyautogui.locateCenterOnScreen("/app/burp/accept.png", confidence=0.8)
try:
button = pyautogui.locateCenterOnScreen("/app/burp/accept.png", confidence=0.8)
except:
pass
if button: if button:
print("Clicking on the 'Accept' button...") print("Clicking on the 'Accept' button...")
pyautogui.click(button) pyautogui.click(button)
button = None
button = pyautogui.locateCenterOnScreen("/app/burp/proxy.png", confidence=0.8) try:
button = pyautogui.locateCenterOnScreen("/app/burp/proxy.png", confidence=0.8)
except:
pass
if button: if button:
print("Clicking on the 'Proxy' button...") print("Clicking on the 'Proxy' button...")
pyautogui.click(button) pyautogui.click(button)
button = None
button = pyautogui.locateCenterOnScreen("/app/burp/http_history.png", confidence=0.8) try:
button = pyautogui.locateCenterOnScreen("/app/burp/http_history.png", confidence=0.8)
except:
pass
if button: if button:
print("Clicking on the 'HTTP History' button...") print("Clicking on the 'HTTP History' button...")
pyautogui.click(button) pyautogui.click(button)
@@ -46,4 +66,5 @@ while True:
"java", "-jar", BURP_JAR, "java", "-jar", BURP_JAR,
f"--config-file={CONFIG_FILE}" f"--config-file={CONFIG_FILE}"
]) ])
button = None