crak
A password file dictionary based password cracker
requirements
- linux shadow password file containing passwords to attack
- 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
Release files for crak 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| crak-0.0.2.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| crak-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.1 kB
Release files / crak-0.0.2.tar.gz
| Download URL | crak-0.0.2.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ece6eb39a75d32572e0355add7e9f8c3e837cae924bb231a91db736e65bac58
|
|
BLAKE2b-256 checksum How to use checksums |
2e4eb6b0be56b82634a7da8c61a71231c853932befe8d2c958901d8e88f52ec3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.9.6 Darwin/20.6.0
|
Release files / crak-0.0.2-py3-none-any.whl
| Download URL | crak-0.0.2-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
90984993d5f7c069a92046aeec09ae72ae5b67ba322efc03570ce5761826ca41
|
|
BLAKE2b-256 checksum How to use checksums |
7e3e732218b4d04766477fce6ce3c61ac967a7c3d27f45a46c84ee1f61106ea5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.9.6 Darwin/20.6.0
|