metasploit-framework

https://github.com/rapid7/metasploit-framework

Ruby

Metasploit Framework

MetasploitModule#isotp_send_and_wait

Sends an ISO-TP style CAN packet and waites for a response or a timeout
bus = string
srcid = hex id of the sent packet
dstid = hex id of the return packets
data = string of hex bytes to send
OPT = Options
   timeout = optional int to timeout on lack of response
   maxpkts = max number of packets to recieve
   padding = append bytes to end of packet (Doesn't increase reported ISO-TP size)
   fc = flow control, if true forces flow control packets

Source | Google | Stack overflow

Edit

git clone [email protected]:rapid7/metasploit-framework.git

cd metasploit-framework

open modules/auxiliary/server/local_hwbridge.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-MetasploitModule-isotp_send_and_wait-for-pr


# Commit to git

git add modules/auxiliary/server/local_hwbridge.rbgit commit -m "better docs for MetasploitModule#isotp_send_and_wait"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-MetasploitModule-isotp_send_and_wait-for-pr

hub pull-request


# Celebrate!