NC scan machine port

Source: Internet
Author: User

# Nc-Z localhost 1-10000 // scan ports 1 to 1000 of the Local Machine to obtain the opened port
Connection to localhost 22 port [TCP/ssh] succeeded!
Connection to localhost 80 port [TCP/HTTP] succeeded!
Connection to localhost 111 port [TCP/SunRPC] succeeded!
Connection to localhost 199 port [TCP/smux] succeeded!
Connection to localhost 3306 port [TCP/MySQL] succeeded!
Connection to localhost 6010 port [TCP/x11-ssh-offset] succeeded!
Connection to localhost 6011 port [TCP/*] succeeded!
#

-Z specifies that NC shoshould just scan for listening daemons, without sending any data to them. It is an error to use this option in conjunction with the-L option.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.