thewh1teagle / rookie

Load cookies from your web browsers
https://crates.io/crates/rookie
MIT License
207 stars 18 forks source link

[Bug]: RuntimeError: lsass.exe not found! #72

Closed JoeanAmier closed 3 weeks ago

JoeanAmier commented 3 weeks ago

What happened?

Failed to read cookie.

Steps to reproduce

import rookiepy

print(rookiepy.chrome())

What browsers are you seeing the problem on?

Chrome, Edge

Relevant log output

Traceback (most recent call last):
  File "C:\Users\youyq\AppData\Roaming\JetBrains\PyCharm2024.2\scratches\scratch_2.py", line 3, in <module>
    print(rookiepy.chrome())
          ^^^^^^^^^^^^^^^^^
RuntimeError: lsass.exe not found!

Location:
    rookie-rs\src\windows\appbound\impersonate.rs:91:3
thewh1teagle commented 3 weeks ago

Chrck if lsass.exe exists in task manager and try to reboot. What's the os version?

thewh1teagle commented 3 weeks ago

Try this version:

pip install rookiepy==0.5.6b0
JoeanAmier commented 3 weeks ago

Using version 0.5.6b0 can successfully read.

thewh1teagle commented 3 weeks ago

Fixed in v0.5.6