GoToolSharing / passfinder

Generate password wordlists with customizable options for security testing !
https://github.com/GoToolSharing/passfinder
GNU General Public License v3.0
6 stars 2 forks source link

[BUG] Content append to output file #10

Closed QU35T-code closed 2 weeks ago

QU35T-code commented 2 weeks ago

Describe the bug If the same command is executed 2 times in the same file, passfinder will append to the file instead of overwriting its contents.

To Reproduce

> passfinder company -n passfinder --year -o passfinder.txt

passfinder
passfinder2024
> passfinder company -n passfinder --year -o passfinder.txt

passfinder
passfinder2024
passfinder
passfinder2024

Expected behavior Display a message that the file already exists and overwrite the file contents if so.