Giter Site home page Giter Site logo

ctxis / p0rk-crackling Goto Github PK

View Code? Open in Web Editor NEW

This project forked from akampjes/p0rk-crackling

1.0 12.0 1.0 388 KB

Distributed password cracker for operating over high latency networks of loosely coupled hosts.

License: BSD 3-Clause "New" or "Revised" License

Python 83.25% JavaScript 10.94% CSS 0.03% HTML 5.79%

p0rk-crackling's Introduction

p0rk-crackling

Distributed password cracker for operating over high latency networks of loosely coupled hosts. Main components used are django for the interface, celery for the communication and hashcat for the actual password cracking.

  • P0rk will manage everything, run this on one server (doesn't need a GPU).
  • Run Crackling on each of your GPU instances (one per server).

alt text

Setting up p0rk

Requirements:

System packages

  • rabbitmq-server
  • your database of choice (postgresql, mysql or sqllite)

Python packages.

You can use pip install to download them

  • django
  • django-celery
  • django-dajax
  • database package, eg. psycopg2 (for postgresql)

Setup

Create new a new user and database for p0rk eg.

$ psql template1
> create user p0rk with password 'p0rkpassword';
> create database p0rkcrackling;
> grant all privileges on database p0rkcrackling to p0rk;

Remember to set database setings in the p0rk/settings.py file.

Tell p0rk to setup the database

$ python manage.py syncdb

Keep in mind that amqp running on rabbitmq should probably have a password set.

Security note

Currently there is no security authentication or authorization built into p0rk-crackling. I recommend that you run it only on trusted networks or within a VPN.

Running

To run the web interface, just for testing or a low usage/no secruity server, run python manage.py runserver from within the django root folder.

To collect results you need to run a celery worker process, by default (can change in the settings.py file) it will run every seven seconds. python manage.py celery worker -B -l info -Q beats

Setting up crackling

Requirements

Python packages

  • celery

Binary

Setup

config.py

  • Configure CRACKLING_BROKER, CRACKLING_BACKEND to point to the location of the rabbitmq amqp server.
  • Configure HASHCAT_PATH, OCLLITE_PATH with the location of hashact and oclhashcat-lite respectively.

hashcat

  • Run hashcat and ocllite and accept the licence so that the eula.accepted file is created in the same folder as the hashcat binary.

Running

Back one directory from the crackling folder (in p0rk-crackling/ if you just grabbed off github) run celery worker --app=crackling -l info -Q crackling

p0rk-crackling's People

Contributors

akampjes avatar

Stargazers

Ben avatar

Watchers

James Cloos avatar Patrick Craston avatar Tom Forbes avatar Nik avatar  avatar Diego Gaustein avatar Lefteris Nikoltsios avatar sven avatar  avatar Andy Monaghan avatar  avatar  avatar

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.