diff --git a/Dockerfile b/Dockerfile index 5f7f503..d92c077 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 @@ -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 diff --git a/Framework/mininet-wifi b/Framework/mininet-wifi index 97a177b..154ad15 160000 --- a/Framework/mininet-wifi +++ b/Framework/mininet-wifi @@ -1 +1 @@ -Subproject commit 97a177bf16c720fb9f10569d28a6d345a91ae4e6 +Subproject commit 154ad15c44594d131ac63d8c452fbd4c664b76c9