RE: nc question



I am not sure of the syntax for single ports but port ranges are expressed
as follow:

nc -n -v -w 3 -z [target] 20-250 500-600 5990-7000

Maybe you do not need the , in between your ports.

Take care

Clement


-----Original Message-----
From: vijay shetti [mailto:vijay.shetti@xxxxxxxxx]
Sent: Friday, August 25, 2006 2:36 AM
To: security-basics@xxxxxxxxxxxxxxxxx
Subject: nc question

hello friends!!

I have a query regarding netcat's usage for port scanning.

I am scanning a windows machine which has 2 ports open 80 and 3389.

c:>nc -z -v target 80,3389

It shows only port 80 open,it does not consider 3389 port as an argument...

My question is if I want to scan only known ports like 21,23,80,3389
using netcat,then how can i specify them as argument?

regards,
Vijay.

---------------------------------------------------------------------------
This list is sponsored by: Norwich University

EARN A MASTER OF SCIENCE IN INFORMATION ASSURANCE - ONLINE
The NSA has designated Norwich University a center of Academic Excellence
in Information Security. Our program offers unparalleled Infosec management
education and the case study affords you unmatched consulting experience.
Using interactive e-Learning technology, you can earn this esteemed degree,
without disrupting your career or home life.

http://www.msia.norwich.edu/secfocus
---------------------------------------------------------------------------




---------------------------------------------------------------------------
This list is sponsored by: Norwich University

EARN A MASTER OF SCIENCE IN INFORMATION ASSURANCE - ONLINE
The NSA has designated Norwich University a center of Academic Excellence
in Information Security. Our program offers unparalleled Infosec management
education and the case study affords you unmatched consulting experience.
Using interactive e-Learning technology, you can earn this esteemed degree,
without disrupting your career or home life.

http://www.msia.norwich.edu/secfocus
---------------------------------------------------------------------------



Relevant Pages

  • RE: router access control list
    ... Have read of these to get a feel for extended ACLs on Cisco's: ... open ports for different computers. ... Norwich University ... EARN A MASTER OF SCIENCE IN INFORMATION ASSURANCE - ONLINE ...
    (Security-Basics)
  • Re: Am I owned on port 27665
    ... this year and I have confirmed that the two ports did not exist. ... Also the current IOS Version on my Router is 12.4. ... EARN A MASTER OF SCIENCE IN INFORMATION ASSURANCE - ONLINE ... The NSA has designated Norwich University a center of Academic ...
    (Security-Basics)
  • Re: Suspected nmap listing - am I under attack?
    ... Filtered in your case means that the services that use these ports are not accessible from the outside world. ... Try to telnet your machine from a remote server, I bet you won't get a connection. ... EARN A MASTER OF SCIENCE IN INFORMATION ASSURANCE - ONLINE ... The NSA has designated Norwich University a center of Academic Excellence in Information Security. ...
    (Security-Basics)
  • weird error
    ... the ports on the Firewall but still can not get to the site externally. ... EARN A MASTER OF SCIENCE IN INFORMATION ASSURANCE - ONLINE ... The NSA has designated Norwich University a center of Academic Excellence ...
    (Security-Basics)
  • Re: Detecting multiple hosts behind a single managed switch port
    ... I'm looking for a tool that can query a list of managed switches (both ... would need to filter out ports that are connected to other managed ... EARN A MASTER OF SCIENCE IN INFORMATION ASSURANCE - ONLINE ... The NSA has designated Norwich University a center of Academic Excellence in Information Security. ...
    (Security-Basics)