A simple dockerfile which allows you to build a docker image starting from the latest official one of Kali Linux and including some useful tools.
A Demo of Containerized Kali Linux using tor and proxychains

# Pull Image
docker pull codeandrew/kali-rolling:latest
# Run Image with Docker Sock for Faster Process
docker run -it --tty -v scripts:/tmp -v /var/run.docker.sock:/var/run/docker.sock -p 9990-9999:9990-9999 codeandrew/kali-rolling:latest
──(root💀2f2521b98c43)-[/tmp]
└─#
These are the main tools which are included:
Note that you can add/modify/delete configuration files by doing the related changes in the dockerfile.
python3 -m http.server 9999 # Desired Port
| Tool Name | Description | Command | Package Name | References |
|---|---|---|---|---|
| Nmap | Network Scanner | nmap -v -A -T4 -Pn ${TARGET} | nmap | https://tools.kali.org/information-gathering/nmap |
| Dmitry | Deepmagic Information Gathering Tool. Basic functionality of DMitry allows for information to be gathered about a target host from a simple whois lookup on the target to uptime reports and TCP portscans. | dmitry ${TARGET} dmitry -s ${TARGET} | dmitry | https://tools.kali.org/information-gathering/dmitry |
| LBD | Load Balancer Detector | lbd ${TARGET} | lbd | https://tools.kali.org/information-gathering/lbd |
| SSlyze | Checking weakness in SSL | sslyze --heartbleed --sslv2 --sslv3 --tlsv1 --tlsv1_1 --tlsv1_2 ${TARGET} | sslyze | https://tools.kali.org/information-gathering/sslyze |
| WhatWeb | Scans Website description, performance and metadata | whatweb ${TARGET} | whatweb | https://tools.kali.org/web-applications/whatweb |
| Nikto | web server scanner | nikto -Display 1234EP -o /tmp/report.html -Format htm -Tuning 123bde -host ${TARGET} | nikto | https://tools.kali.org/information-gathering/nikto |
| Uniscan | Uniscan is a simple Remote File Include, Local File Include and Remote Command Execution vulnerability scanner | uniscan -u http://${TARGET} -qweds | uniscan | https://tools.kali.org/web-applications/uniscan |
ua-tester is not working because of python3 test git clone to /opt https://gitlab.com/kalilinux/packages/ua-tester
apt install gobuster
┌──(root💀ce5167076588)-[/opt/ua-tester]
└─# gobuster -v testphp.vulnweb.com -w /usr/share/wordlists/dirb/common.txt
Error: unknown command "testphp.vulnweb.com" for "gobuster"
Content type
Image
Digest
Size
1.6 GB
Last updated
over 5 years ago
docker pull codeandrew/kali-rolling