In order for some attack vectors to work properly you will need to expose some or all container's ports to host.
Also for remote WAN usage you may need to have these ports open in your firewall too.
In example, Website based attack vectors will need to have at least the port 80 configured properly.
It may means that services.sh did not work properly on the container start, please mannually execute following commands :
/etc/init.d/postgresql start
msfdb init
Initiate the metasploit framework database for its firt run:
msfdb init
You can also connect to metasploit framework to check everything is ok and build database cache
msfconsole>
db_rebuild_cache
/etc/init.d/postgresql start>
msfdb init
You can read more detailed information on my building process and have a look at the Dockerfiles on my Github here
Description: Default Kali Linux Official container with ibxext-dev libxrender-dev libxtst-dev metasploit-framework and armitage installed. Some configuration is added to export the X11 application GUI from the container.
To use please, read below:
Initiate the metasploit framework database for its firt run:
msfdb init
You can also connect to metasploit framework to check everything is ok and build database cache
msfconsole
db_rebuild_cache
The Dockerfile is available on Github.com here > https://github.com/t0m-a/armitage-docker-mage
We are running the latest Sparta development version due to bugs with QT libraries avoiding the GUI to load properly
all the elements.
You can update or downgrade it by downloading the code directly from Secforce's Sparta Github repository into the tool's folder.
At that point, cutycapt still provokes non blocking errors while trying to display the screenshots. I am working on it.
The Dockerfile is available on Github.com here > https://github.com/t0m-a/sparta-docker-image