首先还是来看下CC2531长什么样子,如图
系统环境为Kali Linux rolling,插上电脑后查看下设备列表
root@orange:~# lsusb Bus 002 Device 002: ID 8087:8000 Intel Corp. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 8087:8008 Intel Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 015: ID 0451:16ae Texas Instruments, Inc. Bus 003 Device 012: ID 1a40:0801 Terminus Technology Inc. Bus 003 Device 003: ID 046a:0011 Cherry GmbH G83 (RS 6000) Keyboard Bus 003 Device 002: ID 18f8:0f99 Bus 003 Device 004: ID 05ac:12a8 Apple, Inc. iPhone5/5C/5S/6 Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub很明显已经识别出来了
Bus 003 Device 015: ID 0451:16ae Texas Instruments, Inc.这个就是CC2531
git上面开源软件的位置 https://github.com/andrewdodd/pyCCSniffer
git回来
git clone https://github.com/andrewdodd/pyCCSniffer.git
切换到目录并执行python脚本
cd pyCCSniffer python pyCCSniffer.py终端显示
Commands: c: Print current RF Channel h,?: Print this message [11,26]: Change RF channel s: Start/stop the packet capture d: Toggle frame dissector a*: Set an annotation (write "a" to remove it) q: Quit根据提示来操作,当然,github上有详细的说明,参数的含义,比如博主这里执行
python pyCCSniffer.py -L /root/zigbee.log -D INFO然后数据包
Started logging Dissector enabled Dissector enabled Commands: c: Print current RF Channel h,?: Print this message [11,26]: Change RF channel s: Start/stop the packet capture d: Toggle frame dissector a*: Set an annotation (write "a" to remove it) q: Quit s Started
本文链接:https://www.92ez.com/?action=show&id=23390
!!! 转载请先联系non3gov@gmail.com授权并在显著位置注明作者和原文链接 !!! 小黑屋
提示:技术文章有一定的时效性,请先确认是否适用你当前的系统环境。
!!! 转载请先联系non3gov@gmail.com授权并在显著位置注明作者和原文链接 !!! 小黑屋
提示:技术文章有一定的时效性,请先确认是否适用你当前的系统环境。