Skip to content

improved overall script added new features #273

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 17, 2023

Conversation

LpCodes
Copy link
Contributor

@LpCodes LpCodes commented Mar 15, 2023

Improved overall script by adding the following:

Added error handling: The script currently only checks for a FileNotFoundError. Added more error handling to handle different types of errors that may occur.

Added a way to output the results: Currently, the script prints the results to the console. Added an option to output the results to a file.

Added support for other operating systems: The script currently only works on Windows. Added support for other operating systems like macOS and Linux.

Added the ability to delete Wi-Fi profiles: Added a function to delete Wi-Fi profiles in case the user wants to remove saved profiles that they no longer use.

Copy link
Contributor Author

@LpCodes LpCodes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this updated code uses secrets.choice() to generate random characters, which is a more secure method than using random.sample(). It also includes a main() function that encapsulates the code for generating passwords, making it more modular and easier to read. Finally, it includes error handling to ensure that the user inputs are valid integers.

@larymak
Copy link
Owner

larymak commented Mar 17, 2023

Thanks for the detailed explanation given. Good job.

@larymak larymak merged commit f41a498 into larymak:main Mar 17, 2023
@LpCodes LpCodes deleted the wifipassword branch April 7, 2023 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants