Docker - use provided docker image with bui-agents
I am using your docker compose file:
redis:
restart: always
image: redis
burpui:
restart: always
image: registry.ziirish.me/ziirish/burp-ui:latest
links:
- redis
ports:
- 127.0.0.1:5000:5000
volumes:
- ./test/conf:/etc/burp
environment:
- BURPUI_CONFIG=/etc/burp/burpui.cfg
- BURPUI_VERBOSE=0
I am using default burpui.cfg except for:
standalone = false
....
[Agent:agent1]
# bui-agent address
host = 192.168.1.102
# bui-agent port
port = 10000
# bui-agent password
password = password
# enable SSL
ssl = true
When I try to start the containers with docker-compose up it outputs following errors and keeps restarting.
burpui_1 | Sorry, only the standalone mode is supported
burpui_1 | INFO [alembic.runtime.migration] Context impl SQLiteImpl.
burpui_1 | INFO [alembic.runtime.migration] Will assume non-transactional DDL.
burpui_1 | INFO [alembic.runtime.migration] Running upgrade -> 225d9b2f0fb1, initial
burpui_1 | INFO [alembic.runtime.migration] Running upgrade 225d9b2f0fb1 -> 7f317474332d, handle sessions
burpui_1 | grep: /tmp/burp.conf: No such file or directory
burpui_1 | grep: /tmp/burp.conf: No such file or directory
burpui_1 | grep: /tmp/burp.conf: No such file or directory
burpui_1 | Unable to locate ssl_cert_ca in /tmp/burp.conf
What do I have to do with the missing /tmp/burp.conf? Whats with the ssl cert? Can your docker image used in remote mode (standalone=false), because it keeps saying it only supports standalone mode.
What I still don't understand is: Do I need to copy ssl certs from the burp server to the burpui server? Do I need to create an extra burp conf in clientconfdir for bui-agent? Is the attached buiagent.cfg correct? Can I somehow check if buiagent is configured correctly and works (I can see it running but don't know if its accepting connections)? buiagent.cfg