内容简介:-sn 不扫描端口,只ping主机-PE 通过ICMP echo判定主机是否存活-n 不反向解析IP地址到域名
nmap -v -sn -PE -n --min-hostgroup 1024 --min-parallelism 1024 -oX nmap_output.xml www.lijiejie.com/16 nmap -sP --min-hostgroup 1024 --min-parallelism 1024 -iL ip.txt -oG ip_output1113.txt
-sn 不扫描端口,只ping主机
-PE 通过ICMP echo判定主机是否存活
-n 不反向解析IP地址到域名
–min-hostgroup 1024 最小分组设置为1024个IP地址,当IP太多时,nmap需要分组,然后串行扫描
–min-parallelism 1024 这个参数非常关键,为了充分利用系统和网络资源,我们将探针的数目限定最小为1024
-oX nmap_output.xml 将结果以XML格式输出,文件名为nmap_output.xml
一旦扫描结束,解析XML文档即可得到哪些IP地址是存活的。
nmap -sS -p 1-65535 -v 14.116.140.49 参数: -sS TCP SYN扫描 nmap -sS 192.168.1.254 -P 指定端口扫描 nmap -sS -P 1-65535 192.168.1.254 -V 详细信息 nmap -V -sS 192.168.1.254
ms17-010
利用教程 https://www.jianshu.com/p/45ad9a534fb4
两种模块的利弊 https://www.bodkin.ren/index.php/archives/555/
存活探测
随机生成A段地址
import random
f=open("ip.txt",'w+')
for x in range(0,255):
for i in range(0,255):
ip='10.'+str(x)+'.'+str(random.randint(0,255))+'.'+str(random.randint(0,255))+"\n"
f.writelines(ip)
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Domain-Driven Design
Eric Evans / Addison-Wesley Professional / 2003-8-30 / USD 74.99
"Eric Evans has written a fantastic book on how you can make the design of your software match your mental model of the problem domain you are addressing. "His book is very compatible with XP. It is n......一起来看看 《Domain-Driven Design》 这本书的介绍吧!