update start script
This commit is contained in:
@@ -14,28 +14,48 @@ burp_process = subprocess.Popen([
|
|||||||
f"--config-file={CONFIG_FILE}"
|
f"--config-file={CONFIG_FILE}"
|
||||||
])
|
])
|
||||||
|
|
||||||
|
button = None
|
||||||
while True:
|
while True:
|
||||||
|
try:
|
||||||
button = pyautogui.locateCenterOnScreen("/app/burp/next_button.png", confidence=0.8)
|
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
|
||||||
|
|
||||||
|
try:
|
||||||
button = pyautogui.locateCenterOnScreen("/app/burp/start_burp.png", confidence=0.8)
|
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
|
||||||
|
|
||||||
|
try:
|
||||||
button = pyautogui.locateCenterOnScreen("/app/burp/accept.png", confidence=0.8)
|
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
|
||||||
|
|
||||||
|
try:
|
||||||
button = pyautogui.locateCenterOnScreen("/app/burp/proxy.png", confidence=0.8)
|
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
|
||||||
|
|
||||||
|
try:
|
||||||
button = pyautogui.locateCenterOnScreen("/app/burp/http_history.png", confidence=0.8)
|
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user