Skip to content

Appending to the output file rather than resetting the whole file. #5

Description

@jalotra

If a user runs the same passgen.py with different tags and names, I want new tag -a to be made that appends new passwords to the output.txt instead of clearing and then rewriting the whole file.

How to reproduce:
python passgen.py roger -n -f -o Roger_all_combinations.txt
wc -w roger_all_combinations.txt // Will give 38
python passgen.py roger -n -f -o roger_all_combinations.txt
wc -w roger_all_combinations.txt // Will give 192

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions