Commit Graph

167 Commits

Author SHA1 Message Date
Justin Bastress
ad6295f421 port POP3 2018-03-15 13:10:10 -04:00
justinbastress
14572887ab
Merge pull request #74 from zmap/feature/addTelnetModule
zgrab2: port telnet module from zgrab
2018-03-14 11:12:01 -04:00
Justin Bastress
03b5bb2a5e TelnetOptions get encoded to name/value, not String(name) 2018-03-14 10:59:41 -04:00
Justin Bastress
23607e39cd TelnetOptions get encoded to name/value, not String(name) 2018-03-14 10:46:38 -04:00
Justin Bastress
33cd6941e4 TelnetOptions get encoded to name/value, not String(name) 2018-03-14 10:34:52 -04:00
Justin Bastress
52a43d0d47 fix schema case 2018-03-14 10:16:06 -04:00
Justin Bastress
20cde3441d add missing telnet.go 2018-03-14 09:59:46 -04:00
Justin Bastress
b52d4c47bc chmod +x shell scripts 2018-03-14 09:20:03 -04:00
Justin Bastress
fa6a7ce50c port telnet module from zgrab; add basic integration tests and schema 2018-03-13 15:23:57 -04:00
justinbastress
824533b118
Merge pull request #72 from zmap/feature/storeProtocolInResult
Include scanner protocol in response
2018-03-13 13:18:09 -04:00
Justin Bastress
17a5c0e85c Scanner modules return the protocol ID, scan returns the protocol in the results. 2018-03-12 13:36:11 -04:00
justinbastress
7eb3536b19
Merge pull request #71 from zmap/feature/fixHeartbleedCheck
Fix heartbleed check
2018-03-09 09:38:25 -05:00
Justin Bastress
98a868381d tls.HeartbleedError means no error? Copying behavior from zgrab/zlib/conn.go. 2018-03-08 14:07:32 -05:00
justinbastress
b06d9bbc85
pull zflags from the zmap project (#69) 2018-03-07 11:04:16 -05:00
justinbastress
075924400f
Add shared FlagsToSet function in output.go (#62)
* Add shared FlagsToSet function in output.go, use it in mysql. Add examples / tests.

* Add utility functions to widen map keys
2018-03-01 14:32:12 -05:00
Zakir Durumeric
2ec074a082
Merge pull request #58 from zmap/feature/lintFTP
golint / godocs on zgrab2 FTP module
2018-03-01 11:12:06 -08:00
justinbastress
aaa9da476d
travis task to run go unit tests
add phony test Makefile target to run go test on modules; run unit tests before going into integration tests in travis (#64)
2018-02-28 15:01:20 -05:00
justinbastress
9a8080e543 Fix typo in scanner template (#63)
'module that proves for (target)' to 'modules that scans for (target)'

https://github.com/zmap/zgrab2/pull/63
2018-02-27 14:59:24 -05:00
justinbastress
b206b953e8
Expand NTP docs (#59) 2018-02-21 10:04:57 -05:00
justinbastress
730b7221ca
Update MSSQL GoDocs (#60)
* re-export mssql primitives; golint; expanded godocs; log whether we ever read a valid TDS packet; move ServerVersion string conversion into ServerVersion method

* add package godocs; re-export module items; populate InstanceName; set default EncryptMode == ENCRYPT_ON; detailed scan godocs; fix return value in case of failed / incomplete detection;
2018-02-21 10:04:25 -05:00
Stefan Grimminck
a2796c6e20 Update README.md (#61) 2018-02-21 09:26:22 -05:00
justinbastress
8d8bdeac93 if docker build fails, fail the build after deleting the *.id file (#57)
https://github.com/zmap/zgrab2/pull/57
2018-02-13 13:47:04 -05:00
justinbastress
f02bd59f8a Add redis zgrab2 module (#53) 2018-02-13 13:25:47 -05:00
Justin Bastress
d9194fe35c run pycodestyle on schemas/ftp.py 2018-02-12 11:58:33 -05:00
Justin Bastress
c6bc59a4a7 lint 2018-02-12 11:43:41 -05:00
justinbastress
bd952d9809
golint and godocs for mysql module (#56) 2018-02-12 10:42:45 -05:00
Zakir Durumeric
33d01cda40
Merge pull request #55 from zmap/feature/lintPostgres
Run golint on postgres module
2018-02-09 13:52:43 -05:00
justinbastress
2766a7ae08
Port http from zgrab (#31) 2018-02-09 13:45:50 -05:00
Justin Bastress
9eb7235e40 re-add package postgres 2018-02-09 13:23:59 -05:00
Justin Bastress
d242ad65f4 run gofmt on files 2018-02-09 11:49:15 -05:00
Justin Bastress
2acd6aaccb add package documentation 2018-02-09 11:25:03 -05:00
Justin Bastress
d55e385692 run golint on postgres code 2018-02-09 11:09:44 -05:00
Justin Bastress
1d72bbb2cd use hyphens, not underscores, for command-line parameters 2018-02-09 09:39:24 -05:00
justinbastress
2f7dfd76fe
Add NTP zgrab2 module (#39) 2018-02-07 12:25:46 -05:00
David Adrian
f993263100
Implement TLS module (#42)
This module just uses zgrab2.BaseTLSFlags to implement a simple TLS
module.
2018-02-02 15:54:05 -05:00
justinbastress
8eb958e22c
Add MSSQL zgrab2 module (#38) 2018-02-02 14:52:03 -05:00
justinbastress
a8b4461d29
Merge #45 into master (#52)
Remove integration-test-setup (no longer needed)
2018-01-31 13:01:14 -05:00
Zakir Durumeric
f47026adb3
Merge pull request #44 from zmap/feature/updateIntegrationTestScriptTemplates
Update integration test script templates
2018-01-31 11:05:34 -05:00
Zakir Durumeric
5d70688b66
Merge pull request #47 from jordan-wright/docs/fix-readme
Fix README install instructions pointing to previous versions of zgrab
2018-01-31 10:57:41 -05:00
Zakir Durumeric
bbecc9647a
Merge pull request #46 from zmap/feature/useFewerSimultaneousContainers
Use fewer simultaneous containers
2018-01-31 10:57:15 -05:00
Zakir Durumeric
df5d86d687
Merge pull request #49 from jordan-wright/issue/remove-zgrab-dependency
Changed tools/keys dependencies to point to zgrab2.
2018-01-31 10:56:45 -05:00
Zakir Durumeric
5c535a205e
Merge pull request #51 from jordan-wright/docs/add-readme-testing
Add information on running integration tests to README.md
2018-01-31 10:56:26 -05:00
justinbastress
e1f04217a9
log scan target on panic (#43) 2018-01-31 10:14:52 -05:00
Jordan Wright
78e7125661 Added information on how to run integration tests to README.md. Fixes #50 2018-01-31 00:09:05 -06:00
Jordan Wright
162138dac3 Changed tools/keys dependencies to point to zgrab2. 2018-01-30 23:45:52 -06:00
Jordan Wright
11d1602622 Fix README install instructions pointing to previous versions of zmap 2018-01-30 21:46:40 -06:00
Justin Bastress
e6739acff9 fix service test scripts -- remove useless i flags to docker run; if container is already running, use it; smarter wait conditions for postgres and mysql 2018-01-29 16:53:50 -05:00
Justin Bastress
c5747b7198 sandwich each module's test.sh with its setup.sh and cleanup.sh; fix some relative paths in test.sh 2018-01-29 16:48:57 -05:00
Justin Bastress
59aa3d8571 Update README; fix output file in test 2018-01-29 16:36:45 -05:00
Justin Bastress
da294f7f1e Add .templates folder in lieu of inline scripts; update templates to match more common scenarios 2018-01-29 16:03:32 -05:00