Skip to main content

scan - Command

Description

Scans a list of IP addresses (and optional ports) from a provided text file. Each line in the file should contain an IP address, optionally followed by a colon and a port number (e.g., 192.168.1.1 or 192.168.1.1:25566). ServerRawler will attempt to ping each address in the file.

info

This command is ideal for processing pre-compiled lists of targets, such as those generated by the generate command or acquired from other sources.

Usage

./ServerRawler scan <FILE_PATH>
  • <FILE_PATH>: The path to the text file containing the list of IP addresses to scan.

File Format Example (targets.txt)

# This is a comment line and will be ignored
192.168.1.1
10.0.0.5:25566
example.com
another.org:25567

Examples

To scan all IP addresses listed in targets.txt:

./ServerRawler scan targets.txt

To scan IPs from a file and not save any data to the database:

./ServerRawler scan targets.txt --no-database