zgrab2
zgrab2 copied to clipboard
Can you help me build a command line?
Hi, please let me clarify what i am trying to do as first, i have a ip range list like that
92.246.241.0/24 92.246.239.0/24 92.246.238.0/24 92.246.236.0/24
i have a static domain and http request x.com
as like that
GET http://www.x.com/test HTTP/1.1 Host: www.x.com Connection: keep-alive User-Agent: Mozilla
i want to search for specific answer, as first i tried
zmap --whitelist-file=whitelist.txt -p 80 --output-fields=* -r 10000 | ztee --output-file zmap.out.csv | ./zgrab --port 80 --data /root/go/src/github.com/zmap/zgrab/getfile --output-file zgrab.out.json
but couldnt build it yet and decided to try zgrab2
./zgrab2 -f list.txt -o test.txt http
my list.txt looks like
92.246.241.0/24, www.x.com, response_i_look_for
92.246.239.0/24, www.x.com, response_i_look_for
92.246.238.0/24, www.x.com, response_i_look_for
92.246.236.0/24, www.x.com, response_i_look_for
now it's started to search, but not sure if i am doing it well
best regards
Did you figure it? I find it a little confusing too.
I want to scan through a specific IP Range, for a specific domain, and trigger it once it finds the domain containing body content. Similar to PNScan.