Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Use check password script

Block password change if it appears in haveibeenpwnd

install haveibeenpwnd with command : pip3 install haveibeenpwnd

Add script in /scripts

Add in smb.conf :

check password script = python3 /scripts/check_password_hibpwnd.py

Enable complexity :

samba-tool domain passwordsettings set --complexity=on

Restart Samba

Test

python3 /scripts/check_password_hibpwnd.py

Enter test password

Audit Existing Password

List user hashes then test them with haveibeenpwnd

Test

apt-get install python3-pycryptodome

python3 /scripts/audit_password.py

About

Use haveibeenpwnd with samba

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages