Skip to main content

Bruteforce password cracker

Project description

crak

A password file dictionary based password cracker

requirements

  1. linux shadow password file containing passwords to attack
  2. file containing word dictionary.

usage

installation

pip install crak

help

crak -h
usage: crak [-h] [--version] [-d WORDDICT] [-u USERNAME] shadowfile

Perform a dictionary crack on a list of encrypted passwords using a wordlist

positional arguments:
  shadowfile            Shadow password file containing crypted passwords

optional arguments:
  -h, --help            show this help message and exit
  --version             prints version information
  -d WORDDICT, --worddict WORDDICT
                        Word dictionary files to use in attack
  -u USERNAME, --username USERNAME
                        specific username - if not defined then all users in
                        shadow file will be attempted

list users

will list all valid users in the shadow file and is useful to see what username to target specifically

crak shadow 

-=( crak v 0.0.1 )=-

list of usernames in shadow file
                                                        password
username                                                        
root           $6$QlJt0cnr$hmgN/fzUrHFFI1SaGXVNzE060TPuwsZdzP...
backup         $6$Tye3KuC5$rVIT3u5M9IhZZI.jRanteGT3o7DbkLFWb/...
allison        $6$sPsSvR2J$wk59pi4or6QR5IobArTZpn4k7i2jZQ07pY...
paul           $6$YGG4oFLp$avrVGY6.S59aApmCY/60A7AWfGDBh/zI7L...
dr_balustrade  $6$3kgge6ym$OcIOZS8bJy41YsLYXToOW2Ag3imG1KEXkP...

dictionary attack all users

will run a dictionary attack against all the valid users in the shadow file

crak shadow -d dicttest.txt

-=( crak.py v 0.0.1 )=-

starting to crack passwords for all users
No password found: root
No password found: backup
No password found: allison
No password found: paul
*** FOUND PASSWORD ***
Username: dr_balustrade
Password: pinky
**********************

Specify user to perform brute force attack on

Will target a specific user

crak shadow -d dicttest.txt -u dr_balustrade

-=( crak v 0.0.1 )=-

starting to crack password for user: dr_balustrade
*** FOUND PASSWORD ***
Username: dr_balustrade
Password: pinky
**********************

Display version

displays the current version

crak --version
crak v0.0.1

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crak-0.0.2.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

crak-0.0.2-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file crak-0.0.2.tar.gz.

File metadata

  • Download URL: crak-0.0.2.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.9.6 Darwin/20.6.0

File hashes

Hashes for crak-0.0.2.tar.gz
Algorithm Hash digest
SHA256 5ece6eb39a75d32572e0355add7e9f8c3e837cae924bb231a91db736e65bac58
MD5 756297d99c079c9038377ee329d49f03
BLAKE2b-256 2e4eb6b0be56b82634a7da8c61a71231c853932befe8d2c958901d8e88f52ec3

See more details on using hashes here.

File details

Details for the file crak-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: crak-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.9.6 Darwin/20.6.0

File hashes

Hashes for crak-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 90984993d5f7c069a92046aeec09ae72ae5b67ba322efc03570ce5761826ca41
MD5 a3d0994a8275562aac4a4c8022a34ce5
BLAKE2b-256 7e3e732218b4d04766477fce6ce3c61ac967a7c3d27f45a46c84ee1f61106ea5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page