Forerunner: Fast and extensible network scanning library
Forerunner
The Forerunner library is a fast, lightweight, and extensible networking library created to aid in the development of robust network-centric applications such as IP Scanners, Port Knockers, Clients, Servers, etc. In its current state, the Forerunner library is able to both synchronously and asynchronously scan and port knock IP addresses in order to obtain information about the device located at that endpoint such as: whether the IP is online, the physical MAC address, and etc. The library is a completely object-oriented and event-based library meaning that scan data is contained within specially crafted “scan” objects which are designed to handle all data from results to exceptions.
Features
Method | Description | Usage |
---|---|---|
Scan | Scan a single IP for information | Scan(“192.168.1.1”); |
ScanRange | Scan a range of IPs for information | ScanRange(“192.168.1.1”, “192.168.1.255”) |
ScanList | Scan a list of IPs for information | ScanList(“192.168.1.1, 192.168.1.2, 192.168.1.3”) |
PortKnock | Ping every port of a single IP | PortKnock(“192.168.1.1”); |
PortKnockRange | Ping every port in a range of IPs | PortKnockRange(“192.168.1.1”, “192.168.1.255”); |
PortKnockList | Ping every port using a list of IPs | PortKnockList(“192.198.1.1, 192.168.1.2, 192.168.1.3”); |
IsHostAlive | Ping a host N times for X milliseconds | IsHostAlive(“192.168.1.1”, 5, 1000); |
GetAveragePingResponse | Get average ping response for a host | GetAveragePingResponse(“192.168.1.1”, 5, 1000); |
IsPortOpen | Ping individual ports via TCP & UDP | IsPortOpen(“192.168.1.1”, 45000, new TimeSpan(1000), false); |
Copyright © ∞ Jason Drawdy (CloneMerge)