Security Basics mailing list archives
RE: nc question
From: "Clement Dupuis" <cdupuis () cccure org>
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 ---------------------------------------------------------------------------
Current thread:
- nc question vijay shetti (Aug 25)
- Re: nc question Arild Jensen (Aug 28)
- Re: nc question Nagareshwar Talekar (Aug 28)
- RE: nc question Clement Dupuis (Aug 28)
- <Possible follow-ups>
- Re: nc question vuk (Aug 28)
- Re: nc question Hugo Francisco Gonzalez Robledo (Aug 28)
- RE: nc question Rockson Li (zhengyli) (Aug 28)