Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

RustScan


Crates.io

Installation

First install Nmap. In Fedora:

sudo dnf in nmap

Setup Rustup/Cargo Then:

cargo install rustscan

Tips

Para revisar puertos abiertos

rustscan -a <ip-local> --ulimit 5000
rustscan -a 192.168.x.y --ulimit 5000

TLDR

 Modern Port Scanner written in Rust.
  Note: `nmap` must be installed for some of the examples below to work.
  More information: <https://github.com/bee-san/RustScan/wiki>.

  Scan all ports of one or more comma-delimited addresses using the default values:

      rustscan [-a|--addresses] ip_or_hostname

  Scan the top 1000 ports with service and version detection:

      rustscan --top [-a|--addresses] address_or_addresses

  Scan a specific list of ports:

      rustscan [-p|--ports] port1,port2,... [-a|--addresses] address_or_addresses

  Scan a specific range of ports:

      rustscan [-r|--range] start-end [-a|--addresses] address_or_addresses

  Invoke `nmap` functionalities (Nmap's OS detection and default scripts):

      rustscan [-a|--addresses] address_or_addresses -- -O [-sC|--script=default]

  Scan with custom batch size (default: 4500) and timeout (default: 1500ms):

      rustscan [-b|--batch-size] batch_size [-t|--timeout] timeout [-a|--addresses] address_or_addresses

  Scan with specific port order:

      rustscan --scan-order serial|random [-a|--addresses] address_or_addresses

  Scan in greppable mode (only output of the ports, no `nmap`):

      rustscan [-g|--greppable] [-a|--addresses] address_or_addresses