1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 18:06:36 +02:00

add kismet

This commit is contained in:
kev 2018-09-01 13:25:19 +08:00
parent 2174eb655f
commit 42ffbebced
4 changed files with 77 additions and 0 deletions

View File

@ -189,6 +189,7 @@ A collection of delicious docker recipes.
- [x] grr
- [x] hydra
- [x] iptables
- [x] kismet
- [x] routersploit
- [x] snort :beetle:
- [x] sslsplit

56
kismet/Dockerfile Normal file
View File

@ -0,0 +1,56 @@
#
# Dockerfile for kismet
#
FROM ubuntu:16.04
RUN set -xe \
&& apt-get update \
&& apt-get install -y autoconf \
build-essential \
curl \
gdb \
gdbserver \
libcap-dev \
libdw-dev \
libmicrohttpd-dev \
libncurses5-dev \
libnl-3-dev \
libnl-genl-3-dev \
libnm-dev \
libpcap-dev \
libprotobuf-c-dev \
libprotobuf-dev \
librtlsdr0 \
libsqlite3-dev \
pkg-config \
protobuf-c-compiler \
protobuf-compiler \
python \
python-pip \
python-setuptools \
zlib1g-dev \
&& mkdir /opt/kismet \
&& cd /opt/kismet \
&& curl -sSL https://github.com/kismetwireless/kismet/archive/master.tar.gz | tar xz --strip 1 \
&& ./configure --prefix=/usr --sysconfdir=/etc/kismet \
&& make \
&& make suidinstall \
&& make forceconfigs \
&& touch /etc/kismet_site.conf \
&& apt-get remove -y autoconf \
build-essential \
curl \
pkg-config \
protobuf-c-compiler \
protobuf-compiler \
python-pip \
python-setuptools \
&& cd / \
&& rm -rf /opt/kismet
VOLUME /root/.kismet
EXPOSE 2501 3501
CMD ["kismet", "--no-ncurses"]

12
kismet/README.md Normal file
View File

@ -0,0 +1,12 @@
kismet
======
```bash
$ docker-compose up -d
$ docker-compose exec kismet cat /root/.kismet/kismet_httpd.conf
httpd_password=LV2nurQNGgZ46N5n
httpd_username=kismet
$ curl http://localhost:2501
```

View File

@ -0,0 +1,8 @@
kismet:
image: vimagick/kismet
ports:
- "2501:2501"
- "3501:3501"
cap_add:
- NET_ADMIN
restart: unless-stopped