IPScanner is a Go package designed for scanning and analyzing IP addresses. It utilizes various dialers and an internal engine to perform scans efficiently.
- IPv4 and IPv6 support.
- Customizable timeout and dialer options.
- Extendable with various ping methods (HTTP, QUIC, TCP, TLS).
- Adjustable IP Queue size for scan optimization.
To use IPScanner, simply import the package and initialize a new scanner with your desired options.
import "github.com/Ptechgithub/ipscanner"
func main() {
scanner := ipscanner.NewScanner(
// Configure your options here
)
scanner.Run()
}You can customize your scanner with several options:
WithUseIPv4andWithUseIPv6to specify IP versions.WithDialerandWithTLSDialerto define custom dialing functions.WithTimeoutto set the scan timeout.WithIPQueueSizeto set the IP Queue size.WithPingMethodto set the ping method, it can be HTTP, QUIC, TCP, TLS at the same time.- Various other options for detailed scan control.
Contributions to IPScanner are welcome. Please ensure to follow the project's coding standards and submit detailed pull requests.
IPScanner is licensed under the MIT license. See LICENSE for more information.