Skip to content

Namirabboud/store_in_database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

store_in_database

store informations like usernames and passwords from text file in sqlite database.

Having a text file containing usernames and passwords that u wish to store
in sqlite database.

1- First information in text file must have a specific layout

===>"account name"
username: "username"
password: "password"

===> "account name2"
username: "username2"
password: "password2"
...

2- Compile the source code with sqlite3 lib
gcc -o store store.c -lsqlite3

3- Enter the name of the file that containes the informations as an argument
./store 'full path/file name'

4- When running the script first u will be asked for the string that defines the account name
in the example above "===>" is what define the account name.

5- Then you will be asked for the string that define the username
in the example above "username:" is what define the username.

6- And "password:" is what define the password.

7- Finaly full path and database name then will be asked for.

Enjoy!

About

store informations like usernames and passwords from text file in sqlite database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages