{"id":4332,"date":"2017-01-17T02:44:47","date_gmt":"2017-01-16T18:44:47","guid":{"rendered":"https:\/\/www.darknet.org.uk\/?p=4332"},"modified":"2017-01-17T02:45:03","modified_gmt":"2017-01-16T18:45:03","slug":"zgrab-an-application-layer-scanner-for-zmap","status":"publish","type":"post","link":"https:\/\/www.darknet.org.uk\/2017\/01\/zgrab-an-application-layer-scanner-for-zmap\/","title":{"rendered":"ZGrab – Application Layer Scanner For ZMap"},"content":{"rendered":"
ZGrab is a Go-based application layer scanner that operates with ZMap<\/a> and supports multiple protocols and services including TLS, IMAP, SMTP, POP3 etc.<\/p>\n <\/p>\n It also stores TLS version and can detect Heartbleed<\/a>.<\/p>\n You will need to have a valid Once you have a working This will install zgrab under Example:<\/p>\n You can download ZGrab here:<\/p>\nBuilding<\/h3>\n
$GOPATH<\/code> set up, for more information about
$GOPATH<\/code>, see https:\/\/golang.org\/doc\/code.html<\/a>.<\/p>\n
$GOPAT<\/code>H, run:<\/p>\n
go get github.com\/zmap\/zgrab<\/pre>\n
$GOPATH\/src\/github.com\/zmap\/zgrab<\/code><\/p>\n
$ cd $GOPATH\/src\/github.com\/zmap\/zgrab\r\n$ go build<\/pre>\n
Usage<\/h3>\n
zgrab [-banners] [-ca-file file ] [-cbc-only] [-data message ] [-ehlo]\r\n domain ] [-encoding encoding ] [-heartbleed] [-imap] [-input-file file\r\n ] [-interface interface ] [-log-file file ] [-metadata-file file ]\r\n [-modbus] [-output-file file ] [-pop3] [-port port ] [-senders senders\r\n ] [-smtp] [-smtp-help] [-starttls] [-timeout timeout ] [-tls] [-tls-\r\n version version ] [-udp]<\/pre>\n
# zmap -p 443 --output-fields=* | ztee results.csv | zgrab --port 443 --tls --http=\"\/\" --output-file=banners.json<\/pre>\n