refactor: share single browser instance across all agents
- Use singleton browser with isolated BrowserContext per agent instead of separate Chromium processes per agent - Add cleanup logic for stale browser/playwright on reconnect - Add resource management instructions to browser schema (close tabs/browser when done) - Suppress Kali login message in Dockerfile
This commit is contained in:
@@ -9,7 +9,8 @@ RUN apt-get update && \
|
||||
|
||||
RUN useradd -m -s /bin/bash pentester && \
|
||||
usermod -aG sudo pentester && \
|
||||
echo "pentester ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
|
||||
echo "pentester ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \
|
||||
touch /home/pentester/.hushlogin
|
||||
|
||||
RUN mkdir -p /home/pentester/configs \
|
||||
/home/pentester/wordlists \
|
||||
|
||||
Reference in New Issue
Block a user