python3-nmap icon indicating copy to clipboard operation
python3-nmap copied to clipboard

Max port 65389 ?

Open nrathaus opened this issue 1 year ago • 3 comments

Hi,

Can you clarify why you have set this as the maximum port to 65389? per nmap documentation:

 ... you can specify -p- to scan ports from 1 through 65535.

nrathaus avatar Jan 26 '24 06:01 nrathaus

I don't understand you question clearly, can you please explain it more? as far as I know maxport is dynamic can be changed

nmmapper avatar Jan 26 '24 10:01 nmmapper

PyPi version says 65389:

...
self.maxport = 65389
...
if (default > self.maxport):
            raise ValueError("Port can not be greater than default 65389")

Seems like github version doesn't have this?

nrathaus avatar Jan 26 '24 11:01 nrathaus

Oh yeah I see, let me investigate and fix it.

nmmapper avatar Jan 27 '24 17:01 nmmapper