6
Kali中安装并使用dsniff中的arpspoof和urlsnarf
source link: https://blog.51cto.com/u_15936127/6000320
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Kali中安装并使用dsniff中的arpspoof和urlsnarf
精选 原创dsniff是一款很好用的嗅探工具, 里面有arpspoof和urlsnarf这两个工具
apt-get install dsniff
注意:如果没有arpspoof或者说没有dsniff的话, kali会自动提示安装的, 如果是新安装的kali, 可能会装不上, 因为kali的源默认是国外的, 所以需要kali换源.
具体解决可参照:
https://blog.51cto.com/u_15936127/6000317
arpspoof
1.在终端中直接输入
arpspoof
就会显示该工具的信息
2.使用命令介绍
arpspoof -i eth0 -r 路由器(网关)的ip -t 目标靶机的ip
urlsnarf
# 输入:
urlsnarf -h
# 下面是出现的提示
urlsnarf [-n] [-i interface | -p pcapfile] [[-v] pattern [expression]]
# 命令解释
-n 表示不反查主机名
-i interface 网卡接口名
-p pattern 表示对过滤的内容使用的正则表达式
-v表示取相反,即是不匹配;expression 是过滤语法,和tcpdump的相同,请参考tcpdump。
urlsnarf -h
# 下面是出现的提示
urlsnarf [-n] [-i interface | -p pcapfile] [[-v] pattern [expression]]
# 命令解释
-n 表示不反查主机名
-i interface 网卡接口名
-p pattern 表示对过滤的内容使用的正则表达式
-v表示取相反,即是不匹配;expression 是过滤语法,和tcpdump的相同,请参考tcpdump。
- 赞
- 收藏
- 评论
- 分享
- 举报
上一篇:Kali更换下载源
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK