From ac873f4fdd4f6aee926c86221797b6ba0257db8e Mon Sep 17 00:00:00 2001 From: Jessica Frazelle Date: Sun, 18 Oct 2015 14:31:02 -0700 Subject: [PATCH] add john the ripper Signed-off-by: Jessica Frazelle --- john/Dockerfile | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 john/Dockerfile diff --git a/john/Dockerfile b/john/Dockerfile new file mode 100644 index 0000000..f09c692 --- /dev/null +++ b/john/Dockerfile @@ -0,0 +1,37 @@ +FROM debian:sid +MAINTAINER Jessica Frazelle + +RUN apt-get update && apt-get install -y \ + libgmp10 \ + libgomp1 \ + libkrb5-3 \ + libnss3 \ + libssl1.0.0 \ + openssl \ + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* + +RUN buildDeps=' \ + ca-certificates \ + gcc \ + git \ + libgmp-dev \ + libkrb5-dev \ + libnss3-dev \ + libssl-dev \ + make \ + ' \ + && set -x \ + && apt-get update && apt-get install -y $buildDeps --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* \ + && git clone https://github.com/magnumripper/JohnTheRipper.git /usr/src/johntheripper \ + && cd /usr/src/johntheripper/src \ + && ./configure \ + && make \ + && cp -r ../run/* /usr/local/bin/ \ + && rm -rf /usr/src/johntheripper \ + && apt-get purge -y --auto-remove $buildDeps + +WORKDIR /root + +ENTRYPOINT [ "john" ]