metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Msf::Post::Hardware::Zigbee::Utils#dot154_packet_decode
Breaks up the packet into different sections. Also provides Some decoding information. This method relates to Killerbee's Pktchop method and Returns a similar array structure PktChop. If it's a beacon data you will also have A BEACONDATA array of raw beacon related packets. You can pull other decoded portions from the returned hash such as FSF SEQ SPAN_ID SOURCE SUPERFRAME GTS PENDING_ADDRESS_COUNT PROTOCOL_ID STACK_PROFILE CAPABILITY EXT_PAN_ID TX_OFFSET UPDATE_ID
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/msf/core/post/hardware/zigbee/utils.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Msf--Post--Hardware--Zigbee--Utils-dot154_packet_decode-for-pr
# Commit to gitgit add lib/msf/core/post/hardware/zigbee/utils.rbgit commit -m "better docs for Msf::Post::Hardware::Zigbee::Utils#dot154_packet_decode"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Msf--Post--Hardware--Zigbee--Utils-dot154_packet_decode-for-pr
hub pull-request
# Celebrate!