Carregar ficheiros para "patterns"
This commit is contained in:
9
patterns/common_patterns.py
Normal file
9
patterns/common_patterns.py
Normal file
@ -0,0 +1,9 @@
|
||||
PATTERNS_COMMON = {
|
||||
'Ecu Family': r'\b((?:MEDC|EDC|MDG|MD1)[A-Z0-9_]+)',
|
||||
'Possible Software Number': r'\b(1037\d{6}|1039\d{6}|10SW\d{6}|28SA\d{6}|39S0\d{6})',
|
||||
'VIN': r'\b([A-HJ-NPR-Z0-9]{17})\b',
|
||||
'Possible PIN': r'\b([A-Z0-9]{4,8})\b', # Special counting logic for this pattern name is handled in the main analyzer function
|
||||
'Bosch SW': r'\b103[79]\d{6}\b|\b02[68]\d{7}\b|\b10SW\d{6}',
|
||||
}
|
||||
|
||||
INITIAL_ANALYSIS_PATTERNS_KEYS = ['Ecu Family', 'Possible Software Number']
|
||||
Reference in New Issue
Block a user