add Protocol method

This commit is contained in:
Justin Bastress 2018-03-26 11:46:27 -04:00
parent 7f7225e25e
commit c358b52018

@ -170,6 +170,11 @@ func (scanner *Scanner) GetName() string {
return scanner.config.Name
}
// Protocol returns the protocol identifier of the scan.
func (scanner *Scanner) Protocol() string {
return "oracle"
}
// GetPort returns the port being scanned.
func (scanner *Scanner) GetPort() uint {
return scanner.config.Port