TCPScanner class

TCP port scanner

Annotations
  • @Deprecated('Use TcpScannerTask instead of TCPScanner')

Constructors

TCPScanner(String host, List<int> ports, {int timeout = 100, bool shuffle = false, int isolates = 1, Duration updateInterval = const Duration(seconds: 1)})
Prepares scanner to scan specified host and specified ports
TCPScanner.build(String host, List<int> ports, int timeout, bool shuffle, int isolates, Duration updateInterval)
All arguments constructor
TCPScanner.range(String host, int startPort, int endPort, {int timeout = 100, bool shuffle = false, int isolates = 1, Duration updateInterval = const Duration(seconds: 1)})
Prepares scanner to scan range of ports from startPort to endPort

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scanResult ScanResult
Return scan status
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scan() Future<ScanResult>
Execute scanning with at least 1 isolates
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited