public class SshDetector extends BasicDetector<NullRequest,SshResponse>
SshDetector class.
Constructor and Description |
---|
SshDetector()
Default constructor
|
SshDetector(String serviceName,
int port)
Constructor for creating a non-default service based on this protocol
|
Modifier and Type | Method and Description |
---|---|
String |
getBanner()
getBanner
|
protected Client<NullRequest,SshResponse> |
getClient()
getClient
|
String |
getClientBanner()
getClientBanner
|
String |
getMatch()
getMatch
|
protected void |
onInit()
onInit
|
void |
setBanner(String banner)
setBanner
|
void |
setClientBanner(String clientBanner)
setClientBanner
|
void |
setMatch(String match)
setMatch
|
dispose, expectBanner, getConversation, isServiceDetected, send, send
detect
getIpMatch, getPort, getRetries, getServiceName, getTimeout, init, setIpMatch, setPort, setRetries, setServiceName, setTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIpMatch, getPort, getServiceName, getTimeout, init, setIpMatch, setPort, setServiceName, setTimeout
protected Client<NullRequest,SshResponse> getClient()
getClient
getClient
in class BasicDetector<NullRequest,SshResponse>
Client
object.protected void onInit()
onInit
onInit
in class AbstractDetector
public void setClientBanner(String clientBanner)
setClientBanner
clientBanner
- a String
object.Copyright © 2017. All rights reserved.