Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use Nmap

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces the relevant knowledge of "how to use Nmap". In the operation process of actual cases, many people will encounter such difficulties. Next, let Xiaobian lead you to learn how to deal with these situations! I hope you can read carefully and learn something!

Nmap (Network Mapper) is an open source network detection and security audit tool. It is designed to scan large networks quickly, although it can scan individual hosts without problems.

1)Get system type and open port of remote host nmap-sS-P0-sV-O

This can be a single IP, or hostname, or domain name, or subnet.

- sS TCP SYN scan (also known as semi-open, or stealth scan)-P0 allows you to turn off ICMP pings. - sV Open system version detection-O Try to identify remote OS

Other options:

- A open operating system fingerprint and version detection at the same time-v detailed output scan situation.

2)List of hosts with a specified port open nmap-sT-p 80-oG-192.168.1. * | grep open 3) Find all online hosts in the web nmap-sP 192.168.0. *

Alternatively, you can use the following command:

nmap -sP 192.168.0.0/24

Specify subnet

4)Ping IP addresses in the specified range nmap-sP 192.168.1.100 - 2545) Find unoccupied IPnmap-T4-sP www.example.com && egrep "00:00:00:00:00:00 PM 00 ″/proc/net/arp6) Scan the local area network for Conficker worm nmap-PN-T4-p139, 445-n-v-script = smb-check-vulns-script-args safe = 1 192.168.0.1 - 2547) Scan the network for malicious access points (rogue APs). nmap-A-p1 - 85,113,443, 8080 - 8100-T4-min-hostgroup 50-max-rtt-timeout 2000-initial-rtt-timeout 300-max-retries 3-host-timeout 2 0 m-max-scan-delay 1000-oA wapscan www.example.com) Scan host ports using decoy scan method sudo nmap-sS www.example.com-D www.example.com) List reverse DNS records for a subnet n map-R-sL www.example.com 192.168.2.0/24grep '('10) Shows how many Linux and Win devices are on the network?|| sudo nmap-F-O 192.168.0.1-255| grep "Running:">/tmp/os; echo "$(cat/tmp/os| grep Linux\| wc-l) Linux device(s)"; echo "$(cat/tmp/os| grep Windows| wc-l) Window (s) device "" How to use Nmap "is introduced here, thank you for reading. If you want to know more about industry-related knowledge, you can pay attention to the website. Xiaobian will output more high-quality practical articles for everyone!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report