added host name support
This commit is contained in:
@ -26,7 +26,7 @@ public class PortScannerTest {
|
|||||||
openPorts++;
|
openPorts++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
System.out.println("There are " + openPorts + " open ports on host " + portScanner.getTimeout() + " (probed with a timeout of "
|
System.out.println("There are " + openPorts + " open ports on host " + portScanner.getHost()+ " (probed with a timeout of "
|
||||||
+ portScanner.getTimeout() + "ms)");
|
+ portScanner.getTimeout() + "ms)");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user