mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-21 17:56:53 +02:00
add kismet
This commit is contained in:
parent
2174eb655f
commit
42ffbebced
@ -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
56
kismet/Dockerfile
Normal 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
12
kismet/README.md
Normal 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
|
||||
```
|
8
kismet/docker-compose.yml
Normal file
8
kismet/docker-compose.yml
Normal file
@ -0,0 +1,8 @@
|
||||
kismet:
|
||||
image: vimagick/kismet
|
||||
ports:
|
||||
- "2501:2501"
|
||||
- "3501:3501"
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user