initstring / lyricpass

Password wordlist generator using song lyrics for targeted bruteforce audits / attacks. Useful for penetration testing or security research.
GNU General Public License v3.0
87 stars 23 forks source link

Error in format_lyrics when run w/o "--punctuation" argument #1

Closed robellegate closed 5 years ago

robellegate commented 6 years ago

When the script is run without the --punctuation argument, the following error message is observed:

Traceback (most recent call last):
  File "lyricpass.py", line 128, in <module>
    main()
  File "lyricpass.py", line 119, in main
    lyrics = format_lyrics(lyrics)                      # format lyrics as specified in arguments
  File "lyricpass.py", line 90, in format_lyrics
    formatted = [''.join(c for c in s if c not in string.punctuation) for s in formatted]
  File "lyricpass.py", line 90, in <listcomp>
    formatted = [''.join(c for c in s if c not in string.punctuation) for s in formatted]
  File "lyricpass.py", line 90, in <genexpr>
    formatted = [''.join(c for c in s if c not in string.punctuation) for s in formatted]
TypeError: 'in <string>' requires string as left operand, not int
robellegate commented 6 years ago

Accidentally opened without description of issue. Reopening now.

initstring commented 6 years ago

Can you let me know the exact command you ran? Thanks!

initstring commented 5 years ago

Did not hear back, closing this old issue.