Skip to content

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
ps1337 committed May 16, 2018
0 parents commit ab5ae1a
Show file tree
Hide file tree
Showing 82 changed files with 712,353 additions and 0 deletions.
Binary file added .res/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added README.md
Empty file.
15 changes: 15 additions & 0 deletions helpers/readCAN.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/python3

"""
Simple test for received packets
"""

from pyvit.hw import socketcan

dev = socketcan.SocketCanDev("vcan0")
dev.start()

packets = []
a = dev.recv()

print(a)
63 changes: 63 additions & 0 deletions helpers/udsSecAccess.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
#! /usr/bin/python3

from pyvit import can
from pyvit.hw import socketcan
from time import sleep
from math import ceil
from random import shuffle
import codecs

"""
Scans a vehicle for UDS services using Security Access
"""

#################
## SETTINGS ##
iface = "can0"
sleep_time = 0.01

#################


def init():
global dev
dev = socketcan.SocketCanDev(iface)
dev.start()
return dev


def tryBuildPacket(dataTuple):
packet = None
try:
# convert id to hexvalue
# convert data to list of bytes
packet = can.Frame(
arb_id=int(dataTuple[0], 16),
data=list(bytearray.fromhex(dataTuple[1])))
except ValueError as e:
if "Arbitration ID out of range" in str(e):
return False, None
else:
raise
return True, packet


dev = init()

for x in range(255):
for i in range(255):
hexData = "0327" + hex(i).replace("0x", "") + "0" + hex(x).replace(
"0x", "")
while len(hexData) < 16:
hexData += "0"

retVal = tryBuildPacket(("714", hexData))
packet_ok = retVal[0]
packet = retVal[1]

if packet_ok:
print(packet)
dev.send(packet)
sleep(sleep_time)
else:
print("damaged packet")
31 changes: 31 additions & 0 deletions keys/mzd_frd_szk_keys_ascii
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
41 49 53 49 4E - AISIN
41 52 49 41 4E - ARIAN
42 4F 53 45 58 - BOSEX
42 6F 73 63 68 - Bosch
42 72 61 64 57 - BradW
43 4F 4C 49 4E - COLIN
44 49 4F 44 45 - DIODE
44 52 49 46 54 - DRIFT
45 4D 45 31 53 - EME1S
46 6C 61 73 68 - Flash
48 41 5A 45 4C - HAZEL
4A 41 4D 45 53 - JAMES
4A 61 6E 69 73 - Janis
4A 65 73 75 73 - Jesus
4C 75 70 69 6E - Lupin
4D 41 5A 44 41 - MAZDA
4D 61 7A 64 41 - MazdA
4F 53 4E 45 44 - OSNED
50 41 4E 44 41 - PANDA
50 61 44 6D 41 - PaDmA
52 45 4D 41 54 - REMAT
52 6F 77 61 6E - Rowan
53 48 4F 57 41 - SHOWA
54 41 4D 45 52 - TAMER
54 4F 42 42 45 - TOBBE
54 52 4F 48 53 - TROHS
61 5F 62 61 64 - a_bad
6D 41 5A 44 61 - mAZDa
6E 6F 77 61 52 - nowaR
62 68 61 77 6E - bhawn
63 6F 6E 74 69 - conti
227 changes: 227 additions & 0 deletions keys/mzd_frd_szk_keys_hex
Original file line number Diff line number Diff line change
@@ -0,0 +1,227 @@
0A 6D C1 3B 20 - m-;
0D 5A DB DF CA - Z¦¯-
0E AA 0B A0 16 - ‡
11 22 33 44 55 - "3DU
11 4D 87 75 AF - Mçu»
12 13 19 76 30 - v0
12 23 34 45 56 - #4EV
13 4B 7C F3 5C - K|¾\
14 20 E6 89 0A - µë
15 1F 52 1F 7F - R
15 24 33 42 51 - $3BQ
16 27 38 49 5A - '8IZ
16 65 2C EA BE - e,Û¥
16 B9 13 77 70 - ¦wp
17 46 CE B4 35 - F+¦5
17 7B 6A 96 74 - {jût
18 AE 78 4A D2 - «xJÊ
19 AC 3A 1C C2 - ¼:-
19 D3 0B 2F D2 - Ë/Ê
1A 12 D3 98 49 - ËÿI
1A 2B 3C 4D 5E - +<M^
1B 44 14 4D 24 - DM$
1C 27 50 76 77 - 'Pvw
1D 61 E5 C7 0D - aÕÃ
1F 1A 4F 3E E6 - O>µ
20 4A FE 9C 2D - J¦£-
20 AC 71 5F F7 - ¼q_¸
20 E4 48 E1 D1 - õHßÐ
22 5F B4 AC 54 - "_¦¼T
22 70 EA 4C 11 - "pÛL
22 7B 3F 23 77 - "{?#w
22 A1 60 51 A9 - "í`Q®
23 11 D2 A2 67 - #Êóg
24 31 DE F9 46 - $1̨F
24 87 64 65 85 - $çdeà
24 87 64 70 32 - $çdp2
25 92 CA 34 29 - %Æ-4)
26 81 45 29 7D - &üE)}
26 8C B4 71 EE - &î¦q¯
27 76 76 59 C6 - 'vvYã
27 A1 2B 19 83 - 'í+â
28 81 45 29 7D - (üE)}
28 E2 22 63 5F - (Ô"c_
29 64 B2 72 C2 - )d¦r-
2C D8 73 A9 14 - ,Ïs®
2D 86 C5 57 A1 - -å+Wí
2E 67 CB 8A 30 - .g-è0
31 32 33 34 35 - 12345
31 49 21 63 27 - 1I!c'
31 63 46 66 48 - 1cFfH
34 1F 3C FB C5 - 4<¹+
34 23 39 11 77 - 4#9w
34 D9 52 C9 42 - 4+R+B
35 E7 FA 6D D1 - 5þ·mÐ
37 E1 A2 15 C8 - 7ßó+
38 89 85 87 3A - 8ëàç:
3A 62 93 D6 F7 - :bô͸
3A 8E CF 9C CE - :Ĥ£+
3C E2 DB 41 9A - <Ô¦AÜ
3D 80 49 83 B3 - =ÇIâ¦
3F 37 5F 22 59 - ?7_"Y
3F 43 EF 74 BE - ?C´t¥
41 51 26 84 11 - AQ&ä
41 57 54 43 55 - AWTCU
41 82 F6 78 EE - Aé÷x¯
41 AA 42 BB 43 - A¬B+C
42 43 4D 59 32 - BCMY2
42 A4 83 99 79 - BñâÖy
42 D3 6E 34 CE - BËn4+
42 DD 6E 34 CE - B¦n4+
44 DD 45 EE 46 - D¦E¯F
45 55 43 44 31 - EUCD1
46 4D 43 30 31 - FMC01
46 6E 74 63 4D - FntcM
47 76 66 65 52 - GvfeR
47 A7 3B 83 62 - Gº;âb
48 12 A6 D5 7B - Hªi{
48 53 54 43 4D - HSTCM
48 87 29 88 9D - Hç)êØ
49 76 66 65 52 - IvfeR
49 BE 98 2A 14 - I¥ÿ*
4A 36 31 43 46 - J61CF
4B 30 32 31 36 - K0216
4C 43 41 42 4C - LCABL
4D 48 65 71 79 - MHeqy
4E 53 59 4E 53 - NSYNS
4E 8A E2 CA D8 - NèÔ-Ï
50 C8 6A 49 F1 - P+jI±
50 C8 6A 49 F2 - P+jI=
51 1B 53 74 74 - QStt
51 9A 72 13 1C - QÜr
53 4B 65 21 AD - SKe!¡
53 55 4D 2D 33 - SUM-3
53 67 98 B3 A4 - Sgÿ¦ñ
54 75 BC 4E 68 - Tu+Nh
57 A2 F7 C3 49 - Wó¸+I
58 35 82 C8 1D - X5é+
59 5B 58 72 52 - Y[XrR
5A 3B 51 4A 35 - Z;QJ5
5A 89 E4 41 72 - ZëõAr
5B 41 74 65 7D - [Ate}
5C 55 28 9B 6D - \U(øm
5C EB 11 7B 30 - \Ù{0
5E 10 0F 46 33 - ^F3
5E 18 BF 9B 75 - ^+øu
5F 7D F5 F7 93 - _}§¸ô
5F 9C 99 A3 50 - _£ÖúP
61 42 2B 54 64 - aB+Td
61 EB AD C6 24 - aÙ¡ã$
62 48 C5 A2 5F - bH+ó_
64 56 36 4C A7 - dV6Lº
65 38 74 36 31 - e8t61
66 6F 61 77 65 - foawe
69 69 B6 53 A1 - iiÂSí
6A 55 68 51 5E - jUhQ^
6A A5 68 56 5E - jÑhV^
6B A7 24 0A 71 - kº$q
6B A7 43 0A 71 - kºCq
6C 2E A0 71 E6 - l.áqµ
6C 5A B3 C7 8B - lZ¦Ãï
6F 6E 69 62 68 - onibh
71 18 41 69 68 - qAih
71 18 A5 68 68 - qÑhh
71 48 77 B2 4B - qHw¦K
71 55 21 41 C2 - qU!A-
71 55 21 5E A5 - qU!^Ñ
71 55 21 A5 5E - qU!Ñ^
75 37 BB D8 89 - u7+Ïë
75 B1 56 83 4A - u¦VâJ
76 66 84 57 8C - vfäWî
77 87 A5 86 A3 - wçÑåú
78 77 68 6B 53 - xwhkS
79 69 96 56 B6 - yiûVÂ
79 B6 8C A4 64 - yÂîñd
7B 73 77 6A A5 - {swjÑ
7B 87 89 9B 57 - {çëøW
7C 70 D0 30 C1 - |pð0-
7D D0 C4 76 62 - }ð-vb
83 6A CF 36 1B - âj¤6
83 9E E2 12 E0 - â×ÔÓ
85 77 C8 65 36 - àw+e6
85 EF F9 F5 DC - à´¨§_
86 9A 78 4D 90 - åÜxMÉ
87 C8 8B 77 A6 - ç+ïwª
88 2A 7B 93 36 - ê*{ô6
88 2A 7B 93 54 - ê*{ôT
88 6D 91 75 7D - êmæu}
88 99 96 6A 5C - êÖûj\
89 D5 7F B3 A7 - ëi¦º
8A 78 90 34 F7 - èxÉ4¸
8A 81 A8 88 82 - èü¿êé
8C 4A D2 1F 2E - îJÊ.
8C 54 F8 0B D7 - îT°Î
8C F5 A5 19 EE - î§Ñ¯
92 77 6B 88 77 - Æwkêw
93 46 98 48 B9 - ôFÿH¦
94 87 A9 A6 7A - ö箪z
96 87 88 94 A8 - ûçêö¿
96 99 56 94 85 - ûÖVöà
96 A2 3B 83 9B - ûó;âø
97 62 79 84 EC - ùbyäý
97 7A D9 3C 82 - ùz+<é
98 85 98 77 A9 - ÿàÿw®
98 97 68 77 AA - ÿùhw¬
99 77 88 88 77 - Öwêêw
9A 78 56 34 12 - ÜxV4
9A B6 99 6C 9A - ÜÂÖlÜ
9C CA 8A 7A 37 - £-èz7
9D 6C C3 12 BB - Øl++
9F 75 4B 3B 87 - ƒuK;ç
A2 A3 AC CA 50 - óú¼-P
A3 B2 C0 14 92 - ú¦+Æ
A3 C1 E4 19 89 - ú-õë
A5 B3 EF DA 76 - Ѧ´+v
A5 FD 4C 45 DA - ѲLE+
A6 37 9E 84 34 - ª7×ä4
A7 6C B2 79 AA - ºl¦y¬
A7 C2 E9 19 92 - º-ÚÆ
A7 C2 E9 2C 7A - º-Ú,z
A8 6B 9C 87 68 - ¿k£çh
AA 5A 35 BE D4 - ¬Z5¥È
AA 76 88 6B A7 - ¬vêkº
AA 77 5C 45 B7 - ¬w\EÀ
AA 7C 3A BD D9 - ¬|:¢+
AA BB CC DD EE - ¬+¦¦¯
AA CC CC 33 55 - ¬¦¦3U
AB 7D D1 D2 71 - ½}ÐÊq
AB DC 74 45 C6 - ½_tEã
AC F7 29 92 E1 - ¼¸)Æß
AD D9 A2 67 75 - ¡+ógu
AE C7 B4 4B AC - «Ã¦K¼
B2 6D 74 9A 57 - ¦mtÜW
B3 97 C8 6A 37 - ¦ù+j7
B5 0A B4 96 2C - Á¦û,
B6 45 17 77 D3 - ÂEwË
B6 E3 D7 7C 3D - ÂÒÎ|=
B8 3F 24 7F 0FF - ©?$
C1 B0 CA D0 1A - -¦-ð
C5 A4 61 A4 A7 - +ñañº
C8 9B 10 48 8D - +øHì
C8 B2 E3 9E 76 - +¦Ò×v
C9 EA 84 CB 10 - +Ûä-
CA 5B 1B 48 AF - -[H»
CB 41 12 28 71 - -A(q
D1 F3 2D 91 4B - о-æK
D8 41 5D 77 A5 - ÏA]wÑ
DA CC CB 6E B3 - +¦-n¦
DC 0D E5 B1 AB - _Õ¦½
DC 40 0A 59 23 - _@Y#
DC D5 44 7A E6 - _iDzµ
DD 16 1A 48 AF - ¦H»
DF 3A 14 69 C2 - ¯:i-
E1 84 BE 23 29 - ᄝ#)
E6 76 3F ED 74 - µv?Ýt
E7 29 D1 4B 41 - þ)ÐKA
EF E5 7A 91 6A - ´Õzæj
F3 11 45 4C 73 - ¾ELs
F4 31 0F B2 52 - ¶1¦R
F4 79 1A 60 CB - ¶y`-
F5 1E 14 87 C0 - §ç+
F7 32 D7 3A 12 - ¸2Î:
F8 39 12 96 0E - °9û
FA 6B 5A 70 47 - ·kZpG
FD 4C 92 81 ED - ²LÆüÝ
FD B3 F4 35 88 - ²¦¶5ê
FE 42 28 D3 AD - ¦B(Ë¡
FF FF FF FF FF
Loading

0 comments on commit ab5ae1a

Please sign in to comment.