Sign inSign up

codeandrew/kali-rolling

By codeandrew

•Updated over 5 years ago

Kali Linux Image

Image
1

557

codeandrew/kali-rolling repository overview

⁠Kali-Linux-Dockerfile

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.

⁠Demo

A Demo of Containerized Kali Linux using tor and proxychains

Kali Docker

⁠Usage

# 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]
└─#

⁠Included tools

These are the main tools which are included:

  • Kali Linux Top 10⁠ metapackage
  • exploitdb
  • man-db
  • dirb
  • nikto
  • wpscan
  • uniscan
  • tor
  • proxychains

Note that you can add/modify/delete configuration files by doing the related changes in the dockerfile.

⁠References
⁠Simple WebServer
⁠Python
python3 -m http.server 9999 # Desired Port

⁠My Installed Tools

Tool NameDescriptionCommandPackage NameReferences
NmapNetwork Scannernmap -v -A -T4 -Pn ${TARGET}nmaphttps://tools.kali.org/information-gathering/nmap⁠
DmitryDeepmagic 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}dmitryhttps://tools.kali.org/information-gathering/dmitry⁠
LBDLoad Balancer Detectorlbd ${TARGET}lbdhttps://tools.kali.org/information-gathering/lbd⁠
SSlyzeChecking weakness in SSLsslyze --heartbleed --sslv2 --sslv3 --tlsv1 --tlsv1_1 --tlsv1_2 ${TARGET}sslyzehttps://tools.kali.org/information-gathering/sslyze⁠
WhatWebScans Website description, performance and metadatawhatweb ${TARGET}whatwebhttps://tools.kali.org/web-applications/whatweb⁠
Niktoweb server scannernikto -Display 1234EP -o /tmp/report.html -Format htm -Tuning 123bde -host ${TARGET}niktohttps://tools.kali.org/information-gathering/nikto⁠
UniscanUniscan is a simple Remote File Include, Local File Include and Remote Command Execution vulnerability scanneruniscan -u http://${TARGET} -qwedsuniscanhttps://tools.kali.org/web-applications/uniscan⁠

⁠Troubleshoot

⁠Ua Tester

ua-tester is not working because of python3 test git clone to /opt https://gitlab.com/kalilinux/packages/ua-tester⁠

⁠Go Buster Not working properly

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"

Tag summary

Content type

Image

Digest

Size

1.6 GB

Last updated

over 5 years ago

docker pull codeandrew/kali-rolling