ARHKEOxide Labs

RBW

An experimental TCP port scanner, built to learn networking in Rust.

On hold
Kind
CLI
Language
Rust
Repository name
rustscan-but-worse
Catalog
No. 001
Added
Release
None yet

RBW, short for rustscan-but-worse, is a TCP port scanner written from scratch to learn Rust: networking, error handling and, later, concurrency. It takes after tools like RustScan and Nmap without trying to compete with them.

It grows in stages, each one added as the Rust behind it is understood. Right now it reads a target address and a port from the command line, checks both, and names a handful of well-known services. The scan itself is not written yet.

Only scan systems and networks you own or have explicit permission to test.

Roadmap

  1. FundamentalsVariables, types, functions and program structure.Now
  2. TCP networkingEstablishing connections and identifying open ports.Next
  3. Port rangesScanning multiple ports on one target.Next
  4. Error handlingConnection failures, timeouts and invalid input.Next
  5. Command-line interfaceTargets and scan options as arguments.Next
  6. ConcurrencyScanning in parallel.Next
  7. OptimisationCode quality, efficiency and reliability.Next

Build from source

git clone https://github.com/noct-dmg/oxide-labs
cd oxide-labs/rustscan-but-worse
cargo run -- 127.0.0.1 22

Checks the address and port and names the service. It does not scan yet.

Log

  1. The first project in the lab

    A TCP port scanner, written from scratch to learn networking in Rust.

More from Oxide Labs

All projects
esc
Oxide LabsOpen ↵Move ↑↓