sensepost / gowitness

🔍 gowitness - a golang, web screenshot utility using Chrome Headless
GNU General Public License v3.0
2.87k stars 329 forks source link

Nmap import scan all the ports #46

Closed Stoo0rmq closed 4 years ago

Stoo0rmq commented 4 years ago

Imagine we have an nmap output file that gave us which ports are opened and which ones are closed. gowitness instead of go only for the opens goes for every possible port therefore it does not make any distinction between open or closed ports.

The expected behaviour would be to only enumerate the open ports

gowitness version: Latest, downloaded yesterday

Nmap command: nmap -iL FILE -p80,8000 -T4 -oX OUTPUT --max-retries=2

Gowitness command: gowitness nmap --nmap-file OUTPUT --threads 20

leonjza commented 4 years ago

52 landed to address this.