security-dockerfiles / beef

Dockerized BeEF
MIT License
44 stars 12 forks source link

How to change default password? #2

Closed ghost closed 6 years ago

ilyaglow commented 6 years ago

You can mount your own config.yaml inside container and start the image like so:

docker run -it -p 3000:3000 \
               -p 6789:6789 \
               -p 61985:61985 \
               -p 61986:61986 \
               -v your-config.yaml:/data/config.yaml \
               ilyaglow/beef -c /data/config.yaml
ilyaglow commented 6 years ago

Also could be implemented inside entrypoint shell script and I will happily accept PR for this feature :)

ilyaglow commented 6 years ago

Implemented in 6ddcfadd162b8d56b8761b21232bc638647f9d43