https://github.com/0x1nf3cted/pwdgen
pwdgen: A simple command-line tool written in C for generating random passwords
https://github.com/0x1nf3cted/pwdgen
c cli linux password password-generator password-manager security
Last synced: 6 months ago
JSON representation
pwdgen: A simple command-line tool written in C for generating random passwords
- Host: GitHub
- URL: https://github.com/0x1nf3cted/pwdgen
- Owner: 0x1nf3cted
- Created: 2023-09-19T08:37:31.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-20T21:15:26.000Z (almost 3 years ago)
- Last Synced: 2025-04-07T18:44:28.332Z (about 1 year ago)
- Topics: c, cli, linux, password, password-generator, password-manager, security
- Language: C
- Homepage:
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Password Generator
## Introduction
This is a simple password generator written in C. It allows you to generate random passwords based on various criteria, such as the length of the password and the types of characters to include (uppercase letters, lowercase letters, digits, and special characters).
## Usage
### Prerequisites
Before running the program, ensure that you have a C compiler installed on your system.
### Building the Program
Compile the program using a C compiler. For example, using GCC:
```shell
gcc -o main main.c
```
### Running the Program
Run the program with the desired password length and requirements. The requirements are specified as a string of flags:
- -u: Include uppercase letters (A-Z)
- -l: Include lowercase letters (a-z)
- -d: Include digits (0-9)
- -s: Include special characters (!@#$%^&*()-_=+[]{};:',.<>?/)
### Example usage:
./main [LENGTH] [OPTIONS]
```shell
./main 12 -ulds
```
This command will generate a random password with a length of 12 characters, including uppercase letters, lowercase letters, digits, and special characters.
## Output
The program will output the generated password to the console.
## License
This project is licensed under the MIT License.
## Contributions
This project is open for contributions! If you'd like to contribute to the development or improvement of this password generator, feel free to fork the repository and submit pull requests.