Public | Automated Build

Last pushed: 2 years ago
Short Description
Dockerfile of w3af_gui that sets up an SSH server to do X11 forwarding.
Full Description

w3af_gui via ssh

Usage from pulling (Method 1)

The image pulled has a dummy ssh key loaded. To login you'll have to generate an ssh key (if you haven't already) and put the pub file id_rsa.pub and a Dockerfile that contains

FROM losinggeneration/w3af_gui-ssh
ADD id_rsa.pub $HOME/.ssh/authorized_keys

Then you should be able to build the image and log in.

Usage from pulling (Method 2)

docker exec -i -t <container id> /bin/bash
# cat > ~w3af/.ssh/authorized_keys << EOF
<paste ssh then hit enter>
EOF
exit

Building from Dockerfile (Method 3)

ssh-keygen $PWD/ssh/id_rsa
# Or copy your id_rsa.pub into ssh/
docker build -t w3af_gui-ssh .

Running the container

docker run -d -P w3af_gui-ssh

Connecting to the container

ssh -Y w3af@<w3af_gui-ssh ip>
Docker Pull Command
Owner
losinggeneration
Source Repository

Comments (0)