berzerk0 / BEWGor

Bull's Eye Wordlist Generator - Does your password rely on predictable patterns of accessible info?
GNU General Public License v3.0
403 stars 70 forks source link

createNonZeroDays just removes all zeroes! #2

Closed berzerk0 closed 7 years ago

berzerk0 commented 7 years ago

The intention of this function was to create alternate date forms.

What it was supposed to do: 02/02 > 2/2 20/02 > 20/2

What it actually did: 02/02 > 2/2 20/20 > 2/2

Just removed all the zeroes! I had originally done it the right way, with care - but then upon revisiting I thought "What is this inefficient part? Why not just purge all the zeroes?"

Then today I was explaining it to a friend and realized it would ruin his birthday! Fixed now.

berzerk0 commented 7 years ago

No longer ruins your friend's birthday.