added start_burp.sh
This commit is contained in:
@@ -41,5 +41,6 @@ RUN curl https://portswigger.net/burp/releases/download \
|
|||||||
USER 1000
|
USER 1000
|
||||||
|
|
||||||
|
|
||||||
RUN python3 -m venv /home/default/.venv && bash -c "source /home/default/.venv/bin/activate && pip3 install pyautogui pillow opencv-python"
|
RUN python3 -m venv ~/.venv && bash -c "source ~/.venv/bin/activate && pip3 install pyautogui pillow opencv-python"
|
||||||
|
RUN echo "source ~/.venv/bin/activate" >> ~/.bashrc
|
||||||
|
|
||||||
|
|||||||
12
burp/start_burp.sh
Normal file
12
burp/start_burp.sh
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
import pyautogui
|
||||||
|
import time
|
||||||
|
|
||||||
|
print("Waiting for Burp window...")
|
||||||
|
time.sleep(10)
|
||||||
|
|
||||||
|
button = pyautogui.locateCenterOnScreen("/workspace/next_button.png", confidence=0.8)
|
||||||
|
if button:
|
||||||
|
print("Clicking on the 'Next' button...")
|
||||||
|
pyautogui.click(button)
|
||||||
|
else:
|
||||||
|
print("Failed to find the 'Next' button. Try updating the screenshot.")
|
||||||
Reference in New Issue
Block a user