Skip to content

darkerego/bashword

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 

Repository files navigation

bashword

====================

A Bash-Powered Password Manager

Usage:

  • First run: create a config file
anon@dev:~$ bash bashword.bash -g 10
╔╗ ╔═╗╔═╗╦ ╦╦ ╦╔═╗╦═╗╔╦╗
╠╩╗╠═╣╚═╗╠═╣║║║║ ║╠╦╝ ║║
╚═╝╩ ╩╚═╝╩ ╩╚╩╝╚═╝╩╚══╩╝

###### Bash powered password manager ~ Darkerego 2017
DEMO: Generating a password....

./bashword -g
No config file found, would you like to create one now? (yes/no) : yes
Enter a unique string to be encrypted with your passphrase. This string must be decrypted every time you generate a new password or decrypt your database : This is my string!
File `userkey.gpg' exists. Overwrite? (y/N) y
Your unique user string : 
jA0EAwMCFSAVo0XOPylgyS6t3pHAVbhvYx7w7YfA2jWxrcltfW4dlttCuLSKvTGxqTKrr8/2EkXKAqNNqHVm
Your config file has been created succesfully
#### Your password: ####
>tQ88QWXE\
Enter a password description :
this is my first password
Enter your passphrase : 
Output saved to passwords file
anon@dev:~$ bash bashword.bash -d
╔╗ ╔═╗╔═╗╦ ╦╦ ╦╔═╗╦═╗╔╦╗
╠╩╗╠═╣╚═╗╠═╣║║║║ ║╠╦╝ ║║
╚═╝╩ ╩╚═╝╩ ╩╚╩╝╚═╝╩╚══╩╝
Bash powered password manager ~ Darkerego 2017
Found /home/anon/.bashword/bashword.conf , importing your configuration...
Enter your passphrase : 
------------------------------------------------
18:14 06/30/2017 : this is my first password : >tQ88QWXE\
-----------------------------------------------
Press enter to reset the console...

  • Generate a password and save to encrypted file
anon@dev:~/Dev$ bash ./bashword -g 12
#### Your password: ####
o>}{A#lo1c1y
Enter a password description
testing this script
Enter your passphrase: 
Output saved to passwords file
  • Decrypt passwords stored in ~/.encpass
DEMO: Opening your password database....

anon@dev:~/Dev$ bash bashword -d
Enter your passphrase : 
------------------------------------------------
17:14 06/29/2017 : testing this script : o>}{A#lo1c1y
17:14 06/29/2017 : test : u4[l(NXRVW
17:15 06/29/2017 : whatever account : u=]wE

Note : this is a POC , do not use in production without caution

About

Bash PW Manager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages