Skip to content

Commit

Permalink
Merge pull request #21 from her3ticAVI/Docker
Browse files Browse the repository at this point in the history
organization of dockerfile
  • Loading branch information
JsphByd authored May 31, 2024
2 parents ae10a2e + c32045e commit 7246af8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 18 deletions.
36 changes: 19 additions & 17 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,17 @@ WORKDIR /wififorge
COPY . .

RUN apt-get update -y && apt-get upgrade --fix-missing -y --no-install-recommends
RUN apt install -y git
RUN apt install -y sudo
RUN apt install -y python3-pip
RUN apt install -y \
git \
sudo \
python3-pip \
curl \
wget \
aircrack-ng \
dsniff \
mininet --allow-downgrades \
iputils-ping

RUN git config --global --add safe.directory $PWD
RUN git config --global --add safe.directory $PWD/Framework/john
RUN git submodule init
Expand All @@ -21,23 +29,17 @@ RUN git config --global --add safe.directory $PWD/Framework/mininet-wifi/hostapd

RUN python3 -m pip config set global.break-system-packages true

#setup john
RUN apt install libssl-dev
RUN ./Framework/john/src/configure
RUN make -C Framework/john/src
RUN make -C Framework/john/src -s clean && make -C Framework/john/src -sj4

RUN apt install -y curl wget
RUN chmod +x ./Framework/dependencies.sh
RUN ./Framework/dependencies.sh

RUN apt-get install -y --no-install-recommends \
aircrack-ng \
john \
dsniff \
mininet --allow-downgrades \
iputils-ping

RUN ./Framework/mininet-wifi/util/install.sh -Wlnfv
RUN make -C Framework/mininet-wifi install
RUN sudo make -C Framework/mininet-wifi install
RUN service openvswitch-switch start

#setup john
RUN apt install libssl-dev
RUN ./Framework/john/src/configure
RUN make -C Framework/john/src
RUN make -C Framework/john/src -s clean && make -C Framework/john/src -sj4

2 changes: 1 addition & 1 deletion Framework/mininet-wifi

0 comments on commit 7246af8

Please sign in to comment.