Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Security-Basics
[Top] [All Lists]

RE: nc question

Subject: RE: nc question
Date: Fri, 25 Aug 2006 21:42:15 -0400
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@gmail.com] 
Sent: Friday, August 25, 2006 2:36 AM
To: security-basics@securityfocus.com
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
---------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>