AlessandroZ / LaZagne

Credentials recovery project
GNU Lesser General Public License v3.0
9.52k stars 2.04k forks source link

Chromium Support - Fixing variable type #539

Closed HansMartin closed 3 years ago

HansMartin commented 3 years ago

When running LaZagne with the -vv option, trying to dump chromium (edge) password, this results in the following error message:

[!] Traceback (most recent call last):
    File "LaZagne\Windows\lazagne\softwares\browsers\chromium_based.py"
      if password and password.startswith(b'v10'): # chromium > v80
AttributeError: 'buffer' object has no attribute 'startswith'

When converting the password variable to type string, everything works fine. Tested for Python2.7 and Python3.9.

HansMartin commented 3 years ago

Edit: This issue is only present for python2.7 not for python3, my fault.