tldr/pages/linux/arp-scan.md

20 lines
421 B
Markdown
Raw Normal View History

2017-11-28 12:26:57 +03:00
# arp-scan
2017-11-29 11:43:09 +03:00
> Send ARP packets to hosts (specified as IP addresses or hostnames) to scan the local network.
2017-11-28 12:26:57 +03:00
- Scan the current local network:
`arp-scan --localnet`
2017-11-29 11:43:09 +03:00
- Scan an IP network with a custom bitmask:
2017-11-28 12:26:57 +03:00
`arp-scan {{192.168.1.1}}/{{24}}`
- Scan an IP network within a custom range:
`arp-scan {{127.0.0.0}}-{{127.0.0.31}}`
2017-11-29 11:43:09 +03:00
- Scan an IP network with a custom net mask:
2017-11-28 12:26:57 +03:00
`arp-scan {{10.0.0.0}}:{{255.255.255.0}}`