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
- FundamentalsVariables, types, functions and program structure.Now
- TCP networkingEstablishing connections and identifying open ports.Next
- Port rangesScanning multiple ports on one target.Next
- Error handlingConnection failures, timeouts and invalid input.Next
- Command-line interfaceTargets and scan options as arguments.Next
- ConcurrencyScanning in parallel.Next
- 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 22Checks the address and port and names the service. It does not scan yet.
Log
The first project in the lab
A TCP port scanner, written from scratch to learn networking in Rust.