increased wait time and activated burpsuite for supervisord

This commit is contained in:
Simon
2025-06-03 10:44:34 +00:00
parent c218828d40
commit 03e4554131
3 changed files with 11 additions and 15 deletions

View File

@@ -15,6 +15,8 @@ def start_burp():
])
return burp_process
time.sleep(5)
print("Starting Burp Suite...")
burp_process = start_burp()
button = None
@@ -62,7 +64,7 @@ while True:
if button:
print("Clicking on the 'HTTP History' button...")
pyautogui.click(button)
time.sleep(60)
time.sleep(60*60*24)
burp_process.terminate()
print("Starting Burp Suite...")
burp_process = start_burp()

View File

@@ -1,14 +1,2 @@
#!/bin/bash
export DISPLAY=:1.0
sleep 2
# Launch Burp Suite
java -jar /home/default/burpsuite_community.jar
# Give it time to start up
sleep 10
# Run your Python script to click "Next"
python3 /workspace/auto_click_next.py
/headless/.venv/bin/python3 /app/burp/start_burp.py

View File

@@ -15,4 +15,10 @@ autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stderr_logfile=/dev/stderr
directory=/headless
[program:burpsuite]
command=bash /app/supervisord/burpsuite.sh
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stderr_logfile=/dev/stderr