Preparing Eyewitness input file
Masscan is a great too for searching through the ipv4 address space very quickly. Imagine the next action you would like to take is to run the scan results through Eyewitness to capture screenshots for any port that is hosting a web application.
The following command will parse the line shown below to ip:port
Discovered open port 8888/tcp on 10.0.1.1
Command to run:
awk '{print $6":"$4}' input.txt | sed 's/\/tcp//g'











