Skip to content

mrfoxyfoxy/mkRadPwdHash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

mkRadPwdHash

A simple python class and cli tool to generate salted password-hashes for FreeRadius.

How it works

Start the following cli dialog:

python3 mkradpasswd>mkRadPwdHash.py -a sha512

Enter your password:
Enter your password again:

SSHA2-384-Password := "/syZi0m+fnK/BPh9yrFY85gOaiMCeycQt3AmI0DxoKRUmNBTxcoGIa7odiRavKWB31zVzDZVmaYyzZWrZyH96w=="

Copy and paste output line to your FreeRadius config with the username as prefix:

user SSHA2-384-Password := "/syZi0m+fnK/BPh9yrFY85gOaiMCeycQt3AmI0DxoKRUmNBTxcoGIa7odiRavKWB31zVzDZVmaYyzZWrZyH96w=="

Used Modules

  • hashlib
  • base64
  • secrets
  • ArgumentParser
  • getpass

Licence

This project is licensed under the GNU General Public License v3.0.

About

A simple python class and cli tool to generate salted password-hashes for FreeRadius.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages