A repository for possible ZGrab 2.0 configurations
Default input and output files are specified as input.txt
and output.txt
. These should be located in the same directory as zgrab or be changed to your custom settings.
cat input.txt | zgrab2 multiple -c all.ini -o output.txt
cat input.txt | zgrab2 multiple -c ssh.ini -o output.txt
zmap -p 9200 | zgrab2 multiple -c vulnerabilities/misconfigurations/elasticsearch-indices.ini -o output.txt
Using port based triggers (as specified here) for scanning
input.txt
should be structured as follows where IP or hostname are manditory:
[IP address], [hostname], [port nummer]
e.g.
64.233.160.0, google.nl, 23
127.0.0.1, , 22
, bing.nl, 102
cat input.txt | zgrab2 multiple -c base-configurations/all_trigger-on-port.ini -o output.txt --trigger