Commit Graph

465 Commits

Author SHA1 Message Date
Justin Bastress
71090d71b3 handshakeErr, not err 2018-05-22 18:23:19 -04:00
justinbastress
90ec19c371
Merge pull request #122 from zmap/feature/add-root-encrypt-mode
MSSQL: include negotiated encrypt_mode
2018-05-22 18:17:24 -04:00
Justin Bastress
a14f3dc584 include negotiated encrypt_mode 2018-05-22 17:06:48 -04:00
justinbastress
54812168d4
Merge pull request #121 from zmap/feature/more-omit-empty
Feature/more omit empty
2018-05-22 16:40:56 -04:00
Justin Bastress
05841e9ab4 raw_packets is debug; server_version is omitempty 2018-05-22 16:05:56 -04:00
Justin Bastress
434ccaa3f4 make all debug fields omitempty; make capability_flags/status_flags omitempty, in the aux type as well. 2018-05-22 16:03:00 -04:00
Chris Dzombak
c3ffa3ede5
Merge pull request #120 from zmap/feature/address-issuers
Address zgrab2 issues
2018-05-21 14:10:54 -04:00
Justin Bastress
486dc517a3 fix required/non-required in schemas; add error_ids, and code to get them; throw ERRPacket as APPLICATION_ERROR 2018-05-21 12:15:17 -04:00
Justin Bastress
89e0e956d5 MSSQL: Strip null terminator from instance_name; changeInstanceName to a pointer to distinguish the empty names (e.g. just a null terminator) from no name being returned. 2018-05-18 15:25:08 -04:00
justinbastress
2bd2d7768c
Merge pull request #119 from zmap/feature/fix-postgres-memory-error
Fix Postgres memory usage issue
2018-05-18 09:19:13 -04:00
Justin Bastress
f3437bbc62 don't log full packet; don't create packet until returning 2018-05-17 14:36:51 -04:00
justinbastress
e44863ac7f
Merge pull request #118 from zmap/feature/golang-profiling
lower max packet size to 512k, not 128MB
2018-05-15 17:45:32 -04:00
Justin Bastress
3ffbf89c36 lower max packet size to 512k, not 128MB. Add maximum on number of packets as well. 2018-05-15 15:47:14 -04:00
justinbastress
5da0d217bb
Merge pull request #117 from zmap/feature/golang-profiling
fix packet length calculation
2018-05-15 14:50:56 -04:00
Justin Bastress
bf1d74483e fix packet length calculation 2018-05-15 14:16:51 -04:00
justinbastress
77eea31a48
Merge pull request #116 from zmap/feature/golang-profiling
ZGrab2 pre-release bugfixes
2018-05-15 13:20:54 -04:00
Justin Bastress
88707e7a87 fix comment typo 2018-05-14 14:48:48 -04:00
Justin Bastress
531ba31c34 Add memory and CPU profiling (if ZGRAB_[MEM/CPU]PROFILE is set); add upper bound on data read from postgres 2018-05-14 11:24:25 -04:00
Justin Bastress
b5fbfcc690 ensure postgres connections get closed 2018-05-11 14:01:10 -04:00
Justin Bastress
e4388ad861 handle server returning < 2 bytes 2018-05-11 12:21:11 -04:00
Justin Bastress
7dc895a975 fix logrus collision 2018-05-11 11:52:08 -04:00
Justin Bastress
0cfc4bdff3 lower log level of per-scan errors 2018-05-11 11:45:59 -04:00
Justin Bastress
e77866dfea loglevel fixes 2018-05-11 11:43:08 -04:00
Justin Bastress
e0745c5323 another err->readErr 2018-05-11 11:18:20 -04:00
Justin Bastress
66cbe41205 better error log 2018-05-11 10:57:27 -04:00
Justin Bastress
50e2dbbeb7 fix error variable name 2018-05-11 10:56:38 -04:00
Justin Bastress
74c8b16e7a httplex -> httpguts 2018-05-07 16:22:37 -04:00
justinbastress
0889db21e3
Merge pull request #108 from zmap/feature/schemaUpdate
Schema updates
2018-05-04 11:56:34 -04:00
Justin Bastress
fbfba66864 install 2018-05-04 11:36:07 -04:00
Justin Bastress
24dad0b670 handle module rename 2018-05-04 11:31:53 -04:00
Justin Bastress
07484942dc fix zcrypto_schemas egg name 2018-05-04 11:15:40 -04:00
Justin Bastress
1e4ec64650 schemas.zgrab2 -> zgrab2_schemas 2018-05-04 11:15:09 -04:00
Justin Bastress
6836299bfb ensure zcrypto 2018-05-03 16:47:13 -04:00
Justin Bastress
c06bbee6a3 pull zcrypto from schemas.zcrypto 2018-05-03 16:46:17 -04:00
Justin Bastress
f526c61911 leave zschema directory after installing 2018-05-03 15:53:29 -04:00
Justin Bastress
9a1f236873 pip install --user, not pip install -u 2018-05-03 14:15:13 -04:00
Justin Bastress
f792f10617 use pip install to install local zschema 2018-05-03 11:42:04 -04:00
Justin Bastress
54f61e916e pull zschema from git, not pip 2018-05-03 11:17:40 -04:00
justinbastress
4e019c9da4
Merge pull request #110 from zmap/feature/add_non_tls_http_dialer
Add a dialer for the non-TLS case in HTTP
2018-05-03 09:26:52 -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
5c0cbeeee0
Merge pull request #97 from zmap/feature/stripDebugFields
zgrab2: Strip debug fields
2018-04-26 12:27:39 -04:00
Justin Bastress
5d6c0ef7a3 fix comment re PR review 2018-04-26 11:58:08 -04:00
Justin Bastress
8f38f8137f remove zcrypto.py (should be pulled in via requirements.txt) 2018-04-25 14:13:36 -04:00
Justin Bastress
dfd5af5d3a add requirements.txt 2018-04-25 14:09:53 -04:00
Justin Bastress
8d4725d6ea use find_packages 2018-04-25 14:09:00 -04:00
Justin Bastress
7fa57fc4e5 fix setup name, author_email, keywords, packages in setup.py 2018-04-25 13:48:43 -04:00
Justin Bastress
d882fa5685 add empty __init__.py 2018-04-25 11:46:59 -04:00
Justin Bastress
a9d851e20c add setup.py for egg 2018-04-25 11:46:26 -04:00
Justin Bastress
a472e0b560 updates schema template to match current layout 2018-04-23 16:41:34 -04:00
Justin Bastress
17b1353718 fix relative imports 2018-04-23 10:47:34 -04:00