Security Basics mailing list archives

Re: Source port scanning w/nmap?


From: matt <matt () learnsecurityonline com>
Date: Fri, 01 Jul 2005 02:44:34 +0100

dissolved wrote:

Can someone please assist me with doing source port scanning with nmap? I've
read the MAN page and do not see this switch listed.

Is it --source-port <port number>?

Thanks


Hey there the option you need is -g, here is an example:

nmap -sS -O 192.168.0.0/16 -g 53
This will set the source port to 53, and use a standard synscan with host detection.

Regards

Matt

info () learnsecurityonline com
http://www.learnsecurityonline.com


Current thread: