Path: blob/master/documentation/modules/post/hardware/automotive/diagnostic_state.md
25020 views
Introduction
This module will keep the vehicle in a diagnostic state on rounds by sending tester present packet.
Verification Steps
Fire up virtual CAN bus:
sudo modprobe cansudo modprobe vcansudo ip link add dev vcan0 type vcansudo ip link set up vcan0
Launch msf:
Start
msfconsoleuse auxiliary/server/local_hwbridgeset uripath testbusrunuse auxiliary/client/hwbridge/connectset targeturi testbus
Options
Scenarios
You can test this module doing a candump and you should receive a response for each can frame in a loop at 0x7E8 when running UDS Simulator.
You can use candump to verify the CAN messages being sent:
UDS Server Output