Sign inSign up

techantidote/aircrack

By techantidote

•Updated over 7 years ago

Aircrack - Dockerized Wifi Pentesting

Image
1

1.1K

techantidote/aircrack repository overview

⁠Aircrack - Dockerized Wifi Pentesting#

This is a docker image that contains basic wifi pentesting tools.

⁠How to run the container

docker run -it --net="host" --privileged --name aircrack techantidote/aircrack bash

Find the wifi network interface:

ip a

Enable monitor mode:

airmon-ng start interface-name

Run "ip " and you would another interface created ending in "mon".

Run the following on the autocreated interface:

airodump-ng auto-created-interface name

Now, spawn another bash process on the same container:

docker run -it aircrack bash

Perform the pentests. Once completed, stop monitor mode using the following:

airmon-ng stop auto-created-interface name

⁠Building using DockerFile

If you would like to build the dockerfile yourself, you could do that as well.

Note: I have changed the apt sources to another official mirror documented under http://http.kali.org/README.mirrorlist⁠ as the default mirror was too slow.

-You can choose to keep the default mirror or change it accordingly. If you are changing mirrors, please only change to the official ones documented under http://http.kali.org/README.mirrorlist⁠

The docker file was build using the docker file mentioned below. You can modify it as per your wish.

cat Dockerfile

FROM kalilinux/kali-linux-docker
RUN sed -i 's/http.kali.org\/kali/mirror.karneval.cz\/pub\/linux\/kali/g' /etc/apt/sources.list
RUN apt clean all && apt update && apt upgrade -y && apt install -y aircrack-ng pciutils && apt autoremove -y && apt clean all

To build the dockerimage, you could run the following:

docker build -t techantidote/aircrack .

⁠Credits

This idea of creating a docker image was done with the help of below article.

Credits to the below author: https://deshmukhsuraj.wordpress.com/2016/07/20/run-aircrack-ng-without-external-wifi-card-updated/⁠

Tag summary

Content type

Image

Digest

Size

620.6 MB

Last updated

over 7 years ago

docker pull techantidote/aircrack