mirror of
https://github.com/bettercap/bettercap
synced 2025-07-07 21:42:06 -07:00
balls
This commit is contained in:
parent
23961c81f5
commit
2b7aae7b1f
2 changed files with 3 additions and 4 deletions
|
@ -2,13 +2,12 @@ FROM iron/go:dev
|
||||||
MAINTAINER Simone Margaritelli <https://evilsocket.net/>
|
MAINTAINER Simone Margaritelli <https://evilsocket.net/>
|
||||||
|
|
||||||
ENV SRC_DIR=/gocode/src/github.com/evilsocket/bettercap-ng
|
ENV SRC_DIR=/gocode/src/github.com/evilsocket/bettercap-ng
|
||||||
|
COPY . $SRC_DIR
|
||||||
|
|
||||||
WORKDIR $SRC_DIR
|
WORKDIR $SRC_DIR
|
||||||
ADD . $SRC_DIR
|
|
||||||
|
|
||||||
RUN apk add --update ca-certificates
|
RUN apk add --update ca-certificates
|
||||||
RUN apk add --no-cache --update bash build-base libpcap-dev
|
RUN apk add --no-cache --update bash build-base libpcap-dev
|
||||||
|
|
||||||
RUN cd $SRC_DIR
|
|
||||||
RUN make deps
|
RUN make deps
|
||||||
RUN make
|
RUN make
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ type Queue struct {
|
||||||
handle *pcap.Handle
|
handle *pcap.Handle
|
||||||
source *gopacket.PacketSource
|
source *gopacket.PacketSource
|
||||||
lock *sync.Mutex
|
lock *sync.Mutex
|
||||||
active bool `json:"-"`
|
active bool
|
||||||
|
|
||||||
Activities chan Activity `json:"-"`
|
Activities chan Activity `json:"-"`
|
||||||
Sent uint64
|
Sent uint64
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue