Skip to content

Improve support of the '-p' option #96

Answered by postmodern
jinxka asked this question in Q&A
Discussion options

You must be logged in to vote

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]}

You can also specify the raw String:

nmap.ports = "U:102,T:502"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jinxka
Comment options

Answer selected by postmodern
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #95 on January 25, 2024 14:45.