1 unstable release

0.1.0 May 18, 2022

#11 in #host-port

MIT/Apache

45KB
260 lines

XRadar

Scan a host for open ports.

Demo

ASCII Demo

Installation

First, install Rust and Cargo. See https://rustup.rs/.

cargo install xradar

Usage

xr [host] [port...] [options...]

[port...] can be a comma-separated or space-separated list of ports.

See full help information with the --help flag.

Examples

  • Scan all open ports on localhost:

    xr
    
  • Scan all open ports on 192.168.0.200:

    xr 192.168.0.200
    
  • Scan open ports between 22 and 80 and greater than 1024 on 1.1.1.1:

    xr 1.1.1.1 22..80 1024..
    

    Alternatively, you can use the 22-80,1024- syntax.

  • Check the status of 80 and 443 on 216.58.223.206:

    xr 216.58.223.206 80,443 -a
    

    The -a flag will show the status of ports, even when they are not open.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as below, without any additional terms or conditions.

License

Licensed under either of

at your option.

Dependencies

~6–15MB
~178K SLoC