1 unstable release
0.1.0 | May 18, 2022 |
---|
#11 in #host-port
45KB
260 lines
XRadar
Scan a host for open ports.
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
and80
and greater than1024
on1.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
and443
on216.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
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Dependencies
~6–15MB
~178K SLoC