Automated Script For Hacking Into CAN Bus - Car Hacking
sudo apt-get install can-utils -y
git clone https://github.com/souravbaghz/CANghost
cd CANghost/
bash canghost.sh <interface> <logfilename>
Example- bash canghost.sh vcan0 demolog
ubuntu@sourav:~/ICSim$./setup_vcan.sh
Running the Simulator:
ubuntu@sourav:~/ICSim$./icsim vcan0
ubuntu@sourav:~/ICSim$./controls vcan0
ubuntu@sourav:~/CANghost$./canghost.sh vcan0 mylog
Click Here to Watch Tutorials on Youtube
I made this tool to automate the process and save my time while hacking or practicing. The script first dump all the CAN packets in Capture option and Replay that packets(logfile) into Car in Replay option. Don't play with Real car, I always recommend to use on Simulator. I made this tool for learning & personal purpose, If you want to do it manually then you can check code source to understand how it works...
Thanks to @zombieCraig for ICSim