Official Parrot Security image pre-loaded with pentest tools
500K+
This container includes a huge collection of tools that can be used via command line from inside a docker container.
Some tools with graphical interface were excluded for obvious reasons.
docker run --rm -ti --network host -v $PWD/work:/work parrotsec/security
docker run --name pcore-1 -ti parrotsec/security
NOTE: the pcore-1 name is arbitrary and can be customized
docker stop pcore-1
docker start pcore-1
docker rm pcore-1
docker ps -a
on terminal 1 -> docker run --name pentest1 -ti parrotsec/security
on terminal 2 -> docker run --name pentest2 -ti parrotsec/security
on terminal 3 -> docker run --name msf-listener -ti parrotsec/metasploit
docker rm $(docker ps -qa)
docker run --rm -ti parrotsec/security
It is a good practice to not keep persistent Docker containers, but to remove them on every use and make sure to save important files on a Docker volume.
The following command creates a work folder inside the current directory and mounts it in /work inside the container.
docker run --rm -ti -v $PWD/work:/work parrotsec/security
on terminal 1 -> docker run --name pentest -ti -v $PWD/work:/work parrotsec/security
on terminal 2 -> docker run --rm --network host -v $PWD/work:/work -ti parrotsec/security
on terminal 3 -> docker run --rm -v $PWD/work:/work -ti parrotsec/metasploit
Every docker container has its own network space connected to a virtual LAN.
All the traffic from within the docker container will be NATted by the host computer.
If you need to expose a port to other machines outside your local computer, use the following exaple:
docker run --rm -p 8080:80 -ti parrotsec/security
Note that the first port is the port that will be opened on your host, and the second one is the container port to bind to.
Here a reference usage of the -p flag:
-p :
-p 8080:80
-p :/
-p 8080:80/tcp
-p
::-p 192.168.1.30:8080:80 (in case of multiple adresses on host network)
Every docker container has its own network space connected to a virtual LAN.
All the traffic from within the docker container will be NATted by the host computer.
If you need to make the docker container share the same networking space of the host machine, then use the --network host flag as shown below
docker run --rm --network host -ti parrotsec/security
NOTE 1: every port opened in the container will be opened on the host as well.
NOTE 2: you can perform packet sniffing on the host network.
NOTE 3: iptables rules applied inside the container will take effect on the host as well.
Content type
Image
Digest
sha256:2fe6606fe…
Size
4.8 GB
Last updated
2 months ago
docker pull parrotsec/securityPulls:
583
Last week