Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Aug 17, 2025

This PR upgrades RustMapV3 to version 0.2.0 with significant enhancements to performance, usability, and functionality.

🚀 Major Features Added

Smart Preset System

Introduces three intelligent presets that automatically configure optimal settings:

  • Fast: Top 1000 ports, 8192 concurrency, 20k rate limit, 200ms timeout
  • Full: All ports (1-65535), 8192 concurrency, 15k rate limit, 250ms timeout
  • Thorough: All ports, 4096 concurrency, 6k rate limit, 600ms timeout with confirm pass
RustMapV3 192.168.1.1 --preset fast      # Quick discovery
RustMapV3 192.168.1.1 --preset thorough  # Maximum accuracy

Enhanced High-Performance Scanner

  • Confirm Pass: Optional second verification scan to reduce false positives
  • Multi-Target Concurrency: Parallel scanning of multiple targets/CIDRs
  • Advanced Rate Limiting: Token bucket algorithm for precise connection control
  • Batched Processing: Efficient memory usage for large port ranges

Smart Nmap Orchestration

  • Port-Specific Scripts: Automatically selects targeted NSE scripts based on discovered services
  • Argument Normalization: Converts shorthand (sCV-sC -sV, T4-T4)
  • Compressed Port Lists: Optimizes -p flag with ranges (80-82,90-91)
  • Timestamped Outputs: Organized results with automatic file naming

Improved CLI Experience

  • Better Defaults: Sensible preset-based configuration
  • More Output Formats: Enhanced JSON, YAML, and table formatting
  • Clearer Options: Intuitive parameter names and descriptions
  • Override Flexibility: Presets can be overridden with specific flags

🔧 Technical Improvements

Dependencies & Performance

  • Updated to Clap 4.5 and Tokio 1.38 for latest performance improvements
  • Added once_cell and socket2 for enhanced networking capabilities
  • Optimized release profile with LTO and strip for smaller, faster binary

Code Architecture

  • Streamlined error handling with lightweight Result types
  • Enhanced scanner with async/await optimizations
  • Modular design preserving existing ports and targets modules
  • Improved RustScan integration with graceful fallback to internal scanner

📦 Installation & Documentation

One-Line Installation

curl -sSL https://raw.githubusercontent.com/Wael-Rd/RustMapV3/main/install.sh | bash && export PATH="$HOME/.cargo/bin:$PATH"

Updated Examples

# Quick network discovery
RustMapV3 192.168.1.0/24 --preset fast

# Thorough single target analysis  
RustMapV3 example.com --preset thorough --nmap-args "sCV A"

# Custom performance tuning
RustMapV3 10.0.0.0/16 --concurrency 8192 --targets-concurrency 64 --rate 15000

✅ Compatibility & Testing

  • Backward Compatible: All existing functionality preserved
  • Binary Name: Correctly uses RustMapV3 as specified
  • Comprehensive Testing: All unit tests pass, functionality verified
  • Performance Validated: Release build optimized and tested

🎯 Impact

This upgrade transforms RustMapV3 from a basic port scanner into a comprehensive network discovery platform with intelligent defaults, enhanced performance, and enterprise-ready features while maintaining the simplicity that makes it accessible to all users.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

@Wael-Rd Wael-Rd marked this pull request as ready for review August 17, 2025 00:12
@Wael-Rd Wael-Rd merged commit 896a8b0 into main Aug 17, 2025
1 check passed
Copilot AI changed the title [WIP] Release v0.2.0: Full-range scanning, confirm pass, smart Nmap; add install script + README installation Upgrade RustMapV3 to v0.2.0 with Enhanced Scanning, Smart Nmap Integration, and Preset System Aug 17, 2025
Copilot AI requested a review from Wael-Rd August 17, 2025 00:28
@Wael-Rd Wael-Rd changed the title Upgrade RustMapV3 to v0.2.0 with Enhanced Scanning, Smart Nmap Integration, and Preset System Upgrade RustMapV3 to v0.2.0 Aug 17, 2025
Copy link
Owner

@Wael-Rd Wael-Rd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

Copy link
Owner

@Wael-Rd Wael-Rd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants