mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-06-10 23:37:44 +02:00
upgrade hydra to 9.0
This commit is contained in:
parent
4fc09d57ca
commit
fe69f4c952
@ -5,8 +5,8 @@
|
|||||||
FROM alpine
|
FROM alpine
|
||||||
MAINTAINER EasyPi Software Foundation
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
ENV HYDRA_VERSION=8.6
|
ENV HYDRA_VERSION=9.0
|
||||||
ENV HYDRA_URL=https://github.com/vanhauser-thc/thc-hydra/archive/$HYDRA_VERSION.tar.gz
|
ENV HYDRA_URL=https://github.com/vanhauser-thc/thc-hydra/archive/v$HYDRA_VERSION.tar.gz
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
&& apk add --no-cache apr-dev \
|
&& apk add --no-cache apr-dev \
|
||||||
@ -35,7 +35,6 @@ RUN set -xe \
|
|||||||
&& mkdir src \
|
&& mkdir src \
|
||||||
&& cd src \
|
&& cd src \
|
||||||
&& curl -sSL $HYDRA_URL | tar xz --strip 1 \
|
&& curl -sSL $HYDRA_URL | tar xz --strip 1 \
|
||||||
&& sed -i '1s/^/#include <stdint.h>\n/' pw-inspector.c \
|
|
||||||
&& ./configure --prefix=/usr \
|
&& ./configure --prefix=/usr \
|
||||||
&& make install \
|
&& make install \
|
||||||
&& cd .. \
|
&& cd .. \
|
||||||
@ -51,7 +50,4 @@ RUN set -xe \
|
|||||||
postgresql-dev \
|
postgresql-dev \
|
||||||
subversion-dev
|
subversion-dev
|
||||||
|
|
||||||
VOLUME /hydra
|
ENTRYPOINT ["bash"]
|
||||||
WORKDIR /hydra
|
|
||||||
|
|
||||||
CMD ["bash"]
|
|
||||||
|
@ -22,7 +22,7 @@ A very fast network logon cracker which support many different services.
|
|||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
$ docker run --rm -it -v `pwd`:/work vimagick/hydra
|
$ docker run --rm -it -v `pwd`:/data -w /data vimagick/hydra
|
||||||
|
|
||||||
>>> cat passwd.txt
|
>>> cat passwd.txt
|
||||||
123456
|
123456
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
# Dockerfile for hydra-arm
|
# Dockerfile for hydra-arm
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM easypi/alpine-arm
|
FROM arm32v7/alpine
|
||||||
MAINTAINER EasyPi Software Foundation
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
ENV HYDRA_VERSION=8.6
|
ENV HYDRA_VERSION=9.0
|
||||||
ENV HYDRA_URL=https://github.com/vanhauser-thc/thc-hydra/archive/$HYDRA_VERSION.tar.gz
|
ENV HYDRA_URL=https://github.com/vanhauser-thc/thc-hydra/archive/v$HYDRA_VERSION.tar.gz
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
&& apk add --no-cache apr-dev \
|
&& apk add --no-cache apr-dev \
|
||||||
@ -35,7 +35,6 @@ RUN set -xe \
|
|||||||
&& mkdir src \
|
&& mkdir src \
|
||||||
&& cd src \
|
&& cd src \
|
||||||
&& curl -sSL $HYDRA_URL | tar xz --strip 1 \
|
&& curl -sSL $HYDRA_URL | tar xz --strip 1 \
|
||||||
&& sed -i '1s/^/#include <stdint.h>\n/' pw-inspector.c \
|
|
||||||
&& ./configure --prefix=/usr \
|
&& ./configure --prefix=/usr \
|
||||||
&& make install \
|
&& make install \
|
||||||
&& cd .. \
|
&& cd .. \
|
||||||
@ -51,7 +50,4 @@ RUN set -xe \
|
|||||||
postgresql-dev \
|
postgresql-dev \
|
||||||
subversion-dev
|
subversion-dev
|
||||||
|
|
||||||
VOLUME /hydra
|
ENTRYPOINT ["bash"]
|
||||||
WORKDIR /hydra
|
|
||||||
|
|
||||||
CMD ["bash"]
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user