RedSiege / EyeWitness

EyeWitness is designed to take screenshots of websites, provide some server header info, and identify default credentials if possible.
https://www.christophertruncer.com/eyewitness-usage-guide/
GNU General Public License v3.0
5.01k stars 849 forks source link

Process unexpectedly closed #607

Closed z0kk closed 1 year ago

z0kk commented 1 year ago

OS Used - ALL Information (architecture, linux flavor, etc.)

Ubuntu 22.04.1 LTS x86_64 Linux ip-172-31-35-240 5.15.0-1028-aws #32-Ubuntu SMP Mon Jan 9 12:28:07 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Pastebin link to error you are encountering

https://pastebin.com/3BvJKmXN

Expected behavior (vs. what you encountered)

Ran the following:

/opt/eyewitness/EyeWitness.py --web --jitter 5 --timeout 10 --no-prompt -f urls.txt

Expected EyeWitness to attempt to take screenshots of the webpages.

Any additional information

Fresh install (haven't used it in quite a while). Let me know if there's any additional info you need.

WillPlatnick commented 1 year ago

Encountered the same issue from master branch on latest Kali

z0kk commented 1 year ago

I looked at geckodriver.log and saw these:

1674757449263   mozrunner::runner   INFO    Running command: "/usr/bin/firefox" "--marionette" "--headless" "--remote-debugging-port" "58145" "--remote-allow-hosts" "localhost" "-no-remote" "-profile" "/tmp/rust_mozprofileE0a7J1"
/user.slice/user-1000.slice/session-3.scope is not a snap cgroup

it looks like this is the issue. It occurs if you sudo su - <user> and then attempt to run it. The error doesn't occur if you run it as the user you log in as. Alternatively, run sudo loginctl enable-linger <user>. However, even though the error no longer occurs, EyeWitness just hangs. tcpdump shows that no traffic is being sent to the target.

@WillPlatnick, I'd be curious if you experience the same thing since it may be an issue with my environment.

ChrisTruncer commented 1 year ago

Closing since there is a proposed fix