内网扫描

  1. arping
    简介

root@kali:~# arping
Usage: arping [-fqbDUAV] [-c count] [-w timeout] [-I device] [-s source] destination
-f : quit on first reply
-q : be quiet
-b : keep broadcasting, don’t go unicast
-D : duplicate address detection mode
-U : Unsolicited ARP mode, update your neighbours
-A : ARP answer mode, update your neighbours
-V : print version and exit
-c count : how many packets to send
-w timeout : how long to wait for a reply
-I device : which ethernet device to use
-s source : source ip address
destination : ask for what ip address

发送包数量

root@kali:~# arping 10.10.10.132 -c 1
ARPING 10.10.10.132 from 10.10.10.131 eth0
Unicast reply from 10.10.10.132 [00:0C:29:D0:AB:2C] 1.130ms
Sent 1 probes (1 broadcast(s))
Received 1 response(s)

重复地址检测模式

root@kali:~# arping 10.10.10.132 -D
ARPING 10.10.10.132 from 0.0.0.0 eth0
Unicast reply from 10.10.10.132 [00:0C:29:D0:AB:2C] 0.812ms
Sent 1 probes (1 broadcast(s))
Received 1 response(s)

输出 MAC 地址

root@kali:~# arping -c 1 10.10.10.132 | grep “reply from” | cut -d " " -f 5 | cut -d “[” -f 2 | cut -d “]” -f 1
00:0C:29:D0:AB:2C

fping -s(显示结果) -g(扫描范围) 172.16.100.1 172.16.100.254

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值