Skip to content

Improve support of the '-p' option #95

Closed

Description

@jinxka

Hello,

The nmap option '-p' allow us to specify whether we want the port to use TCP or UDP like:

nmap -Pn -sU -sT -p U:102,T:502

Would it be possible to upgrade the gem to follow this comportement?

Thanks

Activity

  1. changed the title [-]Improve support of the '-p' options[/-] [+]Improve support of the '-p' option[/+] on Jan 25, 2024
  2. postmodern commented on Jan 25, 2024

    @postmodern
    Owner

    The ports attribute can already accept a Hash of port numbers and Ranges grouped by protocol:

    nmap.ports = {tcp: [1,2,3,100..200], udp: [1,2,3,100..200]}
  3. Repository owner locked and limited conversation to collaborators on Jan 25, 2024
  4. converted this issue into a discussion #96 on Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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