This commit is contained in:
2026-01-22 00:21:54 +01:00
parent dca7fbe758
commit 8e648891dd
2 changed files with 37 additions and 0 deletions

1
6/CANformation2 Normal file
View File

@@ -0,0 +1 @@
candump -c getvin,65F:7FF -a

36
6/CANsmit1 Normal file
View File

@@ -0,0 +1,36 @@
cansmit1@hacklab-vehnet-stud12:~$ isotpdump -s 123 -d 321 twowires | sed -E 's/^[^W]*data: ([0-9A-Z ]*)$/\1/'& PID=$!; sleep 1.5; cansend twowires 123#3000000000000000; sleep 0.01; kill $PID
[1] 1234726
1F 8B 08 00 00 00
1F 8B 08 00 00 00
twowires 123 [8] [FC] FC: 0 = CTS # BS: 0 = off # STmin: 0x00 = 0 ms
00 00 00 03 CB 48 4C
CE CE 49 4C AA 4E 36
C8 2B 29 32 C8 89 37
C9 4B 89 2F 32 4E 4E
35 2C 4B 8D 2F 37 2C
C9 88 4F C9 4C 4B 33
2E 4A CD 33 8F 77 36
F1 8B 37 74 29 8E 2F
0C F5 34 76 73 0B 4B
AB E5 02 00 4F 84 76
1F 3D 00 00 00
cansmit1@hacklab-vehnet-stud12:~$
[1]+ Terminated isotpdump -s 123 -d 321 twowires | sed -E 's/^[^W]*data: ([0-9A-Z ]*)$/\1/'
cansmit1@hacklab-vehnet-stud12:~$ cat blob.txt
1F 8B 08 00 00 00
00 00 00 03 CB 48 4C
CE CE 49 4C AA 4E 36
C8 2B 29 32 C8 89 37
C9 4B 89 2F 32 4E 4E
35 2C 4B 8D 2F 37 2C
C9 88 4F C9 4C 4B 33
2E 4A CD 33 8F 77 36
F1 8B 37 74 29 8E 2F
0C F5 34 76 73 0B 4B
AB E5 02 00 4F 84 76
1F 3D 00 00 00
cansmit1@hacklab-vehnet-stud12:~$ xxd -r -p blob.txt > blob.gz
cansmit1@hacklab-vehnet-stud12:~$ gunzip blob.gz
gzip: blob already exists; do you wish to overwrite (y or n)? y
cansmit1@hacklab-vehnet-stud12:~$ cat blob
hacklab{c0ntr0l_4nd_r3ce1ve_w1th_diff3ren7_C4N_1Ds_qUI3FFVf}