Matthias Andreas Benkard | b382b10 | 2021-01-02 15:32:21 +0100 | [diff] [blame] | 1 | # Extensions that are treated as 'bad' |
| 2 | # Number is score multiply factor |
| 3 | bad_extensions = { |
| 4 | scr = 20, |
| 5 | lnk = 20, |
| 6 | exe = 20, |
| 7 | msi = 1, |
| 8 | msp = 1, |
| 9 | msu = 1, |
| 10 | jar = 2, |
| 11 | com = 20, |
| 12 | bat = 4, |
| 13 | cmd = 4, |
| 14 | ps1 = 4, |
| 15 | ace = 4, |
| 16 | arj = 4, |
Matthias Andreas Benkard | 12a5735 | 2021-12-28 18:02:04 +0100 | [diff] [blame^] | 17 | cab = 20, |
Matthias Andreas Benkard | b382b10 | 2021-01-02 15:32:21 +0100 | [diff] [blame] | 18 | vbs = 20, |
| 19 | hta = 4, |
| 20 | shs = 4, |
| 21 | wsc = 4, |
| 22 | wsf = 4, |
| 23 | iso = 8, |
| 24 | img = 8 |
| 25 | }; |
| 26 | |
| 27 | # Extensions that are particularly penalized for archives |
| 28 | bad_archive_extensions = { |
| 29 | pptx = 0.5, |
| 30 | docx = 0.5, |
| 31 | xlsx = 0.5, |
| 32 | pdf = 1.0, |
| 33 | jar = 3, |
| 34 | js = 0.5, |
| 35 | vbs = 20, |
| 36 | exe = 20 |
| 37 | }; |
| 38 | |
| 39 | # Used to detect another archive in archive |
| 40 | archive_extensions = { |
| 41 | zip = 1, |
| 42 | arj = 1, |
| 43 | rar = 1, |
| 44 | ace = 1, |
| 45 | 7z = 1, |
| 46 | cab = 1 |
| 47 | }; |