File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,6 +17,15 @@ The app is built on top of `gopacket` package which provides C bindings for the
1717go get github.com/ilyaglow/badcapt/cmd/badcapt
1818```
1919
20+ Also you can use the docker image (see below on how to use it):
21+ ```
22+ docker build -t badcapt https://github.com/ilyaglow/badcapt.git
23+ ```
24+ or
25+ ```
26+ docker pull ilyaglow/badcapt
27+ ```
28+
2029Usage
2130-----
2231
@@ -32,6 +41,12 @@ Usage of badcapt:
3241If no Elasticsearch URL provided, badcapt will simply output records to the
3342screen.
3443
35- You can also take a look at
36- [ badsearch] ( https://github.com/ilyaglow/badcapt/tree/master/cmd/badsearch ) :
37- it dumps all records in the database for the last 24 hours.
44+ To use the dockerized version you must run it with ` --net=host ` switch:
45+ ```
46+ docker run -d ilyaglow/badcapt -i eth0
47+ ```
48+
49+ You can also take a look at the
50+ [ badsearch] ( https://github.com/ilyaglow/badcapt/tree/master/cmd/badsearch )
51+ companion script for the Elasticsearch: it dumps all records in the database for
52+ the last 24 hours.
You can’t perform that action at this time.
0 commit comments