zgrab2/modules
Jeff Cody fb49609733
Remove GetPort() from modules
The previous patch allows the port to be specified in the
`ScanTarget{}`.

Since the port option in the Config may not be the port currently being
scanned, delete the `GetPort()` function provided by each module.

The `GetPort()` function is also not used.  While we could just change
the meaning of this function, to mean "Return the port in the Config",
it is probably better to go ahead and just remove all references to it
as there are no users.
2019-08-21 14:55:14 -04:00
..
bacnet Remove GetPort() from modules 2019-08-21 14:55:14 -04:00
banner Remove GetPort() from modules 2019-08-21 14:55:14 -04:00
dnp3 Remove GetPort() from modules 2019-08-21 14:55:14 -04:00
fox Remove GetPort() from modules 2019-08-21 14:55:14 -04:00
ftp Remove GetPort() from modules 2019-08-21 14:55:14 -04:00
http Use Target Domain name in SNI when using HTTP 2019-03-01 21:29:22 -05:00
imap Remove GetPort() from modules 2019-08-21 14:55:14 -04:00
ipp Remove GetPort() from modules 2019-08-21 14:55:14 -04:00
modbus Remove GetPort() from modules 2019-08-21 14:55:14 -04:00
mongodb Remove GetPort() from modules 2019-08-21 14:55:14 -04:00
mssql Remove GetPort() from modules 2019-08-21 14:55:14 -04:00
mysql Remove GetPort() from modules 2019-08-21 14:55:14 -04:00
ntp Remove GetPort() from modules 2019-08-21 14:55:14 -04:00
oracle Remove GetPort() from modules 2019-08-21 14:55:14 -04:00
pop3 Remove GetPort() from modules 2019-08-21 14:55:14 -04:00
postgres Remove GetPort() from modules 2019-08-21 14:55:14 -04:00
redis Remove GetPort() from modules 2019-08-21 14:55:14 -04:00
siemens Remove GetPort() from modules 2019-08-21 14:55:14 -04:00
smb Remove GetPort() from modules 2019-08-21 14:55:14 -04:00
smtp Remove GetPort() from modules 2019-08-21 14:55:14 -04:00
telnet Remove GetPort() from modules 2019-08-21 14:55:14 -04:00
bacnet.go clean up connections before exiting 2018-03-21 17:16:58 -04:00
banner.go Add custom regexp banner grabber (#199) 2019-04-11 17:29:34 -04:00
dnp3.go add dnp3.go 2018-03-21 17:17:38 -04:00
fox.go port fox scanner from zgrab 2018-03-22 15:33:42 -04:00
ftp.go lint 2018-02-12 11:43:41 -05:00
http.go Port http from zgrab (#31) 2018-02-09 13:45:50 -05:00
imap.go add basic IMAP scanning 2018-03-15 14:35:35 -04:00
ipp.go Boilerplate for IPP scan module. 2018-06-07 15:13:01 -04:00
modbus.go clean up connections before exiting 2018-03-21 17:16:58 -04:00
mongodb.go Add MongoDB scanner. 2018-08-17 12:04:38 -04:00
mssql.go Add MSSQL zgrab2 module (#38) 2018-02-02 14:52:03 -05:00
mysql.go golint and godocs for mysql module (#56) 2018-02-12 10:42:45 -05:00
ntp.go Add NTP zgrab2 module (#39) 2018-02-07 12:25:46 -05:00
oracle.go add oracle.go stub 2018-02-21 13:08:33 -05:00
pop3.go port POP3 2018-03-15 13:10:10 -04:00
postgres.go Implements postgres zgrab2 module (#30) 2018-01-15 14:24:57 -05:00
redis.go Add redis zgrab2 module (#53) 2018-02-13 13:25:47 -05:00
siemens.go add siemens s7 scanner 2018-03-22 17:06:44 -04:00
smb.go Port SMB (???) scanner from ZGrab 2018-03-15 16:58:57 -04:00
smtp.go Add integration tests; Post PR comment updates: stray further from original ZGrab input/output in favor of more zgrab2-like input/output; make QUIT optional (default off). 2018-03-15 11:07:18 -04:00
ssh.go Remove GetPort() from modules 2019-08-21 14:55:14 -04:00
telnet.go add missing telnet.go 2018-03-14 09:59:46 -04:00
tls.go Add GetTLSConfigForTarget and GetTLSConnectionForTarget methods (allowing SNI to work without an explicit --server-name); Add scanTarget.OpenTLS() to give a uniform interface; Document TLS scan; use target.OpenTLS(), correctly report successful/failed detections 2018-07-05 14:34:17 -04:00