Skip to content

Instantly share code, notes, and snippets.

@thisiskeanyvy
Created March 8, 2021 08:51
Show Gist options
  • Save thisiskeanyvy/b9463ad18e40cfc356c7d2e86db5387a to your computer and use it in GitHub Desktop.
Save thisiskeanyvy/b9463ad18e40cfc356c7d2e86db5387a to your computer and use it in GitHub Desktop.
Keygen pour la génération d'une wordist de date d'anniversaire avec 8char.
# - Programme par: Keany Vy KHUN
# - Projet: Birthdeath
# - Description: Programme d'attaque par force brute pour date d'anniversaire
# - Status: Fonctionnel
from calendar import monthrange
year = 2005
month = 1
day = monthrange(year, month)[1]
def main():
global month
for i in range(monthrange(year, month)[1]):
zero_month = ""
zero_day = ""
if i+1 <= 9:
zero_day = "0"
if month <= 9:
zero_month = "0"
password = str(year)+zero_month+str(month)+zero_day+str(i+1)
print(password)
if i+1 == monthrange(year, month)[1]:
month = month + 1
if month <= 12:
main()
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment