mirror of https://github.com/CrimsonTome/tldr.git
20 lines
426 B
Markdown
20 lines
426 B
Markdown
|
# arp-scan
|
||
|
|
||
|
> 发送ARP数据包到特定主机(指定IP地址或主机名),来扫描本地网络.
|
||
|
|
||
|
- 扫描当前本地网络:
|
||
|
|
||
|
`arp-scan --localnet`
|
||
|
|
||
|
- 扫描带有自定义位掩码的IP网络:
|
||
|
|
||
|
`arp-scan {{192.168.1.1}}/{{24}}`
|
||
|
|
||
|
- 扫描自定义范围内的IP网络:
|
||
|
|
||
|
`arp-scan {{127.0.0.0}}-{{127.0.0.31}}`
|
||
|
|
||
|
- 扫描带有自定义子网掩码的IP网络:
|
||
|
|
||
|
`arp-scan {{10.0.0.0}}:{{255.255.255.0}}`
|