EyeWitness is designed to take screenshots of websites provide some server header info, and identify default credentials if known.
It is designed to run on Kali Linux. It will auto detect the file you give it with the -f flag as either being a text file with URLs on each new line, nmap XML output, or nessus XML output.
The –timeout flag is completely optional, and lets you provide the max time to wait when trying to render and screenshot a web page.
Setup
Also Read – Fail2Ban : Daemon To Ban Hosts That Cause Multiple Authentication Errors
Usage
./EyeWitness.py -f filename –timeout optionaltimeout –open (Optional)
Examples
./EyeWitness -f urls.txt –web
./EyeWitness -x urls.xml –timeout 8 –headless
Docker
Now you can execute it in a docker container and prevent you from install unnecessary dependencies in your host machine.
Usage
docker build –build-arg user=$USER –tag eyewitness .
docker run \
–rm \
-it \
-e DISPLAY=$DISPLAY \ # optional flag in order to use vnc protocol
-v /tmp/.X11-unix:/tmp/.X11-unix \ # optional flag in order to use vnc protocol
-v /path/to/results:/tmp/EyeWitness \
eyewitness \
EyeWitness_flags_and_input
Example #1 – headless capturing
docker run \
–rm \
-it \
-v ~/EyeWitness:/tmp/EyeWitness \
eyewitness \
–web \
–single http://www.google.com
The xargs command in Linux reads items from standard input and passes them as arguments to another…
The locate command in Linux searches for files and directories by name. It queries a pre-built database…
Most modern Linux distributions use systemd as the default service manager. Knowing how to list…
Truncating a file in Linux means removing its contents while leaving the file itself in…
The ss command in Linux lists open sockets and active network connections. It replaced the deprecated netstat command and…
The ftp command in Linux connects to a remote FTP server and transfers files. FTP transmits everything…