Skip to content

--range <start-end>, only contain start, But not end port #515

Closed
@zhikai-yang

Description

@zhikai-yang

In nmap run:nmap 192.168.1.2 -p 1-65535 ,nmap scan port range is 1-65535.
But in RustScan run:rustscan 192.168.1.2 --range 1-65535 (or directly execute rustscan 192.168.1.2) by wireshark verification, the scan range is 1-65534, does not contain 65535.

The same in nmap exec: nmap 192.168.1.2 -p 1-5, nmap scan range is 1-5.
But in the RustScan exec: rustscan 192.168.1.2 --range 1-5, rustscan scan range is 1-4.

Please fix this bug. Services open on 65535 may be missed when execute full port scan.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions