# RustScan: The Modern, Fast, and Extensible Port Scanner

This repository profile is provided by osrepos.com, an open source repository discovery platform.

Source: osrepos.com
Repository profile: https://osrepos.com/repo/bee-san-rustscan
Generated for open source discovery and AI-assisted research.

RustScan is a cutting-edge port scanner designed for speed and efficiency, capable of scanning all 65k ports in just 3 seconds. It features a powerful scripting engine supporting Python, Lua, and Shell, allowing for automated task execution and seamless integration with tools like Nmap. With adaptive learning capabilities and a focus on accessibility, RustScan offers a modern and highly customizable solution for network security professionals.

GitHub: https://github.com/bee-san/RustScan
OSRepos URL: https://osrepos.com/repo/bee-san-rustscan

## Summary

RustScan is a cutting-edge port scanner designed for speed and efficiency, capable of scanning all 65k ports in just 3 seconds. It features a powerful scripting engine supporting Python, Lua, and Shell, allowing for automated task execution and seamless integration with tools like Nmap. With adaptive learning capabilities and a focus on accessibility, RustScan offers a modern and highly customizable solution for network security professionals.

## Topics

- Rust
- Port Scanner
- Network Security
- Pentesting
- Nmap
- Hacking Tools
- Cybersecurity
- Scanning

## Repository Information

Last analyzed by OSRepos: Mon Nov 24 2025 20:01:24 GMT+0000 (Western European Standard Time)
Detail views: 7
GitHub clicks: 2

## Safety Notice

OSRepos shares public repositories for knowledge and discovery only. Review source code, dependencies, licenses, and security implications before running or installing anything.

## Content

## Introduction

RustScan is a modern, high-performance port scanner built in Rust, designed to quickly identify open ports on target systems. It distinguishes itself with its exceptional speed, capable of scanning all 65,535 ports in as little as 3 seconds. Beyond its rapid scanning capabilities, RustScan offers a robust scripting engine and adaptive learning features, making it a versatile and intelligent tool for network reconnaissance and penetration testing.

## Installation

Installing RustScan is straightforward, with support for various package managers and direct installation via Cargo.

**Recommended Installation (Package Managers):**
RustScan is available in many system repositories. It is recommended to install it using your system's package manager for tested and stable versions.

*   **MacOS:**
    bash
    brew install rustscan
    
*   **Arch Linux:**
    bash
    pacman -S rustscan
    
*   For other distributions, check the [Repology status](https://repology.org/project/rustscan/versions){:target="_blank"} for available packages.

**Cargo Installation (Official Support):**
If you have Rust installed, you can install RustScan using Cargo:
bash
cargo install rustscan


Alternatively, you can download pre-compiled binaries from the [releases page](https://github.com/RustScan/RustScan/releases){:target="_blank"}.

## Examples

RustScan's power lies in its speed and its extensible scripting engine, which allows you to automate workflows and integrate with other tools.

**Basic Usage:**
To scan a target, simply run:
bash
rustscan -a <target_IP_or_hostname>


**Piping to Nmap:**
One of RustScan's most popular features is its ability to automatically pipe discovered open ports directly into Nmap for more in-depth analysis. This significantly speeds up the initial port discovery phase.
bash
rustscan -a <target_IP_or_hostname> -- -A -sC -sV

The `--` separates RustScan arguments from Nmap arguments.

**Scripting Engine:**
RustScan includes a powerful scripting engine that supports Python, Lua, and Shell scripts. This allows users to write custom scripts to perform actions on discovered open ports, such as running specific enumeration tools if certain services are found. For example, you could write a script to automatically run `smb-enum` if SMB is detected.

## Why Use RustScan?

RustScan stands out as a modern port scanner due to several key advantages:

*   **Blazing Fast Speed:** Scans all 65,535 ports in approximately 3 seconds, making initial reconnaissance incredibly efficient.
*   **Extensible Scripting:** Its scripting engine allows for custom automation in Python, Lua, or Shell, providing unparalleled flexibility for post-scan actions and integration with other tools.
*   **Adaptive Learning:** RustScan incorporates "Adaptive Learning" features that fine-tune its behavior based on the target environment and your usage patterns, improving its effectiveness over time.
*   **Accessibility Focus:** It is one of the first penetration testing tools designed with accessibility in mind, aiming to ensure it can be used by everyone.
*   **Nmap Integration:** Seamlessly pipes discovered ports to Nmap, combining RustScan's speed with Nmap's comprehensive scanning capabilities.

## Important Links

For more detailed information, usage guides, and community support, refer to these official resources:

*   **Installation Guide:** [https://github.com/RustScan/RustScan/wiki/Installation-Guide](https://github.com/RustScan/RustScan/wiki/Installation-Guide){:target="_blank"}
*   **Usage Guide:** [https://github.com/RustScan/RustScan/wiki/Usage](https://github.com/RustScan/RustScan/wiki/Usage){:target="_blank"}
*   **Documentation (Wiki):** [https://github.com/bee-san/RustScan/wiki](https://github.com/bee-san/RustScan/wiki){:target="_blank"}
*   **Discord Community:** [http://discord.skerritt.blog](http://discord.skerritt.blog){:target="_blank"}
*   **GitHub Repository:** [https://github.com/bee-san/RustScan](https://github.com/bee-san/RustScan){:target="_blank"}