EyeWitness icon indicating copy to clipboard operation
EyeWitness copied to clipboard

[Errno 8] Exec format error: '/usr/local/bin/geckodriver'

Open crankwankers67 opened this issue 5 months ago • 3 comments

Unsure of what to make of this error when running single URL. I am asked this before the error occurs:

mkdir: cannot create directory ‘/home/XYZ/Documents/EyeWitness/’: File exists Directory Exists! Do you want to overwrite? [y/n]

crankwankers67 avatar Nov 20 '25 14:11 crankwankers67

Double check that you have permission to write in that folder. Also-- what was the command line invocation?

You can try to force the report into a specified sub directory with -d

Relkci avatar Nov 24 '25 21:11 Relkci

The command line is ./EyeWitness.py --single "URL" -d ~/Documents/EyeWitness/, and I changed where I was putting the report, but I am continuously getting the message "[Errno 8] Exec format error: '/usr/local/bin/geckodriver'" which makes me think that is the main problem has something to do with this error. I forced the report to my desktop, but all I'm getting is a java script file, when I believe I should be expecting an html file.

crankwankers67 avatar Nov 26 '25 16:11 crankwankers67

Can you give the full output then so we can see where the error occurs, the exact command, the location you're running from, the level of access you're running as, etc.?

nidem avatar Dec 16 '25 18:12 nidem

You might also want to check the geckodriver itself, this issue has come up a bunch in the past when not using the latest version of it.

ChrisTruncer avatar Dec 16 '25 18:12 ChrisTruncer

Experiencing the same issue. Command - /EyeWitness.py --single user -d ~/Documents/EyeWitness output- [Errno 8] Exec format error: '/usr/local/bin/geckodriver' I have downloaded the following geckodriver - geckodriver-v0.36.0-linux-aarch64.tar.gz I'm running from the Eyewitness directory that the EyeWitness.py file resides I'm running as the owner and tried chmod 777 on the Eyewitness directory but no results

If anything else is needed to resolve this please let me know. Thank you

byoungredhawk avatar Dec 17 '25 01:12 byoungredhawk

@crankwankers67 @byoungredhawk Which distro (ubuntu/debian/kali, etc) are you using? Which platform (x86/arm,etc) Can you also confirm you are running inside the venv that the setup.sh prepares?

Relkci avatar Dec 19 '25 23:12 Relkci