Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

RustScan – Faster Nmap Scanning with Rust

  • Last Updated : 23 Sep, 2021

Port Scanning is the process of detection of active ports on the Web Server. In some cases, if there is an unfamiliar port running on the server, this can lead to breaches. We can perform use various automated tools like Nmap, Masscan, etc for port detection. RustScan is the tool that assures the fastest result retrieving tool as compares to Nmap. RustScan is a tool that turns a 17 minutes Nmap scan into 19 seconds. RustScan tool is developed in the Rust language and valid on the GitHub platform. RustScan tool is an open-source and free-to-use tool. RustScan tool can scan 65k ports in almost 7-8 seconds which is much faster than other tools. RustScan tool has support to IPv6 Version IP.

Installation of RustScan Tool on Kali Linux OS

Step 1: Download the .deb file from the below links to your Kali Linux operating system.

https://github.com/RustScan/RustScan/releases/download/2.0.1/rustscan_2.0.1_amd64.deb

Step 2: Run the command dpkg -i on the file to install the tool.



sudp dpkg -i rustscan_2.0.1_amd64.deb

Step 3: Now use the following command to run the tool and check the help section.

rustscan -h

Working with RustScan Tool on Kali Linux OS

Example 1: Host Scanning

rustscan -a www.geeksforgeeks.org

In this example, we will be performing a simple port scan on the geeksforgeeks.org domain.

Example 2: Individual Port Scanning

rustscan -a www.geeksforgeeks.org -p 443

In this example, we will be performing specific single port detection rather than scanning all the ports.



Example 3: Multiple selected port scanning

rustscan -a www.geeksforgeeks.org -p 443,80,121,65535

In this example, we will be performing multiple port scans or specific lists of ports rather than scanning all the ports.

Example 4: Ranges of ports

rustscan -a www.geeksforgeeks.org --range 1-1000

In this example, we will be performing detection of ports from the range of 1-1000 on the geeksforgeeks.org domain.

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!