3 unstable releases
|0.2.1||Jul 22, 2022|
|0.2.0||Jul 22, 2022|
|0.1.0||Jul 22, 2022|
#1553 in Command line utilities
28 downloads per month
rscan is a simple tool to quickly scan a local or remote host for the open ports.
This project was mainly made to save people (and myself) some time during port scanning. There is a great tool called
nmap, which is considered the gold standard for network discovery and scanning, and
rscan doesn't have all the features
nmap does, but when it comes to a simple port scanning -
rscan can do it a lot quicker.
How rscan works
rscan can only do the SYN scan (or Half-open scan). It is often called "Stealth scan", because TCP handshake is never completed. Also, by default it checks if the host is up by pinging the target before the scan begins (this can be changed, check
--help for more info).
rscan is faster because it is working in multithreading mode (by default,the number of threads is 4, but you can change this. For more info refer to the
Currently, the only way to install
rscan is through cargo:
$ cargo install rscan $ sudo setcap cap_net_raw+ep ~/.cargo/bin/rscan
google.com using the
$ sudo rscan -i en0 google.com DNS lookup results: google.com is at 22.214.171.124 Host is up, starting scan... Scanning 126.96.36.199 using SYN scan: *Interface: en0 *Threads: 4 *Port: 58058 --- Stats: 65533 filtered/closed port(s) (RST or no response), 2 open port(s) PORT STATUS 80 Open 443 Open
Scan was completed in 10 seconds (it is worth noticing that this strongly depends on the load of your network and the current CPU usage).
Known problems and limitations
rscanshould always be run using the
sudo. This happens because
rscanis using the raw sockets behind the scenes.
- You should always explicitly specify the network interface
- No IPv6 support
- Only one scan type is present currently
- As this project heavily depends on the libpnet package, building
rscanon Windows is not as trivial as it is on the Unix based systems. For more inforamtion please refer to the libpnet's usage section