Coder Social home page Coder Social logo

crackerjackservice's Introduction

Getting started with the CrackerJack service

Follow the steps below to bulild and use crackerjack in a docker container supported by GPU (Nvidia).

How to build the Docker image

To get started, clone the repository and use Docker to build the Docker image.

sudo docker build . -t hweb --network=host

How to export the Docker image

You can save a Docker image to copy to another machine by using the save command.

sudo docker save --output="hweb_latest.tar" hweb:latest

The image will be saved as a tar file.

How to import the Docker image

To use the image on a new machine you can import the content from an archive.

sudo docker load -i ./hweb_latest.tar

How to run the Docker container

Create the HWEB folder to use it together with the crackerjack service. Create folders listed below: hashcat, rule, hashfile, wordlistst, masks.

  • hashfile is intended for large hashfiles.
  • rule (and masks) is a folder for hashcat rules files.
  • wordlists is a folder containing password dictionaries

Start your container using the docker run command.

sudo docker run -d -p 8080:5000 -v "$PWD/HWEB":/root/HWEB  hweb:latest

Configuration for the service

Configure the parameters to work with the service according to the picture.

image

CUDA configuration

Use the following comands to set up CUDA.

distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \
   && curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - \
   && curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list
sudo apt-get update
sudo apt-get install -y nvidia-docker2
sudo systemctl restart docker

Download dependancies for offline installation

apt-get download $(apt-cache depends --recurse --no-recommends --no-suggests --no-conflicts --no-breaks --no-replaces --no-enhances nvidia-docker2 | grep "^\w" | sort -u | grep -v i386)

Run with gpu support

docker run -d --gpus all -p 8080:5000 -v "$PWD/HWEB":/root/HWEB  hweb:latest

NOTE

1. Base docker image should be the same as the host OS [nvidia/cuda:11.5.1-runtime-ubuntu18.04]
2. To use CUDA change the driver before installation. The currrent driver is xserver-xorg-video-nvidia-470

crackerjackservice's People

Contributors

dxrvs avatar eftechwriter avatar

Watchers

 avatar

Forkers

eftechwriter

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.