Code Monkey home page Code Monkey logo

Comments (4)

Meatballs1 avatar Meatballs1 commented on August 22, 2024

There is some details on running here https://github.com/fireeye/gocrack/blob/master/docs/administrator/docker.md, but doesn't appear correct as it doesn't map to /opt/gocrack etc.

Adding user `gocrack' ...
Adding new group `gocrack' (1000) ...
Adding new user `gocrack' (1000) with group `gocrack' ...
Creating home directory `/home/gocrack' ...
Copying files from `/etc/skel' ...
/usr/local/bin/entrypoint.sh: line 4: cd: /opt/gocrack/: No such file or directory
{"time":"2018-01-11T12:31:15Z","level":"fatal","error":"open /opt/gocrack/config.yaml: no such file or directory","message":"Failed to load configuration file"}

from gocrack.

tankbusta avatar tankbusta commented on August 22, 2024

When you say you added apt-get install to the Dockerfile, which one? It's located here. You should also have git installed on your local host as the Makefile does a checkout of the hashcat code there.

Regarding the directory issue - you are correct. The runscripts for the docker container are expecting a config in /opt/gocrack/config.yaml but the documentation says /var/lib/gocrack - I'll go ahead and update the documentation to fix that.

Regarding the permissions/user issue... when a docker container drops files, they're usually owned by root hence why the documentation tells you to pass -e USER_ID=$(echo "$UID") when you create a container so that the container can create a gocrack user within the container that has the same UID as the user you're running as.

from gocrack.

Meatballs1 avatar Meatballs1 commented on August 22, 2024

git is missing from https://github.com/fireeye/gocrack/blob/master/docker/Dockerfile.hashcat.ubuntu - The hashcat makefile calls out to git

from gocrack.

tankbusta avatar tankbusta commented on August 22, 2024

Git has now been added to the Hashcat Build Container

from gocrack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.