Commit Graph

12 Commits

Author SHA1 Message Date
Zakir Durumeric 4c1161b29e
Cablej master (#232)
* Add support to HTTP for setting local interface

* Add net import

* use correct flag

* better CLI flag name

* Remove logged `\n`

* Remove extranneous if statement
2019-11-19 08:31:15 -08:00
Jeff Cody ec59b49540
Add support for BytesReadLimit parameter in BaseFlags
Some protocols may require more data than others.  To accomodate those,
allow the BytesReadLimit to be changed by means of BaseFlags.

By setting BaseFlags.BytesReadLimit prior to calling .Open(), scanners
can override the default limit to one that is appropriate for the data
collected.
2018-10-22 21:59:01 -04:00
Justin Bastress 0c6f231dee address @paul's comments and other golint errors 2018-10-02 10:01:41 -04:00
Justin Bastress 72dc9e7c5a fix UDP case 2018-09-28 11:52:02 -04:00
Justin Bastress 900b0d5912 add bytelimit tests 2018-09-27 14:00:26 -04:00
Justin Bastress 00682b1001 add tests 2018-09-13 14:55:27 -04:00
justinbastress a8ed44d653
Update conn.go 2018-09-06 13:03:02 -04:00
Justin Bastress 45a4cb0e90 re #163 -- add outer whole-connection timeout to TimeoutConnection, and add scan-target-wide timeout to HTTP scanner (adding a max time spent across redirects, too) 2018-09-05 14:33:59 -04:00
justinbastress 724d02d90d read full banners (#103)
* read full banners

* account for cases where smaller packets are returned
2018-06-28 15:06:39 -04:00
Justin Bastress b5fbfcc690 ensure postgres connections get closed 2018-05-11 14:01:10 -04:00
Justin Bastress 3254857b58 Add a dialer for the non-TLS case in HTTP, so that --timeout is honored even if --use-https is not set (issue #109) 2018-05-01 13:33:21 -04:00
justinbastress 8eb958e22c
Add MSSQL zgrab2 module (#38) 2018-02-02 14:52:03 -05:00