sensepost / gowitness

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

Example flag fix - not used this way anymore #138

Closed crypt0rr closed 2 years ago

crypt0rr commented 2 years ago

As shown below the --nmap-file flag isn't used anymore. This PR fixes only the example text to --file.

$ gowitness nmap --nmap-file out.xml 
Error: unknown flag: --nmap-file
Usage:
  gowitness nmap [flags]

Examples:
# WARNING: These scan all exposed service, like SSH
$ gowitness nmap --nmap-file nmap.xml
$ gowitness nmap --nmap-file nmap.xml --scan-hostnames

# These filter services from the nmap file
$ gowitness nmap --file nmap.xml --service http --service https
$ gowitness nmap --file nmap.xml --service-contains http --service ftp
$ gowitness nmap --file nmap.xml -w http
$ gowitness nmap -f nmap.xml --no-http
$ gowitness nmap -f nmap.xml --no-http --service https --port 8888
$ gowitness nmap -f nmap.xml --no-https -n http -n http-alt
$ gowitness nmap -f nmap.xml --port 80 --port 8080
$ gowitness nmap --nmap-file nmap.xml -s -n http
leonjza commented 2 years ago

🎉