[Errno 8] Exec format error: '/usr/local/bin/geckodriver'
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]
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
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.
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.?
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.
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
@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?