PyCrypto 2.x is unmaintained, obsolete, and contains security vulnerabilities
miiichael opened this issue · comments
Michael commented
Also, it doesn't work on current python:
michael@joyola:~/dl/chrome_password_grabber$ python3 chrome.py
Traceback (most recent call last):
File "/srv/scratch/users/michael/Downloads/chrome_password_grabber/chrome.py", line 157, in <module>
main()
File "/srv/scratch/users/michael/Downloads/chrome_password_grabber/chrome.py", line 151, in main
chrome_pwd = Chrome()
^^^^^^^^
File "/srv/scratch/users/michael/Downloads/chrome_password_grabber/chrome.py", line 113, in __init__
self.chrome_os = ChromeLinux()
^^^^^^^^^^^^^
File "/srv/scratch/users/michael/Downloads/chrome_password_grabber/chrome.py", line 90, in __init__
self.key = kdf.PBKDF2(my_pass, salt, length, iterations)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/michael/.local/lib/python3.11/site-packages/Crypto/Protocol/KDF.py", line 117, in PBKDF2
for j in xrange(count-1):
^^^^^^
NameError: name 'xrange' is not defined. Did you mean: 'range'?
xrange() has never been a thing in python3.