Skip to content

Commit

Permalink
Merge pull request #42 from f0cker/v0.1.2
Browse files Browse the repository at this point in the history
V0.1.2
  • Loading branch information
f0cker authored Dec 29, 2023
2 parents 675a5b6 + ba6f571 commit 27806b8
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 18 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
Changelog
=========
v0.1.2
------------
- Fixed issues #40/#41, updated nvidia docker config and flask-login
- Updated Wiki install guide

v0.1.1
------------
- Updated python libs, docker image
Expand Down
8 changes: 7 additions & 1 deletion docker-compose.nvidia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ services:
context: ./build
dockerfile: Dockerfile
image: "nvidia-ubuntu"
deploy:
resources:
reservations:
devices:
- driver: nvidia
capabilities: [gpu]
count: all
ports:
- "127.0.0.1:8080:8080"
depends_on:
Expand All @@ -28,7 +35,6 @@ services:
- /var/crackq/:/var/crackq
- ./crackq:/opt/crackq/build/crackq/
stdin_open: true
runtime: nvidia
user: crackq
tty: true
environment:
Expand Down
2 changes: 1 addition & 1 deletion docker/common/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Flask-SQLAlchemy==3.0.5
SQLAlchemy-Utils==0.41.1
flask-talisman==0.7.0
pysaml2==7.3.1
Flask-Login==0.6.2
Flask-Login==0.6.3
Flask-Cors==3.0.9
Flask-SeaSurf==1.1.1
Flask-Migrate==3.0.1
Expand Down
16 changes: 8 additions & 8 deletions docker/nvidia/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nvidia/cuda:12.2.0-runtime-ubuntu20.04
FROM nvidia/cuda:12.3.1-devel-ubuntu20.04

ENV TZ=Europe/London
ENV DEBIAN_FRONTEND noninteractive
Expand All @@ -12,13 +12,13 @@ ENV PYTHONPATH=$DOCKYARD:/opt/crackq/build/crackq
# Update & install packages for installing hashcat
RUN apt-get update && \
apt-get install -y wget p7zip gcc g++ make build-essential git libcurl4-openssl-dev libssl-dev zlib1g-dev python3.8 \
python3.8-dev python3-pip libldap2-dev libsasl2-dev libssl-dev xmlsec1 libxmlsec1-openssl

python3.8-dev python3-pip libldap2-dev libsasl2-dev libssl-dev xmlsec1 libxmlsec1-openssl \
&& apt-get clean
# Copy the code to the build dir
COPY . $DOCKYARD
COPY . "$DOCKYARD"
# Run install script to setup hashcat/pyhashcat
WORKDIR $DOCKYARD
RUN $DOCKYARD/setup.sh
WORKDIR "$DOCKYARD"
RUN "$DOCKYARD"/setup.sh

EXPOSE 6379
EXPOSE 8081
Expand All @@ -27,7 +27,7 @@ EXPOSE 8080
ENV LANG "C.UTF-8"
ENV LC_ALL "C.UTF-8"

RUN chown -R 1111:1111 $DOCKYARD/
RUN chown -R 1111:1111 "$DOCKYARD"/
USER crackq
WORKDIR $DOCKYARD/
WORKDIR "$DOCKYARD"/
CMD ["/usr/local/bin/circusd", "/opt/crackq/build/circus.ini"]
16 changes: 8 additions & 8 deletions docker/opencl/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ RUN apt update
RUN apt install intel-oneapi-runtime-libs intel-oneapi-runtime-opencl -yq

ENV DOCKYARD=/opt/crackq/build
ENV PYTHONPATH=$DOCKYARD:/opt/crackq/build/crackq
ENV PYTHONPATH="$DOCKYARD":/opt/crackq/build/crackq

# Update & install packages for installing hashcat
RUN apt-get update && \
apt-get install -y wget p7zip gcc g++ make build-essential git libcurl4-openssl-dev libssl-dev zlib1g-dev python3.8 \
python3.8-dev python3-pip libldap2-dev libsasl2-dev libssl-dev xmlsec1 libxmlsec1-openssl

python3.8-dev python3-pip libldap2-dev libsasl2-dev libssl-dev xmlsec1 libxmlsec1-openssl \
&& apt-get clean
# Copy the code to the build dir
COPY . $DOCKYARD
COPY . "$DOCKYARD"
# Run install script to setup hashcat/pyhashcat
WORKDIR $DOCKYARD
RUN $DOCKYARD/setup.sh
WORKDIR "$DOCKYARD"
RUN "$DOCKYARD"/setup.sh

EXPOSE 6379
EXPOSE 8081
Expand All @@ -33,7 +33,7 @@ EXPOSE 8080
ENV LANG "C.UTF-8"
ENV LC_ALL "C.UTF-8"

RUN chown -R 1111:1111 $DOCKYARD/
RUN chown -R 1111:1111 "$DOCKYARD"/
USER crackq
WORKDIR $DOCKYARD/
WORKDIR "$DOCKYARD"/
CMD ["/usr/local/bin/circusd", "/opt/crackq/build/circus.ini"]

0 comments on commit 27806b8

Please sign in to comment.