Skip to content

A bash script that tries to discover current user password by brute-forcing it using a list of common passwords.

Notifications You must be signed in to change notification settings

marcobellaccini/chkpwd_buddy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

chkpwd_buddy

About chkpwd_buddy

chkpwd_buddy is a bash script that tries to discover current user password by brute-forcing it using a list of common passwords.

It checks all the list's passwords using unix_chkpwd (the same PAM component used by pam_unix, which, in turn, is used by login, xscreensaver etc.).

Beware, most systems will log all the failed password checks.

Author: Marco Bellaccini - marco.bellaccini(at!)gmail.com

License: Creative Commons CC0 1.0

Password Lists

You can get some good password lists here.

Of course, you can make your custom lists (just list the passwords one-per-line).

Usage example

Get a password list:

foouser@foohost:~$ wget https://raw.githubusercontent.com/danielmiessler/SecLists/master/Passwords/10_million_password_list_top_1000.txt

Check that the script is executable:

foouser@foohost:~$ chmod u+x chkpwd_buddy.sh

Run the script:

foouser@foohost:~$ ./chkpwd_buddy.sh 10_million_password_list_top_1000.txt

Wait for the result (some seconds in this case):

SUCCESS: foouser password is "music" (and is in "10_million_password_list_top_1000.txt")!

About

A bash script that tries to discover current user password by brute-forcing it using a list of common passwords.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages