Skip to content

PyCrypto 2.x is unmaintained, obsolete, and contains security vulnerabilities #26

@miiichael

Description

@miiichael

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions