mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
637ff01cf8
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
29 lines
650 B
Markdown
29 lines
650 B
Markdown
# arp-scan
|
|
|
|
> Send ARP packets to hosts (specified as IP addresses or hostnames) to scan the local network.
|
|
> More information: <https://github.com/royhills/arp-scan>.
|
|
|
|
- Scan the current local network:
|
|
|
|
`arp-scan {{[-l|--localnet]}}`
|
|
|
|
- Scan a specific host:
|
|
|
|
`arp-scan {{10.0.0.1}}`
|
|
|
|
- Scan an IP network with a custom bitmask:
|
|
|
|
`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}}`
|
|
|
|
- Scan an IP network with a custom net mask:
|
|
|
|
`arp-scan {{10.0.0.0}}:{{255.255.255.0}}`
|
|
|
|
- Specify an interface to use for scanning:
|
|
|
|
`arp-scan {{10.0.0.1}} {{[-I|--interface]}} {{interface_name}}`
|